- Sep 2, 2014
- 1
- 0
- 0
Hello...
My cobol code that prints a signature on HP PCL5 printer has to be changed in such a way that it should print now on PCL6 printer. Vendor says they designed the signature box in the same manner as did for PCL5. But we are still not able to print the signature.
Existing code for PCL5:
03 PRINTLINE
05 ESC-12 PIC X(02) VALUE '|`'
05 ESC-34 PIC X(02) VALUE '1B'
05 ESC-5 PIC X(01) VALUE '$'
05 ESC-CHAR PIC X(03) VALUE '(0Y'.
05 ESC-67 PIC X(02) VALUE '|`'
05 ESC-89 PIC X(02) VALUE '1B'
05 ESC-10 PIC X(01) VALUE '$'
05 PRINT-SIGN PIC X(23) VALUE
'(s0p 1.18h61.v0s0b220T '.
We tried passing escapse characters as EDCDIC and Hexadecimals but it didnt work.
Can someone please advise
- Bharath
My cobol code that prints a signature on HP PCL5 printer has to be changed in such a way that it should print now on PCL6 printer. Vendor says they designed the signature box in the same manner as did for PCL5. But we are still not able to print the signature.
Existing code for PCL5:
03 PRINTLINE
05 ESC-12 PIC X(02) VALUE '|`'
05 ESC-34 PIC X(02) VALUE '1B'
05 ESC-5 PIC X(01) VALUE '$'
05 ESC-CHAR PIC X(03) VALUE '(0Y'.
05 ESC-67 PIC X(02) VALUE '|`'
05 ESC-89 PIC X(02) VALUE '1B'
05 ESC-10 PIC X(01) VALUE '$'
05 PRINT-SIGN PIC X(23) VALUE
'(s0p 1.18h61.v0s0b220T '.
We tried passing escapse characters as EDCDIC and Hexadecimals but it didnt work.
Can someone please advise
- Bharath