‎2006 Feb 15 11:04 AM
Hi all,
what is the difference between these two lines of code while printing barcodes in sap using print-control
(s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
(s1p40v10,30b10,30s24670T
Can you please tell me the what is the exact difference and what is the meaning of each parameter used in these 2 lines.
Thanks & Regards,
‎2006 Feb 15 12:12 PM
These statements make use of PRINT-CONTROL in SAPScript.
The PRINT-CONTROL command in SAPscript was implemented so that it is possible to include printer-specific commands in SAPscript texts and forms.
These commands are used to call special functions on the printer or output device that are not supported by the existing SAPscript
printer drivers.
PRINT-CONTROL enables you to modify the print data stream created by the SAPscript printer drivers within certain limits or to send additional commands.
Ps: Reward points if helpful.
‎2006 Feb 15 1:15 PM
Bujji,
These lines of coding tell the SAP Script COMPOSER about how it has to handle PRINT-CONTROL to print some lines( Barcodes ).
This mainly depends on how your printer has been configured that you are going to print/preview the output. Have a glance at Tcode SE73 for more info.
For these barcodes, even Print Preview will be different if you change the Printer name in the dialog box before outputting the preview.
Ps: Reward Points if useful.
Thanks,
Kriss