Page 2
PRINTER CHD6800 Technical Manual Notice Computer Hardware Design reserves all rights to make changes to specifications without notification. This publication, or parts thereof, may not be reproduced in any form without prior written permission of Computer Hardware Design. Unauthorized use or distribution of this publication is prohibited.
PRINTER CHD6800 Technical Manual TABLE OF CONTENTS Settings ..................................5 1.1 Serial Port ................................5 1.2 Serial port settings ..............................5 Commands .................................. 6 2.1 DLE EOT Real time status transmission ......................6 2.2 ESC ! Select print mode ........................... 7 2.3 ESC %...
Page 4
PRINTER CHD6800 Technical Manual 2.37 GS ( A Execute test print (v5.2.0) ........................ 25 2.38 GS ( E Set user setup commands (v3.3.0) ....................25 2.39 GS ( E; fn = 1 Begin user setting mode session (v3.3.0) ................. 25 2.40 GS ( E;...
PRINTER CHD6800 Technical Manual 1 SETTINGS 1.1 Serial Port On 6800 from Android the printer is accessible on "/dev/ttymxc4", which is RS-232 serial port with HW flow control. On 6800W from Windows the printer is accessible on "COM4", which is RS-232 serial port with HW flow control.
PRINTER CHD6800 Technical Manual 2 COMMANDS 2.1 DLE EOT Real time status transmission [FORMAT] <10>H<04>H<n> [RANGE] n = 1, 2, 4 [FUNCTION] Transmits the printer status specified by n in real-time. Transmit printer status (v5.0.0) Transmit offline status Transmit error status (v5.3.0)
PRINTER CHD6800 Technical Manual Not used Always 1 Printer head Down Not used Always 0 Not used Always 1 Paper-end stop No stop Stop Error No error Error Not used Always 0 n = 3: Error cause (v5.3.0) VALUE Function...
Page 8
PRINTER CHD6800 Technical Manual Double-width Cancelled Selected Undefined Underline Unsupported Unsupported [CAUTION] * Double height concerns whole line to be printed * This command is executed when the data is received. * Emphasising is not applied to GB2312 and BIG5 encoding characters. (v3.2.0)
PRINTER CHD6800 Technical Manual 2.3 ESC % Select/cancel user-defined character set (v4.0.0) [FORMAT] <1B>H<25>H<n> [RANGE] 0≦n≦255 [FUNCTION] Selects or cancels the user-defined character set. - When the LSB of n is 0, the user-defined character set is not used - When the LSB of n is 1, the user-defined character set is used.
PRINTER CHD6800 Technical Manual 2.5 ESC ? Delete user-defined characters (v4.0.0) [FORMAT] <1B>H<3F>H<n> [DESCRIPTION] Deletes the user-defined character pattern specified by character code n. 32 ≤ n ≤ 126 [RANGE] [CAUTION] * This command is ignored if user defined characters are not defined using ESC & or are deleted, for example, using FS q, GS * or GS v 0 command.
PRINTER CHD6800 Technical Manual 2.8 ESC J Print and feed paper [FORMAT] <1B>H<4A>H<n> [RANGE] 0≦n≦255 [FUNCTION] Prints the data in the print buffer and feeds the paper [n x pixel line]. [CAUTION] * After printing is completed, the next print start position is set to the beginning of the line.
PRINTER CHD6800 Technical Manual [CAUTION] * This command is made for compatibility with TH-582. 2.12 ESC d Print and feed paper [FORMAT] <1B>H<64>H<n> [RANGE] 0≦n≦255 [FUNCTION] Prints the data in the print buffer and feeds the paper [n x pixel line].
PRINTER CHD6800 Technical Manual 2.16 ESC t Select character code table [FORMAT] <1B>H<74>H<n> n – see table below [RANGE] [FUNCTION] Selects a page n of the character code table. PAGE CP 437 (USA, Standard Europe) JISX0201 (Katakana) JISX0208 Shift JIS...
PRINTER CHD6800 Technical Manual 2.18 FS & Set Kanji ON (JISX0208) [FORMAT] <1C>H<26>H [FUNCTION] When JISX0201, JISX0208 or Shift JIS set, sets Kanji mode ON. [CAUTION] Use ESC t to set code page. Effective only if before set JIS type (using FS C command) 2.19 FS .
PRINTER CHD6800 Technical Manual 2.23 FS W Set quadruple for Kanji (JISX0208) [FORMAT] <1C>H<57>H<n><m> n – ignored [RANGE] m - ignored [FUNCTION] ignored. 2.24 FS p Print NV bit image [FORMAT] <1C>H<70>H<n><m> [RANGE] n - ignored m - ignored [FUNCTION] Prints a NV (Non-volatile) bit image.
Page 16
PRINTER CHD6800 Technical Manual * This command may interfere with ordinary text printing command if sent while text line has not been printed. * This command is effective when 7 bytes <FS~yH> is processed as normal value. * If image dimensions exceed 384x384 pixels, the command and data is ignored.
PRINTER CHD6800 Technical Manual (EXAMPLE)When xL=48, xH=0, yL=48, yH=0 GS ! Select character size 2.26 [FORMAT] <1D>H<21>H<n> [RANGE] 0≦n≦FFH [FUNCTION] Selects the character size, height and width. Function Value Character height selection See table 2 Character width selection See table 1...
Page 18
PRINTER CHD6800 Technical Manual Table 2 Table 1 Character height Character width selection selection Hex. Width Hex. Height 1(normal) 1 (normal) 2(double-width) 2(double-height) 1(normal) 1 (normal) 2(double-width) 2(double-height) 1(normal) 1 (normal) 2(double-width) 2(double-height) 1(normal) 1 (normal) 2(double-width) 2(double-height) [DETAILS] * This command is effective for all characters (alphanumeric and Kanji).
PRINTER CHD6800 Technical Manual 2.27 GS * Define download bit image [FORMAT] <1D>H<2A>H<x><y><d1>…<d (x * y * 8)> 0≦ x ≦30H [RANGE] 0≦ y ≦30H d = x * y * 8 [FUNCTION] Defines a download bit image of the number of dots specified by x*8 and y*8.
Not used Following responses are sent as NULL terminated string, e.g. last char is 00H. n = 41H: Firmware version n = 42H: Manufacturer (“CHD”) n = 43H: Printer name (“Ltp0124501” or “CAPD245D”) n = 44H: Product ID (serial number) n = 45H: List of supported multi-character fonts, for example “JIS,BIG5”...
PRINTER CHD6800 Technical Manual 2.32 GS f Select font for bar code HRI characters (v1.1.0) [FORMAT] <1D>H<66>H<n> 0 ≦ n ≦ 1H [RANGE] 30 ≦ n ≦ 31H [FUNCTION] Selects a font for the HRI characters when printing a bar code.
PRINTER CHD6800 Technical Manual 2.34 GS k Print bar code (v1.1.0) (1) <1D>H<6B>H<m><d1>…<dk><00>H [FORMAT] (2) <1D>H<6B>H<m><n><d1>…<dk> (1) m = 2, 12 ≦ k ≦ 13 [RANGE] m = 4, 1 ≦ k ≦ 27 (2) m = 43H m = 45H [FUNCTION] Selects a bar code system and prints the bar code.
PRINTER CHD6800 Technical Manual 2.37 GS ( A Execute test print (v5.2.0) [FORMAT] <1D>H<28>H <41>H xL xH n m [DESCRIPTION] xL = 2, xH = 0 number of bytes (xL+xH x256) after xH. n – Paper (ignored) m – test pattern [FUNCTION] Executes specified test print.
PRINTER CHD6800 Technical Manual 2.43 GS ( k Set up and print symbol (v2.0.0) <1D>H<28>H <6B>H xL xH cn fn d1 … dk [FORMAT] [DESCRIPTION] xL, xH number of bytes (xL+xH x256) after xH. cn – code number (49 – QR code) fn –...
Need help?
Do you have a question about the CHD6800 and is the answer not in the manual?
Questions and answers