Skip to Content

SAP Script - Label Printing Issue


I have a requirement.

When we do label printing in our project for PUTAWAY label, we use standard text in SAP script.

Standard Text : ZPRINT_300DPI which is hardcoded in the SAP script and this is printing fine in zebra printer.

When they re-print the same, it will go to MOBILE printer and not ZEBRA printer.

Mobile printer should be 200 DPI and we have a separate standard text ZPRINT_200DPI.

Now the requirement says that, based on the user printer settings, I need to pass either 300 or 200 DPI standard texts.

Is this possible. Please suggest.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 07, 2016 at 07:00 PM

    Hello Prabu,

    I think this is the wrong forum for your question. It seems that a better forum for SAP Script, which has nothing to do with scripting languages, is in ABAP Development e.g. like this.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 07, 2016 at 08:12 PM

    Well, if you need your output to be dynamic, then your SAPScript also should be dynamic, isn't it? So, avoid hardcoding the text name in your SAPScript.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Stefan/Juwin,

      Thanks for the inputs.

      Yes.. It is dynamic. Initially, in the discussion i was told that based on the printer, standard text has to be changed dynamically to print.

      That's why i raised this question. Now, i could table to get the printer name before i decide the standard text.

      So, i have wrote the SAP script to trigger the standard text based on the printer name.

      Thanks for the help and my issue is solved now.



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.