Hi,
We issue the PCL commands from a COBOL program residing in the mainframe. I am not pasting the COBOL code here. I'll give just the list of PCL commands alone in the same order as they appear in the COBOL program.
%-12345X
E
(s0p10v0s1b4101T
*c1d6F
(0N
(s0p12v0s3b4101T
*c2d6F
(0N
(s12H
&k10H
%0B;
IN;SP1;PW.3;DT*;
SD4,11.5,6,3;FI2;SS;
PU3915.45,10322.6;LBTEST REPORT 1805*;
SD4,10,6,3;FI1;SS;
PU4881.6,9102.15;LBReport Number =>*;
SD4,12,6,3;FI2;SS;
(s12H
&k10H
PU0840.72,7878.36;LBCUST NUMBER*;
PU2200.11,7878.36;LBINVOICE - DATE*;
PU3667.98,7878.36;LBDEBIT MEMO ISSUED BY*;
PU5786.73,7878.36;LBCHANGE/CANCEL APPROVED*;
PU0840.72,7102.05;LBDESCRIPTION*;
PU5112.12,7102.05;LBQUANTITY*;
PU6013.86,7102.05;LBUNIT PRICE*;
PU7271.55,7102.05;LBAMOUNT*;
(s13H
&k9.23H
PU813.6,10220.9;PD8132.61,10220.9;
PU0813.6,593.25;PD8132.61,593.25;
PU0813.6,0593.25;PD813.6,10220.9;
PU8125.83,593.25;PD8125.83,10220.9;
PU8125.83,593.25;PD8125.83,10220.9;
PU813.6, 8017.35;PD8125.83,8017.35;
PU0813.6,7583.43;PD8132.61,7583.43;
PU2179.77,7583.43;PD2179.77,8024.13;
PU3647.64,7583.43;PD3647.64,8024.13;
PU5732.49,7583.43;PD5732.49,8024.13;
PU0813.6,7295.28;PD8132.61,7295.28;
PU0813.6,7007.13;PD8132.61,7007.13;
PU5078.22,593.25;PD5078.22,7298.67;
PU7085.1,593.25;PD7085.1,7298.67;
%0A;
&l0O
&l-500Z
&a11L
&l0E
&l6C
&l8D
When I used the offset command (&l-500Z), the top margin seems to shift up by 3 lines. Do you think it is a good idea to use the offset command? Will this command produce different results in different printers?
We are now printing to a primitive N24 printer from Xerox, but we will be converting to HP/Lexmark combination soon. We may be purchasing HP/Lexmark of atleast 3 or 4 models. We want our code to produce the same result on all printers. Do you think that is possible? What are the PCL commands that might behave differently in different printer models?
Thanks for your help
DSARO00