SAP Printer commands in SAPScripts

The command line in the editor must be as follows:

/:  PRINT-CONTROL xxxxx

or

/:  PRINT-CONTROL 'xxxxx'

where xxxxx stands for the five-character name of the print control.

Example:
/:  PRINT-CONTROL ZM100

The complete printer command normally resides in the print control.

If characters belonging to the print command follow after the print control in the text (only useful for the HPL2 printer driver for PCL-5 printers), the text line following after the PRINT-CONTROL command should begin with an equals sign (=) in the format column.

Example:
/:  PRINT-CONTROL SESCP = *c5G

If you do not use the equals sign, a space character is inserted between the print control SESCP and the character *c5G.

Refer to OSS note 5996 - How can SAPscript include printer commands?

SAP Books
SAP Certification, Functional, System Administration and ABAP Programming Reference Books

SAP Scripts Tips
SAP Sapscripts Tips and Tricks

ABAP Tips
ABAP and Samples Program Codes for Abapers

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.