EasyManua.ls Logo

POSIFLEX PP6800 - User Manual

POSIFLEX PP6800
57 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
PP6000 Command Details - Page 1
PP6800/PP8000
COMMAND DETAILS
CODES
(HEX/CONTROL):
<09> / {HT}
NAME:
Horizontal tab
FUNCTION:
Moves the print position to the next horizontal tab
position
EXPLANATION:
1. If all horizontal tab position has been cleared by {ESC} D {NUL}, this command
is ignored.
2. The default setting of the horizontal tab positions are set at every 8th character
(9th, 17th, 25th, …column).
3. If there is no more horizontal tab position set to the right of the print position
within the printing area, this command advances print position to the beginning of
next line.
4. Horizontal tab positions can be set with {ESC} D command. When horizontal tab
positions are set in font A (12 x 24) characters printing mode, switching into font
B (8 x 16) characters mode the tab positions will still align to that in font A
printing.
5. Horizontal tab positions can be reset to default values with {ESC} @.
6. Since the printer executes print buffer-full printing when print data before a {LF}
received exceeds a line’s worth, if this command is received when the printing
position is already at next line the horizontal tab processing is executed from the
beginning of this next line.
CODES
(HEX/CONTROL):
<0A> / {LF}
NAME:
Print and line feed
FUNCTION:
Print data in print buffer and feed one line
Question and Answer IconNeed help?

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

