Hi All...
I am trying to print some data 2x's to a page. First upside down, then right side up (so when the sheet is folded in half both will appear right side up).
Am generating the file from Progress on an HPUX box.
The following is partial code, any ideas??
x1 = chr(27) + "(0Y" + chr(27) + "(s0p4.6h12v0s0b0T". /*barcode font*/
x2 = "*" + somedata + "*".
x3 = x2.
x4 = x2.
x5 = chr(27) + "(3@". /*default font*/
x6 = chr(27) + "E". /*reset prntr*/
x7 = chr(27) + "(0U" + chr(27) + "(s1p48v0s3b4101T". /*cg times font*/
x8 = chr(10) + chr(13). /*crlf*/
x9 = caps(trim(someotherdata)).
x10 = chr(27) + "&a180P". /*rotate to 180*/
x11 = chr(27) + "&a0P". /*rotate to 0*/
x12 = chr(27) + "*p600X". /*columns*/
x13 = chr(27) + "*p600Y". /*rows*/
x14 = chr(27) + "*p-600X".
x15 = chr(27) + "*p-600Y".
display x12 skip (0) with no-labels.
display x13 skip (0)with no-labels.
display x10 skip (0) with no-labels.
display x1 skip (0) with no-labels.
display x2 skip (0) with no-labels.
display x3 skip (0) with no-labels.
display x4 skip (0) with no-labels.
display x5 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x7 skip (0) with no-labels.
display x9 skip (0) with no-labels.
display x5 skip (0) with no-labels.
/*display x6 skip (0) with no-labels.*/
display x11 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x8 skip (0) with no-labels.
/*display x14 skip (0) with no-labels.
display x15 skip (0) with no-labels.*/
/*display x1 skip (0) with no-labels.*/
display x2 skip (0) with no-labels.
display x3 skip (0) with no-labels.
display x4 skip (0) with no-labels.
display x5 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x7 skip (0) with no-labels.
display x9 skip (0) with no-labels.
display x6 skip (0) with no-labels.
output close.
end.
end.
Seems I can get the first "somedata" & "someotherdata" to print upside down, but cannot get the second "somedata" & "someotherdata" to print at all.
TIA
Longhair
I am trying to print some data 2x's to a page. First upside down, then right side up (so when the sheet is folded in half both will appear right side up).
Am generating the file from Progress on an HPUX box.
The following is partial code, any ideas??
x1 = chr(27) + "(0Y" + chr(27) + "(s0p4.6h12v0s0b0T". /*barcode font*/
x2 = "*" + somedata + "*".
x3 = x2.
x4 = x2.
x5 = chr(27) + "(3@". /*default font*/
x6 = chr(27) + "E". /*reset prntr*/
x7 = chr(27) + "(0U" + chr(27) + "(s1p48v0s3b4101T". /*cg times font*/
x8 = chr(10) + chr(13). /*crlf*/
x9 = caps(trim(someotherdata)).
x10 = chr(27) + "&a180P". /*rotate to 180*/
x11 = chr(27) + "&a0P". /*rotate to 0*/
x12 = chr(27) + "*p600X". /*columns*/
x13 = chr(27) + "*p600Y". /*rows*/
x14 = chr(27) + "*p-600X".
x15 = chr(27) + "*p-600Y".
display x12 skip (0) with no-labels.
display x13 skip (0)with no-labels.
display x10 skip (0) with no-labels.
display x1 skip (0) with no-labels.
display x2 skip (0) with no-labels.
display x3 skip (0) with no-labels.
display x4 skip (0) with no-labels.
display x5 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x7 skip (0) with no-labels.
display x9 skip (0) with no-labels.
display x5 skip (0) with no-labels.
/*display x6 skip (0) with no-labels.*/
display x11 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x8 skip (0) with no-labels.
/*display x14 skip (0) with no-labels.
display x15 skip (0) with no-labels.*/
/*display x1 skip (0) with no-labels.*/
display x2 skip (0) with no-labels.
display x3 skip (0) with no-labels.
display x4 skip (0) with no-labels.
display x5 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x8 skip (0) with no-labels.
display x7 skip (0) with no-labels.
display x9 skip (0) with no-labels.
display x6 skip (0) with no-labels.
output close.
end.
end.
Seems I can get the first "somedata" & "someotherdata" to print upside down, but cannot get the second "somedata" & "someotherdata" to print at all.
TIA
Longhair