Download POSJet 1000 Programming Guide
Transcript
Programmer's Guide POSjet™ 1000 Control Codes Graphic Mode Function ASCII Hexadecimal Decimal IPCL EPOS Process horizontal graphics data [ESC] h <color> <length> <format> <data> 1BH 68H <27> <104> None None Description The [ESC] h <color> <length> <format> <data> command processes horizontal graphic data. Where <color> is a byte that specifies the color of the data being sent. <color> = 0 Use Previously Selected Color 1 Red 2 Green 4 Blue 16 Single Color (Black/White) Note 1 Red, green, and blue pixels set to one at the same location result in white dot. While red, green, and blue pixels set to zero form a black dot. For black print, one represents a black dot and zero represents a white dot. Note 2 More than one color may be set at a time. Setting the color to six would set green and blue simultaneously. Where <length> is a byte specifying the length of the data including the format byte. <length> = 0 to 254 (255 is reserved for future use.) Where <format> is a byte specifying the format of the graphics data. <format> = 0 for raw data 1 for bit wise RLE compression 8 for byte wise RLE compression 254 for difference compression 255 for same as previous scan line data Where <data> is the data bytes that define the graphics to be printed. 06/01/00 Rev B The content of this document is proprietary. It may not be divulged in whole or part without permission from TransAct Technologies Incorporated. Page 73