Overview

  1. Horizontal Tab (HT) - CODES (HEX/CONTROL): <09> / {HT}
  2. Print and Line Feed (LF) - CODES (HEX/CONTROL): <0A> / {LF}
  3. Print and Return to Text Mode in Page Mode (FF) - CODES (HEX/CONTROL): <0C> / {FF}
  4. Carriage Return (CR) - CODES (HEX/CONTROL): <0D> / {CR}
  5. Real-time Status Transmission - CODES (HEX/CONTROL): <10> <04> / {DLE} {EOT} n
  6. Status Responses (n=1: Printer status)
  7. Status Responses (n=2: Off-line status)
  8. Status Responses (n=3: Error status)
  9. Status Responses (n=4: Continuous paper sensor status)
  10. Real-time Request to Printer - CODES (HEX/CONTROL): <10> <05> / {DLE} {ENQ} n
  11. Cancel Print Data in Page Mode - CODES (HEX/CONTROL): <18> / {CAN}
  12. Repeatable Print Data in Page Mode - CODES (HEX/CONTROL): <1B> <0C> / {ESC} {FF}
  13. Set Right-Side Character Spacing - CODES (HEX/CONTROL): <1B> <20> / {ESC} {SP} n
  14. Select Print Mode - CODES (HEX/CONTROL): <1B> <21> / {ESC} ! n
  15. Set Absolute Print Position - CODES (HEX/CONTROL): <1B> <24> / {ESC} $ nL nH
  16. Select/Cancel User-Defined Character Set - CODES (HEX/CONTROL): <1B> <25> / {ESC} % n
  17. Define User-Defined Characters - CODES (HEX/CONTROL): <1B> <26> [ <d(1,1)> ... <d(1,(y x x1))>] ... [ <d(k,1)> ... <d(k,(y x xk))>] / {ESC} & y C1 C2 [x1 d(1,1) ... d(1,(y x x1))] ... [xk d(k,1) ... d(k,(y x xk))]
  18. Turn Underline Mode On/Off - CODES (HEX/CONTROL): <1B> <2D> / {ESC} - n
  19. Select Default Line Spacing - CODES (HEX/CONTROL): <1B> <32> / {ESC} 2
  20. Set Line Spacing - CODES (HEX/CONTROL): <1B> <33> / {ESC} 3 n
  21. Cancel User-Defined Characters - CODES (HEX/CONTROL): <1B> <3F> / {ESC} ? n
  22. Initialize Printer - CODES (HEX/CONTROL): <1B> <40> / {ESC} @
  23. Horizontal Tab Position Setting - CODES (HEX/CONTROL): <1B> <44> ... <00> / {ESC} D n1 ... nk {NUL}
  24. Turn Emphasized Mode On/Off - CODES (HEX/CONTROL): <1B> <45> /{ESC} E n
  25. Turn On/Off Double-Strike Mode - CODES (HEX/CONTROL): <1B> <47> / {ESC} G n
  26. Print and Feed Paper - CODES (HEX/CONTROL): <1B> <4A> / {ESC} J n
  27. Select Page Mode - CODES (HEX/CONTROL): <1B> <4C> / {ESC} L
  28. Select Character Font - CODES (HEX/CONTROL): <1B> <4D> / {ESC} M n
  29. Select an International Character Set - CODES (HEX/CONTROL): <1B> <52> / {ESC} R n
  30. Select Text Mode - CODES (HEX/CONTROL): <1B> <53> / {ESC} S
  31. Select Print Direction in Page Mode - CODES (HEX/CONTROL): <1B> <54> / {ESC} T n
  32. Turn 90° Clockwise Rotation Mode On/Off - CODES (HEX/CONTROL): <1B> <56> / {ESC} V n
  33. Set Printing Area in Page Mode - CODES (HEX/CONTROL): <1B> <57> / {ESC} W xL xH yL yH dxL dxH dyL dyH
  34. Set Relative Print Position - CODES (HEX/CONTROL): <1B> <5C> / {ESC} \ nL nH
  35. Select Justification - CODES (HEX/CONTROL): <1B> <61> / {ESC} a n
  36. Select Paper Sensor(s) to Output Paper End Signals - CODES (HEX/CONTROL): <1B> <63> <33> / {ESC} c 3 n
  37. Select Paper Sensor(s) to Stop Printing - CODES (HEX/CONTROL): <1B> <63> <34> / {ESC} c 4 n
  38. Enable/Disable Panel Buttons - CODES (HEX/CONTROL): <1B> <63> <35> / {ESC} c 5 n
  39. Print and Feed n Lines - CODES (HEX/CONTROL): <1B> <64> / {ESC} d n
  40. Generate Pulse - CODES (HEX/CONTROL): <1B> <70> / {ESC} p m t1 t2
  41. Select Character Code Table - CODES (HEX/CONTROL): <1B> <74> / {ESC} t n
  42. Turn On/Off Upside-Down Printing Mode - CODES (HEX/CONTROL): <1B> <7B> / {ESC} { n
  43. Print NV Bit Image - CODES (HEX/CONTROL): <1C> <70> / {FS} p n m
  44. Define NV Bit Image - CODES (HEX/CONTROL): <1C> <71> [ ...]1 ... [ ...]n / {FS} q n [xL xH yL yH d1 ... dk]1 ... [xL xH yL yH d1 ... dk]n
  45. Select Character Size - CODES (HEX/CONTROL): <1D> <21> / {GS} ! n
  46. Set Absolute Vertical Print Position in Page Mode - CODES (HEX/CONTROL): <1D> <24> / {GS} $ nL nH
  47. Define Downloaded Bit Image - CODES (HEX/CONTROL): <1D> <2A> ... <d(x x y x 8)>/ {FS} & x y d1 ... d(x x y x 8)
  48. Print Downloaded Bit Image - CODES (HEX/CONTROL): <1D> <2F> / {GS} / m
  49. Start/End Macro Definition - CODES (HEX/CONTROL): <1D> <3A> / {GS}
  50. Turn White/Black Reverse Printing Mode On/Off - CODES (HEX/CONTROL): <1D> <42> / {GS} B n
  51. Select Printing Position for HRI Characters - CODES (HEX/CONTROL): <1D> <48> / {GS} H n
  52. Transmit Printer ID - CODES (HEX/CONTROL): <1D> <49> / {GS} I n
  53. Set Left Margin - CODES (HEX/CONTROL): <1D> <4C> / {GS} L nL nH
  54. Set Horizontal and Vertical Motion Units - CODES (HEX/CONTROL): <1D> <50> / {GS} P x y
  55. Select Cut Mode and Cut Paper - CODES (HEX/CONTROL): 1. <1D> <56> / {GS} V m 2. <1D> <56> / {GS} V m n
  56. Set Printing Area Width - CODES (HEX/CONTROL): <1D> <57> / {GS} W nL nH
  57. Set Relative Vertical Print Position in Page Mode - CODES (HEX/CONTROL): <1D> <5C> / {GS} \ nL nH
  58. Execute Macro - CODES (HEX/CONTROL): <1D> <5E> / {GS} ^ r t m
  59. Enable/Disable Automatic Status Back (ASB) - CODES (HEX/CONTROL): <1D> <61> / {GS} a n
  60. Turns Smoothing Mode On/Off - CODES (HEX/CONTROL): <1D> <62> / {GS} b n
  61. Select Font for Human Readable Interpretation (HRI) Characters - CODES (HEX/CONTROL): <1D> <66> / {GS} f n
  62. Select Bar Code Height - CODES (HEX/CONTROL): <1D> <68> / {GS} h n
  63. Print Bar Code - CODES (HEX/CONTROL): 1. <1D> <6B> ... <00> / {GS} k m d1 ... dk {NUL} 2. <1D> <6B> ... / {GS} k m n d1 ... dn
  64. Transmit Status - CODES (HEX/CONTROL): <1D> <72> / {GS} r n
  65. Print Raster Bit Image - CODES (HEX/CONTROL): <1D> <76> <30> [...] / {GS} v 0 m xL xH yL yH [d1 ... dk]
  66. Set Bar Code Width - CODES (HEX/CONTROL): <1D> <77> / {GS} w n
  67. APPENDIX: CODE 128 BAR CODE

This document details the command set for the PP6800/PP8000 series printers, providing a comprehensive guide to their functions, technical specifications, usage features, and some maintenance aspects.

Horizontal Tab (HT) - CODES (HEX/CONTROL): <09> / {HT}

This command moves the print position to the next horizontal tab position. If all horizontal tab positions have been cleared, the command is ignored. By default, horizontal tab positions are set at every 8th character (9th, 17th, 25th, etc.). If no more tab positions are set to the right within the printing area, the print position advances to the beginning of the next line. Horizontal tab positions can be set using the {ESC} D command and reset to default values with {ESC} @. When switching between font A (12x24) and font B (8x16) modes, tab positions remain aligned with the font A setting. If this command is received when the print position is already on the next line due to print buffer-full printing, horizontal tab processing starts from the beginning of that new line.

This command prints the data currently in the print buffer and then feeds the paper by one line. The print buffer is cleared after printing. In text mode, if the printer receives more than a line's worth of data before an {LF}, it executes print buffer-full printing. Paper advances by one line based on the current line spacing. In page mode, printing and paper feed do not occur immediately; data after {LF} is arranged for the next line. This command also sets the print position to the beginning of the line after the line feed.

This command is exclusively for page mode. It prints all data accumulated in the print buffer collectively and then switches the printer back to text mode. After printing, the buffer data is cleared. Any printing settings active in page mode (e.g., underline, character font, emphasized, double strike, character size, reverse printing) are retained for subsequent text mode printing. The printing area defined by {ESC} W in page mode also remains the same. This command does not trigger paper cutting. It sets the print position to the beginning of the line in text mode.

Carriage Return (CR) - CODES (HEX/CONTROL): <0D> / {CR}

This command sets the printing position to the beginning of the current line. If automatic line feed is enabled, it functions identically to {LF}. If automatic line feed is disabled, this command is ignored. In serial interface models, this command is ignored. For parallel interface models, its behavior is influenced by DIP switch position 7 of SW1.

Real-time Status Transmission - CODES (HEX/CONTROL): <10> <04> / {DLE} {EOT} n

This command transmits selected printer status in real time. The parameter 'n' (ranging from 1 to 4) specifies the content group of the status to be transmitted:

  • n = 1: Printer status
  • n = 2: Off-line status
  • n = 3: Error status
  • n = 4: Paper sensor status The printer transmits the current status as a one-byte data regardless of the host computer's handshaking condition. If 'n' is out of range, the command is ignored. This command is executed upon receipt, even if there is unprocessed data in the receive buffer. For serial interface models, it works even if the printer is off-line, the receive buffer is full, or an error status exists. For parallel interface models, its execution depends on DIP switch position 4 (or 1-4) and the printer's status (on-line, no error, not busy). The status is transmitted even if the data sequence is part of another command, but the containing command will still execute. This command should not be used when the printer is processing multi-byte command sequences. When Auto Status Back (ASB) is enabled, the status transmitted by this command must be differentiated from ASB status.

Status Responses (n=1: Printer status)

This table provides a detailed breakdown of the printer's status bits:

  • Bit 0 (Off/On Hex 00/0, Decimal 0): Not used. Fixed to Off.
  • Bit 1 (Off/On Hex 02/2, Decimal 2): Not used. Fixed to On.
  • Bit 2 (Off/On Hex 00/0, Decimal 0 or 04/4, Decimal 4): Drawer open/close signal is LOW (connector pin 3) or HIGH (connector pin 3).
  • Bit 3 (Off/On Hex 00/0, Decimal 0 or 08/8, Decimal 8): On-line or Off-line.
  • Bit 4 (Off/On Hex 10/16, Decimal 16): Not used. Fixed to On.
  • Bit 5,6: Undefined.
  • Bit 7 (Off/On Hex 00/0, Decimal 0): Not used. Fixed to Off.

Status Responses (n=2: Off-line status)

  • Bit 0 (Off/On Hex 00/0, Decimal 0): Not used. Fixed to Off.
  • Bit 1 (Off/On Hex 02/2, Decimal 2): Not used. Fixed to On.
  • Bit 2: Undefined.
  • Bit 3 (Off/On Hex 00/0, Decimal 0 or 08/8, Decimal 8): Cover is closed or Cover is open.
  • Bit 4 (Off/On Hex 00/0, Decimal 0 or 08/8, Decimal 8): FEED button is used for macro execution or FEED button is used to feed the paper.
  • Bit 5 (Off/On Hex 10/16, Decimal 16): Not used. Fixed to On.
  • Bit 6 (Off/On Hex 00/0, Decimal 0): Not used Fixed to Off.
  • Bit 7 (Off/On Hex 00/0, Decimal 0 or 40/64, Decimal 64): No error or Error occurs. Bit 6 indicates errors excluding cover open or paper jam.

Status Responses (n=3: Error status)

  • Bit 0 (Off/On Hex 00/0, Decimal 0): Not used. Fixed to Off.
  • Bit 1 (Off/On Hex 02/2, Decimal 2): Not used. Fixed to On.
  • Bit 2: Undefined.
  • Bit 3 (Off/On Hex 00/0, Decimal 0 or 08/8, Decimal 8): No auto-cutter error or Auto-cutter error occurs. Auto cutter error, cover open error, paper near end/end status, and paper jams are considered recoverable.
  • Bit 4 (Off/On Hex 10/16, Decimal 16): Not used. Fixed to On.
  • Bit 5 (Off/On Hex 00/0, Decimal 0 or 20/32, Decimal 32): No unrecoverable error or Unrecoverable error occurs. Unrecoverable errors occur due to improper shutdown or circuit failure.
  • Bit 6 (Off/On Hex 00/0, Decimal 0 or 40/64, Decimal 64): No auto-recoverable error or Auto recoverable error occurs. Bit 6 is On when printing stops due to high print head temperature or an open paper roll cover.
  • Bit 7 (Off/On Hex 00/0, Decimal 0): Not used. Fixed to Off.

Status Responses (n=4: Continuous paper sensor status)

  • Bit 0 (Off/On Hex 00/0, Decimal 0): Not used. Fixed to Off.
  • Bit 1 (Off/On Hex 02/2, Decimal 2): Not used. Fixed to On.
  • Bit 2,3 (Off/On Hex 00/0, Decimal 0 or 0C/12, Decimal 12): Paper roll near-end sensor: paper adequate or paper near-end.
  • Bit 4 (Off/On Hex 10/16, Decimal 16): Not used. Fixed to On.
  • Bit 5,6 (Off/On Hex 00/0, Decimal 0 or 60/96, Decimal 96): Paper end sensor: paper present or paper end.
  • Bit 7 (Off/On Hex 00/0, Decimal 0): Not used. Fixed to Off.

Real-time Request to Printer - CODES (HEX/CONTROL): <10> <05> / {DLE} {ENQ} n

This command requests the printer to perform real-time actions. The parameter 'n' (ranging from 1 to 2) specifies the action:

  • n = 1: Recover from an error and restart printing from the line where the error occurred.
  • n = 2: Recover from an error after clearing the receive and print buffers. This command is effective only when an auto-cutter error occurs. The printer starts processing data upon receiving this command. It executes with serial interface models even when off-line, receive buffer full, or an error status exists. For parallel interface models, its execution depends on DIP switch position 4 (or 1-4) and the printer's status. The status is also transmitted when the data sequence is part of another command. This command should not be contained within multi-byte commands. {DLE}{ENQ} 2 allows recovery from errors by clearing buffers and retaining settings, except for print head temperature errors.

Cancel Print Data in Page Mode - CODES (HEX/CONTROL): <18> / {CAN}

This command is only effective in page mode and is ignored in text mode. It deletes all print data in the printing buffer. If repeatable printing has been performed, the printed data is cleared, but all printing settings, including the print position, remain. The starting position for the next printing in page mode follows the last position printed.

Repeatable Print Data in Page Mode - CODES (HEX/CONTROL): <1B> <0C> / {ESC} {FF}

This command works only in page mode. It allows for repeatable printing of all buffered data. After printing, the printer remains in page mode and does not return to text mode. The buffered data is not cleared, and all printing settings, including the print position, remain. The starting position for the next printing follows the last position printed.

Set Right-Side Character Spacing - CODES (HEX/CONTROL): <1B> <20> / {ESC} {SP} n

This command sets the character spacing for the right side of characters to 'n' times the horizontal or vertical motion units. The range for 'n' is 0 to 255. For double-width mode, the right-side spacing is double the normal value. When characters are enlarged, the spacing follows 'n' times the normal value. Underline mode is available with right-side character spacing. If the spacing exceeds the printing area, the printer sets the print position to the beginning of the next line. This setting is independent for text and page modes.

Select Print Mode - CODES (HEX/CONTROL): <1B> <21> / {ESC} ! n

This command selects the print mode, with 'n' ranging from 0 to 255. The parameter 'n' specifies various print settings:

  • Bit 0 (Off/On Hex 00/0, Decimal 0 or 01/1, Decimal 1): Character font A (12x24) or Character font B (8x16).
  • Bit 1, 2: Undefined.
  • Bit 3 (Off/On Hex 00/0, Decimal 0 or 08/8, Decimal 8): Emphasized mode not selected or Emphasized mode selected.
  • Bit 4 (Off/On Hex 00/0, Decimal 0 or 10/16, Decimal 16): Double-height mode not selected or Double-height mode selected.
  • Bit 5 (Off/On Hex 00/0, Decimal 0 or 20/32, Decimal 32): Double-width mode not selected or Double-width mode selected.
  • Bit 6: Undefined.
  • Bit 7 (Off/On Hex 00/0, Decimal 0 or 80/128, Decimal 128): Underline mode not selected or Underline mode selected. When both double-height and double-width modes are selected, quadruple size characters are printed. The printer can underline all characters except those set by {HT} or 90° clockwise rotated characters. The underline thickness is set by {ESC} - regardless of character size. Characters on a line with varying heights are aligned at the baseline. {ESC} E and {ESC} - can also control emphasized and underline modes, respectively, with the last received command taking precedence. {GS}! can also select character size, with the last received command being effective.

Set Absolute Print Position - CODES (HEX/CONTROL): <1B> <24> / {ESC} $ nL nH

This command sets the distance from the beginning of the line to the position where subsequent characters will be printed. The distance is calculated as [nL + nH x 256] x (vertical or horizontal motion unit in inches). If settings are outside the printable area, the printer sets the position to the beginning of the next line. If a left margin was set previously, its value depends on the absolute print position. In text mode, the horizontal motion unit 'x' is used. In page mode, the motion unit (x or y) depends on the starting position of the printable area set by {ESC} T.

Select/Cancel User-Defined Character Set - CODES (HEX/CONTROL): <1B> <25> / {ESC} % n

This command selects or cancels the user-defined character set. If the LSB of 'n' is 0, the user-defined character set is canceled, and the internal character set is automatically selected. If the LSB of 'n' is 1, the user-defined character set is selected. 'n' is only available for the least significant bit.

Define User-Defined Characters - CODES (HEX/CONTROL): <1B> <26> [ <d(1,1)> ... <d(1,(y x x1))>] ... [ <d(k,1)> ... <d(k,(y x xk))>] / {ESC} & y C1 C2 [x1 d(1,1) ... d(1,(y x x1))] ... [xk d(k,1) ... d(k,(y x xk))]

This command defines user-defined characters. 'y' represents the number of bytes in the vertical direction. 'c1' and 'c2' specify the beginning and final character codes for the definition, respectively. 'x' specifies the number of dots in the horizontal direction. The allowable character code range is ASCII {20}h to {7E}h (95 characters). Multiple characters can be defined for consecutive codes. Later definitions replace previous ones. 'd's are dot data, with the dot pattern in the horizontal direction from the left. Remaining dots on the right are blank. For font B (8x16), every 3rd byte of data is non-effective. User-defined character definitions are cleared by {ESC} @, {ESC} ?, {FS} q, {GS} *, or when the printer is reset or power is turned off. Examples are provided for defining characters in both font A (12x24) and font B (8x16).

Select Bit-Image Mode - CODES (HEX/CONTROL): <1B> <2A> ... / {ESC} {*} {m} {nL} {nH} {d1}...{dk} This command selects a bit-image mode. 'm' specifies the number of dots, and 'nL' and 'nH' determine the horizontal dot count. The range for 'm' is 0, 1, 20, 21, and for 'nL' and 'nH' is 0 to FF and 0 to 03 respectively. 'd' represents the bit-image data.

  • m=0 (8-dot single): 8 dots, 60 DPI vertical, 90 DPI horizontal, k = {nL}+{nH}x256 data bytes.
  • m=1 (8-dot double): 8 dots, 60 DPI vertical, 180 DPI horizontal, k = {nL}+{nH}x256 data bytes.
  • m=20 (24-dot single): 24 dots, 180 DPI vertical, 90 DPI horizontal, k = [{nL}+{nH}x256]x3 data bytes.
  • m=21 (24-dot double): 24 dots, 180 DPI vertical, 180 DPI horizontal, k = [{nL}+{nH}x256]x3 data bytes. If 'm' is out of range, 'nL' and 'nH' data are processed as normal data. This command works in both text and page modes. 'nL' and 'nH' define the horizontal dots, calculated as {nL} + {nH} x 256. If bit-image data exceeds the line width, the excess is treated as normal data. 'd' indicates bit-image data, where 1 prints a dot and 0 does not. This command is not affected by print modes like {ESC}{SP}, {ESC}{-}, {ESC}{E}, {ESC}{G}, {ESC}{M}, {ESC}{V}, {GS}{!}, {GS}{B}, except for upside-down printing mode. If the printing area width is less than required, it's extended to the right, or the left margin is reduced. After printing a bit image, the printer returns to normal data processing mode. Examples illustrate the relationship between image data and printed dots for 8-dot and 24-dot bit images.

Turn Underline Mode On/Off - CODES (HEX/CONTROL): <1B> <2D> / {ESC} - n

This command turns underline mode on or off. The parameter 'n' (ranging from 0 to 2, or 48 to 50) specifies the action:

  • n = 0, 48: Turns off underline mode.
  • n = 1, 49: Turns on underline mode (1-dot thick).
  • n = 2, 50: Turns on underline mode (2-dots thick). The printer can underline all characters (including right-side character spacing, user-defined characters) but not spaces set by {HT} or large image printing. It also cannot underline 90° clockwise rotated characters or white/black inverted characters. Changing character size does not affect the current underline thickness.

Select Default Line Spacing - CODES (HEX/CONTROL): <1B> <32> / {ESC} 2

This command selects the default line spacing, which is approximately 1/6.75-inch (3.76 mm). Line spacing can be set independently in text and page modes.

Set Line Spacing - CODES (HEX/CONTROL): <1B> <33> / {ESC} 3 n

This command sets the line spacing. The range for 'n' is 0 to 255. The line spacing is calculated as [n x vertical or horizontal motion unit] inches. Line spacing can be set independently in text and page modes. The horizontal and vertical motion units are specified by {GS} P, and changing them does not affect the current line spacing. In text mode, the vertical motion unit 'y' is used. In page mode, the function depends on the starting position of the printable area set by {ESC} T.

Cancel User-Defined Characters - CODES (HEX/CONTROL): <1B> <3F> / {ESC} ? n

This command cancels the pattern defined for the character code specified by 'n' (ranging from 20 to 126). After cancellation, the corresponding internal character pattern is printed. If a user-defined character has not been defined for the specified code, the printer ignores this command.

Initialize Printer - CODES (HEX/CONTROL): <1B> <40> / {ESC} @

This command clears data in the printing buffer, resets the printer mode to the text mode that was active when power was turned on. Macro definitions and NV bit image data are not cleared.

Horizontal Tab Position Setting - CODES (HEX/CONTROL): <1B> <44> ... <00> / {ESC} D n1 ... nk {NUL}

This command sets horizontal tab positions. 'n' (ranging from 1 to 255) specifies the column number, and 'k' (ranging from 1 to 33) indicates the total number of tab positions. Excessive tab position data (more than 33) before {NUL} is printed as normal data. Tab positions are measured from the beginning of the line by 'n' x character width, which includes font type, right-side spacing, and double-width characters. These positions are fixed even if character width changes later. This command cancels previous tab settings; {ESC} D {NUL} clears all. If a tab position exceeds the printing area, the printer sets the print position to the beginning of the next line, and further settings are disregarded. All 'n' values must be in ascending order; smaller values are disregarded.

Turn Emphasized Mode On/Off - CODES (HEX/CONTROL): <1B> <45> /{ESC} E n

This command turns emphasized mode on or off. The parameter 'n' (ranging from 0 to 255) specifies:

  • n = 0: Emphasized mode is turned off.
  • n = 1: Emphasized mode is turned on. Only the least significant bit of 'n' is enabled. This command is ignored in page mode.

Turn On/Off Double-Strike Mode - CODES (HEX/CONTROL): <1B> <47> / {ESC} G n

This command turns double-strike mode on or off. The parameter 'n' (ranging from 0 to 255) specifies:

  • n = 0: Double-strike mode is turned off.
  • n = 1: Double-strike mode is turned on. Only the lowest bit of 'n' is enabled. This command is ignored in page mode. Printer output is the same in double-strike mode and emphasized mode.

This command prints data in the print buffer and feeds the paper. The paper feed amount is [n x vertical or horizontal motion unit in inches], with 'nL' ranging from 0 to 255. After printing, this command sets the print starting position to the beginning of the line. The paper feed amount does not affect settings by {ESC} 2 or {ESC} 3. The {GS} P command can change vertical/horizontal motion units.

Select Page Mode - CODES (HEX/CONTROL): <1B> <4C> / {ESC} L

This command switches the printer from text mode to page mode. It is only effective when processed at the beginning of a line in text mode and has no effect in page mode. It sets the data buffering position to that specified by {ESC} T within the printing area defined by {ESC} W. The printer returns to text mode when power is turned on, reset, or {ESC} @ is used.

Select Character Font - CODES (HEX/CONTROL): <1B> <4D> / {ESC} M n

This command selects the character font. The parameter 'n' (0, 1, 48, 49) specifies:

  • n = 0, 48: Character font A (12x24) selected.
  • n = 1, 49: Character font B (8x16) selected. It switches character font in both text and page modes.

Select an International Character Set - CODES (HEX/CONTROL): <1B> <52> / {ESC} R n

This command selects an international character set. The parameter 'n' (0-13, 15) specifies the set:

  • n = 0: U.S.A.
  • n = 1: France
  • n = 2: Germany
  • n = 3: U.K.
  • n = 4: Denmark I
  • n = 5: Sweden
  • n = 6: Italy
  • n = 7: Spain I
  • n = 8: Japan
  • n = 9: Norway
  • n = 10: Denmark II
  • n = 11: Spain II
  • n = 12: Latin America
  • n = 13: Korea
  • n = 15: Ex-Yugoslavia The selected international character set is cleared by {ESC} @, {FS} q, or when the printer is reset or power is turned off.

Select Text Mode - CODES (HEX/CONTROL): <1B> <53> / {ESC} S

This command switches the printer from page mode to text mode. It is effective only in page mode, clears buffered data, and sets the print position to the beginning of the line.

Select Print Direction in Page Mode - CODES (HEX/CONTROL): <1B> <54> / {ESC} T n

This command selects the print direction and starting position in page mode. The parameter 'n' (0-3, 48-51) specifies:

  • n = 0, 48: Left to right, Upper left (A in figure).
  • n = 1, 49: Bottom to top, Lower left (B in figure).
  • n = 2, 50: Right to left, Lower right (C in figure).
  • n = 3, 51: Top to bottom, Upper right (D in figure). This command does not apply in text mode. It sets the position where data is buffered within the printing area defined by {ESC} W.

Turn 90° Clockwise Rotation Mode On/Off - CODES (HEX/CONTROL): <1B> <56> / {ESC} V n

This command turns 90° clockwise rotation mode on or off. The parameter 'n' (0, 1, 48, 49) specifies:

  • n = 0, 48: Turns off 90° clockwise rotation mode.
  • n = 1, 49: Turns on 90° clockwise rotation mode. This command works only in text mode, but the setting is always effective. When underline mode is on, it does not underline 90° clockwise-rotated characters. Double-width and double-height commands in 90° rotation mode enlarge characters in opposite directions compared to normal mode.

Set Printing Area in Page Mode - CODES (HEX/CONTROL): <1B> <57> / {ESC} W xL xH yL yH dxL dxH dyL dyH

This command sets the horizontal starting position (X), vertical starting position (Y), printing area width (Dx), and printing area height (Dy) in page mode. All parameters range from 0 to 255 (except dxL=dxH=0 or dyL=dyH=0).

  • X = [(xL + xH x 256) x (horizontal motion unit)]
  • Y = [(yL + yH x 256) x (vertical motion unit)]
  • Dx = [(dxL + dxH x 256) x (horizontal motion unit)]
  • Dy = [(dyL + dyH x 256) x (vertical motion unit)] This command does not apply in text mode. If the horizontal or vertical starting position is outside the printable area, or if the printing area width or height is set to 0, the printer stops command processing and treats subsequent data as normal data. The printing area is illustrated in a figure.

Set Relative Print Position - CODES (HEX/CONTROL): <1B> <5C> / {ESC} \ nL nH

This command sets the print starting position relative to the current position. The distance is [(nL + nH x 256) x horizontal or vertical motion unit]. 'nL' and 'nH' range from 0 to 255. Any setting exceeding the printable area is ignored. This command sets values independently in text and page modes. When pitch N is specified to the right, N = nL + nH x 256. For movement upward (negative direction), use the complement of 65536. The function depends on the print starting position set by {ESC} T.

Select Justification - CODES (HEX/CONTROL): <1B> <61> / {ESC} a n

This command aligns all data on one line. The parameter 'n' (0-2, 48-50) specifies:

  • n = 0, 48: Left justification.
  • n = 1, 49: Centering.
  • n = 2, 50: Right justification. This command is effective only when processed at the beginning of a line in text mode. In page mode, it only performs internal flag operations and has no direct effect. It executes justification within the printing area. Examples of left, center, and right justification are provided.

Select Paper Sensor(s) to Output Paper End Signals - CODES (HEX/CONTROL): <1B> <63> <33> / {ESC} c 3 n

This command selects which paper sensor(s) output paper end signals. The parameter 'n' (0-255) uses bits to specify:

  • Bit 0 (Off/On Hex 00/0, Decimal 0 or 01/1, Decimal 1): Paper roll near-end sensor disabled or enabled.
  • Bit 1 (Off/On Hex 00/0, Decimal 0 or 02/2, Decimal 2): Paper roll near-end sensor disabled or enabled.
  • Bit 2 (Off/On Hex 00/0, Decimal 0 or 04/4, Decimal 4): Paper out sensor disabled or enabled.
  • Bit 3 (Off/On Hex 00/0, Decimal 0 or 08/8, Decimal 8): Paper out sensor disabled or enabled.
  • Bits 4-7: Undefined. Multiple sensors can be selected; if any detect a paper end, the signal is output. This command is only available with a parallel interface. Sensor switching may be delayed. If bit 0 or 1 is on, the paper roll near-end sensor is selected. If all sensors are disabled, the paper end signal always outputs a paper present status.

Select Paper Sensor(s) to Stop Printing - CODES (HEX/CONTROL): <1B> <63> <34> / {ESC} c 4 n

This command selects which paper sensor(s) stop printing when a paper-end is detected. The parameter 'n' (0-255) uses bits to specify:

  • Bit 0 (Off/On Hex 00/0, Decimal 0 or 01/1, Decimal 1): Paper roll near end sensor disabled or enabled.
  • Bit 1 (Off/On Hex 00/0, Decimal 0 or 02/2, Decimal 2): Paper out sensor disabled or enabled.
  • Bits 2-7: Undefined. When a sensor is enabled, printing stops only if the corresponding paper is selected. If the paper roll sensor detects paper-out, the printer goes off-line. If bit 0 or 1 is on, the paper roll near-end sensor is selected to stop printing.

Enable/Disable Panel Buttons - CODES (HEX/CONTROL): <1B> <63> <35> / {ESC} c 5 n

This command enables or disables the panel buttons. The parameter 'n' (0-255) specifies:

  • n = 0: Panel buttons are enabled.
  • n = 1: Panel buttons are disabled. Only the lowest bit of 'n' is valid. When disabled, panel buttons do not work if the printer cover is closed. In this printer, the panel buttons refer to the FEED button. In macro ready mode, the FEED button works regardless of this setting, but paper cannot be fed using it.

This command prints the data in the print buffer and feeds the paper by 'n' lines. The range for 'n' is 0 to 255. It sets the print starting position to the beginning of the line. Paper feeds according to the line spacing set by {ESC} 2 or {ESC} 3. This command does not affect the line spacing settings.

Generate Pulse - CODES (HEX/CONTROL): <1B> <70> / {ESC} p m t1 t2

This command outputs a pulse. 'm' (0, 1, 48, 49) specifies the connector pin:

  • m = 0, 48: Drawer kick-out connector pin 2.
  • m = 1, 49: Drawer kick-out connector pin 5. 't1' and 't2' (0-255) specify the pulse ON and OFF times. The ON time is [t1 x 2ms], and the OFF time is [t2 x 2ms]. If t2 < t1, the OFF time is [t1 x 2ms].

Select Character Code Table - CODES (HEX/CONTROL): <1B> <74> / {ESC} t n

This command selects a character code table. The parameter 'n' (0-5, 17, 19, 255) selects a page from the character code table:

  • n = 0 (00 Hex): PC437 (U.S.A., Standard Europe)
  • n = 1 (01 Hex): Katakana
  • n = 2 (02 Hex): PC850 (Multilingual)
  • n = 3 (03 Hex): PC860 (Portuguese)
  • n = 4 (04 Hex): PC863 (Canadian-French)
  • n = 5 (05 Hex): PC865 (Nordic)
  • n = 17 (11 Hex): PC 866 (Cyrillic #2)
  • n = 19 (13 Hex): PC858 (EURO)
  • n = 255 (FF Hex): PC869 (Greek) or Thai The selected character code is cleared by {ESC} @, {FS} q, or when the printer is reset or power is turned off.

Turn On/Off Upside-Down Printing Mode - CODES (HEX/CONTROL): <1B> <7B> / {ESC} { n

This command turns upside-down printing mode on or off. The parameter 'n' (0-255) specifies:

  • n = 0: Upside-down printing mode is turned off.
  • n = 1: Upside-down printing mode is turned on. Only the lowest bit of 'n' is valid. This command is effective only when processed at the beginning of a line in text mode. In page mode, it only performs internal flag operations. It does not affect printing in page mode. In upside-down printing mode, the printer rotates the line by 180° and then prints it.

This command prints a non-volatile (NV) bit image. 'n' (1-255) is the number of the NV bit image to print, and 'm' (0-3, 48-51) specifies the mode:

  • m = 0, 48 (Normal): 180 DPI vertical, 180 DPI horizontal.
  • m = 1, 49 (Double-width): 180 DPI vertical, 90 DPI horizontal.
  • m = 2, 50 (Double-height): 90 DPI vertical, 180 DPI horizontal.
  • m = 3, 51 (Quadruple): 90 DPI vertical, 90 DPI horizontal. If 'n' or 'm' are out of range, the command is ignored. An NV bit image is defined in non-volatile memory by {FS} q. This command is not effective if the specified NV bit image has not been defined. In text mode, it is effective only when there is no data in the print buffer. In page mode, it is not effective.

Define NV Bit Image - CODES (HEX/CONTROL): <1C> <71> [ ...]1 ... [ ...]n / {FS} q n [xL xH yL yH d1 ... dk]1 ... [xL xH yL yH d1 ... dk]n

This command defines NV bit images. 'n' (1-255) specifies the number of NV bit images. 'xL', 'xH', 'yL', 'yH' (0-255) define the horizontal and vertical dot dimensions. 'd' (0-255) is the bit-image data.

  • Horizontal dots: [xL + xH x 256] x 8 (max 1023).
  • Vertical dots: [yL + yH x 256] x 8 (max 288).
  • Total data bytes (k): (xL + xH x 256) x (yL + yH x 256) x 8.
  • Total defined data area: 2M bits (256K bytes). This command works only when processed at the beginning of a line in text mode and not in page mode. Frequent redefinition may damage NV memory; it's recommended to write less than 10 times a day. This command cancels all previously defined NV bit images. Examples are provided for defining images.

Select Character Size - CODES (HEX/CONTROL): <1D> <21> / {GS} ! n

This command selects character size. The parameter 'n' (0-255) uses the Low Nibble (bits 0-3) for character height and the High Nibble (bits 4-7) for character width.

  • High Nibble (Width Amplification): 0 (1x normal), 16 (2x double-width), 32 (3x).
  • Low Nibble (Height Amplification): 0 (1x normal), 1 (2x double-height), 2 (3x). If 'n' is outside the defined range, the command is ignored. This command affects all characters except HRI characters. It is not effective on output of commands like {ESC} *, {FS} p, {FS} q, {GS} *, {GS} /. When characters of different sizes are on one line, they are aligned at the baseline.

Set Absolute Vertical Print Position in Page Mode - CODES (HEX/CONTROL): <1D> <24> / {GS} $ nL nH

This command sets the absolute vertical print starting position in page mode. The position is [(nL + nH x 256) x (vertical or horizontal motion unit in inches)]. 'nL' and 'nH' range from 0 to 255. If the position exceeds the printing area, the command is ignored. This command is effective only in page mode. The reference starting position is specified by {ESC} T. Its operation depends on the starting position of the printing area.

Define Downloaded Bit Image - CODES (HEX/CONTROL): <1D> <2A> ... <d(x x y x 8)>/ {FS} & x y d1 ... d(x x y x 8)

This command defines a downloaded bit image. 'x' (1-255) specifies horizontal dots, and 'y' (1-48) specifies vertical dots. The number of dots in the horizontal direction is 'x' x 8, and in the vertical direction is 'y' x 8. If 'x' x 'y' is out of range, the command is disabled, and data is printed normally. 'd' indicates bit-image data (1 for a dot, 0 for no dot). Downloaded bit image definitions are cleared by {ESC} @, {ESC} &, {FS} q, or when the printer is reset or power is turned off. An example is provided.

This command prints a downloaded bit image. 'm' (0-3, 48-51) specifies the print mode:

  • m = 0, 48 (Normal): 180 DPI vertical, 180 DPI horizontal.
  • m = 1, 49 (Double-width): 180 DPI vertical, 90 DPI horizontal.
  • m = 2, 50 (Double-height): 90 DPI vertical, 180 DPI horizontal.
  • m = 3, 51 (Quadruple): 90 DPI vertical, 90 DPI horizontal. This command is ignored if a downloaded bit image has not been defined. In text mode, it is effective only when there is no data in the print buffer. It has no effect on print modes like emphasized, double-strike, underline, character size, or white/black reverse printing, except for upside-down printing mode. If the image exceeds the printable area, the excess data is not printed.

Start/End Macro Definition - CODES (HEX/CONTROL): <1D> <3A> / {GS} :

This command starts or ends a macro definition. It is not effective in page mode. Macro definition starts when this command is received during normal operation and ends when received during macro definition. Settings received during macro definition remain the same after the command. If {GS} ^ is received during macro definition, the definition ends and is cleared. Macros are cleared when printer power is turned off. Defined macro contents are not cleared by {ESC} @. {ESC} @ can be included in macro contents. If {GS} : is received immediately after a previous {GS} :, the printer remains in an undefined macro state.

Turn White/Black Reverse Printing Mode On/Off - CODES (HEX/CONTROL): <1D> <42> / {GS} B n

This command turns white/black reverse printing mode on or off. The parameter 'n' (0-255) specifies:

  • LSB of n = 0: White/black reverse mode is turned off.
  • LSB of n = 1: White/black reverse mode is turned on. Only the lowest bit of 'n' is valid. This command is available for built-in and user-defined characters. When on, it also applies to character spacing set by {ESC} SP. It does not affect bit images, user-defined bit images, bar codes, HRI characters, or spacing skipped by {HT}, {ESC} $, and {ESC} . It does not affect space between lines. White/black reverse mode has higher priority than underline mode; underline is disabled (but not canceled) when reverse mode is selected.

Select Printing Position for HRI Characters - CODES (HEX/CONTROL): <1D> <48> / {GS} H n

This command selects the printing position of Human Readable Interpretation (HRI) characters when printing a bar code. The parameter 'n' (0-3, 48-51) specifies:

  • n = 0, 48: Not printed.
  • n = 1, 49: Above the bar code.
  • n = 2, 50: Below the bar code.
  • n = 3, 51: Both above and below the bar code. HRI characters are printed using the font specified by {GS} f.

Transmit Printer ID - CODES (HEX/CONTROL): <1D> <49> / {GS} I n

This command transmits the printer ID. The parameter 'n' (1-3, 49-51) specifies:

  • n = 1, 49: Printer model ID (PP6000 series, Hex 20).
  • n = 2, 50: Type ID (detailed in a table).
  • n = 3, 51: ROM version ID (depends on ROM version). The Type ID table specifies features like two-byte character code support, auto-cutter equipped, direct connection with customer display, and MICR reader presence. The printer ID is transmitted when data in the receive buffer is processed, so there may be a time lag. When Auto Status Back (ASB) is enabled, this status must be differentiated from ASB status.

Set Left Margin - CODES (HEX/CONTROL): <1D> <4C> / {GS} L nL nH

This command sets the left margin in text mode. The margin is set to [(nL + nH x 256) x horizontal motion unit in inches)]. 'nL' and 'nH' range from 0 to 255. This command is effective only when processed at the beginning of the line in text mode. It does not affect page mode. If the setting exceeds the printable area, the maximum printable area value is used. If the printing area width is extended to accommodate data, but still insufficient, the left margin is reduced.

Set Horizontal and Vertical Motion Units - CODES (HEX/CONTROL): <1D> <50> / {GS} P x y

This command sets the horizontal and vertical motion units. 'x' and 'y' range from 0 to 255. The horizontal direction is perpendicular to the paper feed direction, and the vertical direction is the paper feed direction. In text mode, 'x' or 'y' are used regardless of character rotation. In page mode, 'x' or 'y' are used depending on character orientation set by {ESC} T. This command does not affect previously specified values.

Select Cut Mode and Cut Paper - CODES (HEX/CONTROL): 1. <1D> <56> / {GS} V m 2. <1D> <56> / {GS} V m n

This command selects a mode for cutting paper and executes paper cutting.

  • m = 1, 49: Partial cut (one point left uncut).
  • m = 66: Feeds paper (cutting position + (n x (vertical motion unit)), and cuts partially (one point left (center) uncut). 'n' ranges from 0 to 255. Only partial cut is available; there is no full cut. When n=0, the printer feeds paper to the cutting position and cuts. When n≠0, it feeds paper to [cutting position + (n x vertical motion unit)] and cuts. The printer executes this command upon receiving it.

Set Printing Area Width - CODES (HEX/CONTROL): <1D> <57> / {GS} W nL nH

This command sets the printing area width in text mode. The width is set to [(nL + nH x 256) x horizontal motion unit in inches)]. 'nL' and 'nH' range from 0 to 255. This command is effective only at the beginning of the line and only in text mode. If [left margin + printing area width] exceeds the printable area, [printable area width - left margin] is used. If the width is less than one character, it's extended to accommodate one character. If it cannot be sufficiently extended, the left margin is reduced. For bit image data, the printing area is extended to the full width of the image, or the left margin is reduced if extension is not possible.

Set Relative Vertical Print Position in Page Mode - CODES (HEX/CONTROL): <1D> <5C> / {GS} \ nL nH

This command sets the relative vertical print starting position from the current position in page mode. The distance is [(nL + nH x 256) x vertical or horizontal motion unit in inches)]. 'nL' and 'nH' range from 0 to 255. This command is effective only in page mode. When pitch N is specified for downward movement, N = nL + nH x 256. For upward movement, use the complement of 65536. Any setting exceeding the printing area is ignored. Its function depends on the print starting position set by {ESC} T.

Execute Macro - CODES (HEX/CONTROL): <1D> <5E> / {GS} ^ r t m

This command executes a macro. 'r' (0-255) specifies the number of times to execute, 't' (0-255) specifies the waiting time, and 'm' (0, 1) specifies the execution mode.

  • LSB of m = 0: Macro executes 'r' times continuously at 't' interval.
  • LSB of m = 1: After waiting 't' period, PAPER OUT LED blinks, and the printer waits for the FEED button to be pressed. After pressing, the macro executes once, and the printer repeats 'r' times. The waiting time is 't' x 100 ms per macro execution. If this command is received while a macro is being defined, the definition is aborted and cleared. If the macro is not defined or 'r' is 0, nothing is executed. When m=1, paper cannot be fed using the FEED button.

Enable/Disable Automatic Status Back (ASB) - CODES (HEX/CONTROL): <1D> <61> / {GS} a n

This command enables or disables Automatic Status Back. The parameter 'n' (0-255) specifies status items:

  • Bit 0 (Off/On Hex 00/0, Decimal 0 or 01/1, Decimal 1): Drawer kick-out connector pin 3 status disabled or enabled.
  • Bit 1 (Off/On Hex 00/0, Decimal 0 or 02/2, Decimal 2): On-line/off-line status disabled or enabled.
  • Bit 2 (Off/On Hex 00/0, Decimal 0 or 04/4, Decimal 4): Error status disabled or enabled.
  • Bit 3 (Off/On Hex 00/0, Decimal 0 or 08/8, Decimal 8): Paper roll sensor status disabled or enabled.
  • Bits 4-7: Undefined. The printer transmits status when this command is executed. If any enabled item's status changes, the printer automatically transmits the new status. If all items are disabled, ASB is disabled. If ASB is enabled by default, status is transmitted when data reception/transmission is first possible after power-on. There may be a time lag between data reception and status transmission. The document provides detailed tables for the first, second, third, and fourth bytes of printer information transmitted via ASB.

Turns Smoothing Mode On/Off - CODES (HEX/CONTROL): <1D> <62> / {GS} b n

This command turns smoothing mode on or off. The parameter 'n' (0-255) specifies:

  • LSB of n = 0: Smoothing mode is turned off.
  • LSB of n = 1: Smoothing mode is turned on. Only the lowest bit of 'n' is valid. Smoothing mode is available for built-in and user-defined characters. It is not performed if character width or height is normal size.

Select Font for Human Readable Interpretation (HRI) Characters - CODES (HEX/CONTROL): <1D> <66> / {GS} f n

This command selects the font for HRI characters when printing a bar code. The parameter 'n' (0, 1, 48, 49) specifies:

  • n = 0, 48: Font A (12x24).
  • n = 1, 49: Font B (8x16). HRI characters are printed at the position specified by {GS} H. This command cannot be effectively set by {ESC} M.

Select Bar Code Height - CODES (HEX/CONTROL): <1D> <68> / {GS} h n

This command selects the height of the bar code. The parameter 'n' (1-255) specifies the number of dots in the vertical direction. The {GS}! command does not affect bar code height.

This command prints a bar code. 'm' (0-6, 65-73) specifies the bar code system, and 'd' or 'n' specifies the data. The range for 'k' and 'd' depends on the bar code system.

  • Group 1 (m=0-6): UPC-A, UPC-E, JAN13 (EAN13), JAN8 (EAN8), CODE39, ITF, CODABAR.
  • Group 2 (m=65-73): UPC-A, UPC-E, JAN13 (EAN13), JAN8 (EAN8), CODE39, ITF, CODEABAR, CODE93, CODE128. If 'n' or 'k' are out of range, the command is ignored, and data is processed normally. If 'd' is out of range, the printer feeds paper and processes data normally. Commands like {ESC}-, {ESC} 2, {ESC} 3, {ESC} E, {ESC} G, {ESC} M, {ESC} V, {GS}!, {GS} B become ineffective. If bar code width exceeds the printing area, the command is ignored. After printing, the print position is set to the beginning of the next line. In page mode, this command develops bar code data in the print buffer but does not print it immediately, moving the print position to the right side dot. The document provides detailed tables for each bar code system, including number of data bytes and acceptable values for 'd's. Special notes for CODE93 and CODE128 are included, detailing HRI characters, control characters, and code set selection.

Transmit Status - CODES (HEX/CONTROL): <1D> <72> / {GS} r n

This command transmits the printer status. The parameter 'n' (1, 2, 49, 50) specifies:

  • n = 1, 49: Transmits paper sensor status.
  • n = 2, 50: Transmits drawer kick-out connector status. When using a serial interface with DTR/DSR control, the printer transmits 1 byte after confirming the host is ready. With XON/XOFF control, it transmits 1 byte without confirming DSR. This command is executed when data in the receive buffer is developed, so there may be a time lag. The document provides tables for paper sensor status and drawer kick-out connector status.

This command selects and prints a raster bit image. 'm' (0-3, 48-51) specifies the mode:

  • m = 0, 48 (Normal): 180 DPI vertical, 180 DPI horizontal.
  • m = 1, 49 (Double-width): 180 DPI vertical, 90 DPI horizontal.
  • m = 2, 50 (Double-height): 90 DPI vertical, 180 DPI horizontal.
  • m = 3, 51 (Quadruple): 90 DPI vertical, 90 DPI horizontal. 'xL', 'xH', 'yL', 'yH' (0-255) define the number of data bytes in horizontal and vertical directions. 'd' (0-255) is the bit-image data. 'k' is (xL + xH x 256) x (yL + yH x 256). This command is effective only when there is no data in the print buffer in text mode. Data outside the printing area is discarded. It has no effect on other print modes. If the printing area width is less than required, it's extended.

Set Bar Code Width - CODES (HEX/CONTROL): <1D> <77> / {GS} w n

This command sets the horizontal size of the bar code. The parameter 'n' (2-6) specifies the module width in mm for multi-level bar codes, including thin and thick element widths.

  • n = 2: Thin 0.251mm, Thick 0.628mm.
  • n = 3: Thin 0.376mm, Thick 1.004mm.
  • n = 4: Thin 0.501mm, Thick 1.411mm.
  • n = 5: Thin 0.628mm, Thick 1.630mm.
  • n = 6: Thin 0.752mm, Thick 2.007mm. Multi-level bar codes include UPC-A, UPC-E, JAN13 (EAN13), JAN8 (EAN8), CODE93, CODE128. Binary-level bar codes include CODE39, ITF, CODABAR.

APPENDIX: CODE 128 BAR CODE

This section describes the CODE 128 bar code system, which can represent 128 ASCII characters and 2-digit numerals using 103 bar code characters and 3 code sets (A, B, C).

  • Code set A: ASCII 00h to 5Fh.
  • Code set B: ASCII 20h to 7Fh.
  • Code set C: 2-digit numeral characters (00-99). SHIFT characters allow temporary switching between code sets A and B. Code set selection characters (CODE A, CODE B, CODE C) switch the active code set. Function characters (FNC1, FNC2, FNC3, FNC4) depend on application software; only FNC1 is available in code set C. When using CODE 128, the data string must start with a code set selection character. Special characters are defined by combining "{" with another character; "{" itself is transmitted twice. If the data string does not start with a code set selection character, or if a "{" combination is not a special character, the printer stops command processing. Characters not usable in the specific code set are also processed as normal data. The printer does not print HRI characters corresponding to function/shift/control characters or code set selection characters. Code tables for sets A, B, and C are provided, showing character, Hex, and Decimal values.

POSIFLEX PP6800 Specifications

General IconGeneral
BrandPOSIFLEX
ModelPP6800
CategoryPrinter
LanguageEnglish

Related product manuals