Table of Contents

Advertisement

TECHNICAL MANUAL
PRINTER
CHD6800

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CHD6800 and is the answer not in the manual?

Questions and answers

Summary of Contents for CHD CHD6800

  • Page 1 TECHNICAL MANUAL PRINTER CHD6800...
  • 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.
  • Page 3: Table Of Contents

    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;...
  • Page 5: Settings

    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.
  • Page 6: Commands

    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)
  • Page 7: Esc ! Select Print Mode

    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)
  • Page 9: Esc % Select/Cancel User-Defined Character Set (V4.0.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.
  • Page 10: Esc ? Delete User-Defined Characters (V4.0.0)

    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.
  • Page 11: Esc J Print And Feed Paper

    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.
  • Page 12: Esc D

    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].
  • Page 13: Esc T Select Character Code Table

    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...
  • Page 14: Fs & Set Kanji On (Jisx0208)

    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 .
  • Page 15: Fs W Set Quadruple For Kanji (Jisx0208)

    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.
  • Page 17: Gs ! Select Character Size

    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).
  • Page 19: Gs * Define Download Bit Image

    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.
  • Page 20: Gs H

    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”...
  • Page 21: Gs F

    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.
  • Page 22: Gs K

    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.
  • Page 23: Gs Q Print Bitmap Block (V4.0.0)

    PRINTER CHD6800 Technical Manual * This command is not affected by print modes (emphasized, double-strike, underline, character size). 2.35 GS q Print bitmap block (v4.0.0) <1D>H<71>H <l> <n> xL xH d1 … dk [FORMAT] l – 30 (fixed) - number of pixel lines [RANGE] n –...
  • Page 24: Gs V

    PRINTER CHD6800 Technical Manual 2.36 GS v 0 Print raster bit image (v5.1.0) <1D>H<76>H <30>H <m> xL xH yL yH d1 … dk [FORMAT] m – mode [RANGE] 1 ≦ (xL+xH x256) ≦ 48 – number of bytes in the horizontal direction 1 ≦...
  • Page 25: Execute Test Print (V5.2.0)

    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.
  • Page 26: Gs ( E; Fn = 2 End User Setting Mode Session (V3.3.0)

    PRINTER CHD6800 Technical Manual 2.40 GS ( E; fn = 2 End user setting mode session (v3.3.0) [FORMAT] <1D>H<28>H <45>H xL xH fn d1 d2 d3 [RANGE] (xL+xH x256) = 4; (xL = 4, xH = 0) fn – 02H d1 –...
  • Page 27 PRINTER CHD6800 Technical Manual © Computer Hardware Design...
  • Page 28: Gs ( E; Fn = 12 Get Configuration Item For Serial Interface (V3.3.0)

    PRINTER CHD6800 Technical Manual 2.42 GS ( E; fn = 12 Get configuration item for serial interface (v3.3.0) [FORMAT] <1D>H<28>H <45>H xL xH fn a [RANGE] (xL+xH x256) = 2; (xL = 2, xH = 0) fn – 0CH a – item number (1 … 4) [DESCRIPTION] Following responses are sent as NULL terminated string, e.g.
  • Page 29: Set Up And Print Symbol (V2.0.0)

    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 –...
  • Page 30: Gs ( K; Fn = 45H Qr Code; Set Error Correction Level (V2.0.0)

    PRINTER CHD6800 Technical Manual 2.46 GS ( k; fn = 45H QR code; Set error correction level (v2.0.0) [FORMAT] <1D>H<28>H <6B>H xL xH cn fn n [RANGE] (xL+xH x256) = 3; (xL = 3, xH = 0) cn – 31H fn –...
  • Page 31: Gs ( K; Fn = 51H Qr Code; Print (V2.0.0)

    PRINTER CHD6800 Technical Manual 2.48 GS ( k; fn = 51H QR code; Print (v2.0.0) [FORMAT] <1D>H<28>H <6B>H xL xH cn fn m [RANGE] (xL+xH x256) = 3; (xL = 3, xH = 0) cn – 31H fn – 51H m = 30H;...

Table of Contents