pet0etie
12-07-04, 15:46
hello,
i'm trying to do this simple tasks but i don't get it right : i wanna print a barcode and some text on a HP printer ... created a prtf with this content :
R LIJNTXT
DRAGER 18A O
POSITION(2.0 2.0)
BARDATA 18A O
BARCODE(CODE128 8 *HRZ X'02' +
*NOHRI +
(*WIDTH .011))
POSITION(5.0 5.0)
i created the prtf with : CRTPRTF FILE(...) SRCFILE(...) DEVTYPE(*AFPDS) CVTLINDTA(*NO)
i get the barcode and the text on the paper but i can't position them right ... all i get now is that my 'DRAGER' and my 'BARDATA' are always at the top of the paper : first the 'DRAGER' and right after that (as if they are concatenated) the barcode of 'BARDATA'
anyone who can point me to the right direction how to position them right ?
a huge thank you in advance for helping
Pascal B
PS 1 : i also tried the absolute positioning but that doesn't make any difference
PS 2 : if i rotate the barcode *VRT i get a well-sized barcode ... if i leave it on the default *HRZ i only get a line-heighted barcode
i'm trying to do this simple tasks but i don't get it right : i wanna print a barcode and some text on a HP printer ... created a prtf with this content :
R LIJNTXT
DRAGER 18A O
POSITION(2.0 2.0)
BARDATA 18A O
BARCODE(CODE128 8 *HRZ X'02' +
*NOHRI +
(*WIDTH .011))
POSITION(5.0 5.0)
i created the prtf with : CRTPRTF FILE(...) SRCFILE(...) DEVTYPE(*AFPDS) CVTLINDTA(*NO)
i get the barcode and the text on the paper but i can't position them right ... all i get now is that my 'DRAGER' and my 'BARDATA' are always at the top of the paper : first the 'DRAGER' and right after that (as if they are concatenated) the barcode of 'BARDATA'
anyone who can point me to the right direction how to position them right ?
a huge thank you in advance for helping
Pascal B
PS 1 : i also tried the absolute positioning but that doesn't make any difference
PS 2 : if i rotate the barcode *VRT i get a well-sized barcode ... if i leave it on the default *HRZ i only get a line-heighted barcode