Escape sequence

Luc Lessard

New Member
Hi,

I need to print a part no. is large caracter, about 3/4 inch hight.
When i send this escape sequence (*c4mc<) to a dot matrix printer (hp2934a)
it work fine. But to a hp2564 it does not print.
Any idea wish escape sequence that printer need ?

DEFINE VARIABLE v_esc_seq_big_char AS CHAR NO-UNDO.
DEFINE VARIABLE v_part_big_char AS CHAR NO-UNDO.
DEFINE VARIABLE v_esc_seq_barcode_end AS CHAR NO-UNDO.

DEFINE VARIABLE v_reset AS CHAR INIT "~E" NO-UNDO.

ASSIGN v_esc_seq_big_char = "*c4mc<".
ASSIGN v_esc_seq_big_char = v_reset + v_esc_seq_big_char.
ASSIGN v_esc_seq_barcode_end = ">Z".

ASSIGN v_part_big_char = v_esc_seq_big_char +
TRIM(CAPS(job.item)) +
v_esc_seq_barcode_end.

PUT CONTROL v_part_big_char.

NOTE: THIS WORK FOR HP2934a but not for HP2564.

THANKS.
 
Top