cancel
Showing results for 
Search instead for 
Did you mean: 

Using spool no send to printer

Former Member
0 Kudos

Hi All

I have a requirement like using Spool no I have to send that PDF directly to Printer.

I am catching the Spool no from FP_JOB_CLOSE function module.

Please suggeset me the way how can I proceed.....?

Thanks to all

Rama

Edited by: rama krishna on Mar 5, 2008 5:18 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ramakrishna,

I am working with PDF print forms. Me unable to get the print preview as well as the spool ID.

could you please guide,how to attain the same.

Appreciate your detailed mail.Please mail to "ramanamalladi@yahoo.co.in"

Thanks in advance.

Thanks and Regards,

Ramana Malladi

Former Member
0 Kudos

Hi

For me also not getting Preview but I can able to catch Spool ID in FP_JOB_CLOSE.

CALL FUNCTION 'FP_JOB_CLOSE'

IMPORTING

e_result = ls_result.

wa_spoolid = ls_result-spoolids.

Thanks

Rama

Former Member
0 Kudos

Hi,

First for print preview you have to set the printer you want to use , this printer has to be define in your sap system and shouldn't be LOCL because SAP System need to retrieve tpye information of the printer.

Now if you want to print directly your form to the printer you have to set the OUTPUTPARAMS with correct value .

Here is the definition of structure OUTPUTPARAMS :

nodialog : No printer Dialog Popup

noprint : no backend printing

nopdf : no PDF document, only PDL

getpdf : PDF as return parameter

dest : Output device

copies : Number of copies requested

reqnew : start a new spool job

reqfinal : Spool request completed .

Hope this help you

Regards