on 03-31-2011 2:52 PM
Hello,
When i select print preview, the PDF is displayed in screen. When I'm trying to print directly to printer- it goes to spool list.
I'm setting the parameters as followed:
fp_outputparams-device = 'PRINTER'.
fp_outputparams-preview = p_print_preview.
fp_outputparams-DEST = 'SPTS'. " name of the printer
fp_outputparams-nodialog = 'X'.
fp_outputparams-connection = 'ADS'.
fp_outputparams-getpdf = space. " request PDF
is there something missing?
Thanks
Moshe
The parameters should be:
set output parameters and open spool job.
fp_outputparams-device = 'PRINTER'.
fp_outputparams-preview = p_print_preview.
IF NOT nast-ldest IS INITIAL.
fp_outputparams-dest = nast-ldest.
ENDIF.
fp_outputparams-reqimm = 'X'.
fp_outputparams-nodialog = 'X'.
fp_outputparams-connection = 'ADS'.
fp_outputparams-reqnew = 'X'.
fp_outputparams-getpdf = space. " request PDF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.