‎2006 Feb 16 6:09 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
what is the meaning of each parameter used in these 2 lines.
(s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
what does it mean 0s24670T
(s1p40v10,30b10,30s24670T
what does it mean s1p40v10
what does it mean 30b10
what does it mean 30s24670T
Thanks & Regards,
‎2006 Feb 16 6:14 AM
Hi Bujji,
These are printer specific statements that are interpreted by the printer.. These commands specify special controls for printer for devices not supported by SAPScript drivers.
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.
This is a duplicate post...
Ps: Reward points if helpful by clicking stars on the left.
‎2006 Feb 16 9:54 AM
Hi Wenceslaus,
Thank u for your quick reply.Yes you are correct this is duplicate post.Can you please expalin each attribute used in these two lines
(means s1p
0s24670T
s1p40v10
30b10
30s24670T )
what is the meaning of these attributes exactly?And i observed one more thing that is, these two statements are started with open brackets '(',why these statements are not ended with ')'.What i am thinking is whenever another new print-control statement appears then this line is automatically closed.Is my assumption is correct or not?Please Clarify my doubts?
Thanks & Regards,
Bujji.
‎2006 Feb 16 10:14 AM
Hi Bujji,
I'm also new to PRINT-CONTROL.
(s1p
&XDIM& &YDIM& &MODHEIGHT& - Variables specifying dimnesions
0s24670T - Control Character Sequence: which is used to switch on and off a barcode sequence which is printer specific.
The PRINTER CONTROL is a combination of the following:
Escape Code
Opening (left) parenthesis character
Font ID 200
An upper case X to mark the end of the command (hex 58)
See <a href="http://h20000.www2.hp.com/bc/docs/support/ SupportManual/bpl13210/bpl13210.pdf">PCL Reference Manual</a> for more reference.
Hope this answers your question.
Ps: Reward points if helpful.