Show Printer List [message #243392] |
Thu, 07 June 2007 03:33 |
skkazmi
Messages: 44 Registered: April 2006
|
Member |
|
|
Hello All,
I am using Oracle Forms 6i,
I want to invoke all installed printer list in LOV.
if its posible then pls gives detail about.
Regards,
Khurram Kazmi.
|
|
|
|
Re: Show Printer List [message #245143 is a reply to message #244788] |
Fri, 15 June 2007 05:10 |
skkazmi
Messages: 44 Registered: April 2006
|
Member |
|
|
Hi,
Thks 4 reply. my task is to populate the printer list before print. because my report is sort of type bar-code. user can select the printer before print.
Khurram Kazmi
|
|
|
|
|
|
Re: Show Printer List [message #247515 is a reply to message #243392] |
Tue, 26 June 2007 03:09 |
hemavb
Messages: 103 Registered: May 2007 Location: Dubai , UAE
|
Senior Member |
|
|
attach the d2kwutil lib to your form. From there use the win_api_dialog.select_printer function.
If is NOT an LOV but the windows dialog for selecting a pprinter that you normally get when you click the Print button in the windows application.
It returns the name of the printer, path included if it is a shared printer.
Pass this to the desname parameter for the report and the print will come to the selected printer.
Hemavb
|
|
|