Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Barcodes in Scripts

Former Member
0 Likes
443

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,

2 REPLIES 2
Read only

Former Member
0 Likes
427

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.

Read only

Former Member
0 Likes
427

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