Skip to Content

How to extract ZPL content out of Print output request

Hi Experts,

I have a requirement where we design form using Smart form/Adobe forms in SAP and send the print to the zebra printer configured in SAP system as the output device with the device type as LZEB2. In some cases we don't want the print to happen instead we want to extract the printer specific data from the spool request or output request i.e. after the SAP content is converted by the driver (LZEB2) to ZPL commands which Zebra Printers can interpret.

Please suggest.

Regards,

Mallik

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 22, 2019 at 12:49 PM

    Hi,

    there is a function module

    RSPO_PROCESS_DIALOG_JOB

    which allows to "process an Output request in Dialog mode" and which creates a file with print data on the appserver which you can read using OPEN DATASET...

    But you cannot use this with your "real" Zebra printer definition since any output for that printer is normally directly processed by an SPO work process and sent to the printer. Using that FM requires a "dummy" SPAD printer which does NOT have a SPO service assigned, and for which you can create output requests which are not automatically processed (which Show up in Status WAITING in SP01). You can find out how to use the FM by examining programs that are already using it via WHERE-USED list.

    Regards,

    Alex

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.