‎2009 Dec 11 1:59 AM
Hi experts,
I would like to know is there any way to send a form to printer directly, I have a program which can print out a document, after input the document number and click execute, it will pop-up the printer setting, choose output device, frontend printer etc. But I want to skip this screen, directly send to printer, but another problem is the printer is use OS default printer, which can be a PDF. I want to skip too. Actually, I just want to send a document to printer device when execut, no more option for choose. Thanks!
‎2009 Dec 11 2:16 AM
You can do this by setting the smartform control parameters.
W_CTRLOP-NO_DIALOG = 'X'.
This will print directly without poping up any windows.
‎2009 Dec 11 2:26 AM
But i also want to choose the specific printer, not use windows default one. thanks!
‎2009 Dec 11 2:33 AM
You can do this also by smarform contol parameters.
w_ctrlop-device = 'LP01'.
'LP01' is the printer name where u want to print.
‎2009 Dec 11 3:25 AM
‎2009 Dec 11 3:30 AM
Sorry i dont get your question....Does it mean u want to use the same thing in
script?
‎2009 Dec 11 6:43 AM
Hi,
You can do the same thing in smartforms & scripts. By default it will accept the printer as LP01, all you have to do is that you've to make that printer as Default Printer from which you want to take the print out.
Rgds
Prateek
‎2009 Dec 11 7:06 AM
‎2009 Dec 11 7:11 AM
Well I think the question was not for converting to PDF format. It was for sending the document to printer directly without showing the dialog screen.