PRINTER PRESENTER UNIT Command Reference Model: PPU-700/700II Revision: 1.
REVISION Rev No. Date Comment 0.00 2004/01/14 Newly issued 1.00 2005/03/4 “GS g 0”, “GS g 2”, “FS g 3”, “FS g 4”, “GS ( K (fn = 200 ~ 208)”, “GS ( E (fn = 5:200 ~ 211, 240/fn = 6: 200 ~ 211)”, “GS I (n = 250, 251)”were deleted 1.02 2005/04/25 Change of code pages 1.03 2006/10/26 Add 4.5 Black Mark Layout and Operating Condition 1.10 2010/02/03 PPU700II is added. CITIZEN is a registered trade mark of CITIZEN WATCH CO., LTD., Japan. CITIZEN es una marca registrada de CITIZEN WATCH CO., LTD.
TABLE OF CONTENTS REVISION ............................................................................................................2 TABLE OF CONTENTS ...........................................................................................1 1. OUTLINE ..........................................................................................................6 1.1 Operation Mode .......................................................................................................6 1.2 Character Set....
GS L nL nH.......................................................................................................................... 43 GS T n ................................................................................................................................. 44 GS W nL nH ........................................................................................................................ 45 GS \ nL nH ..........................................................................................
GS ( E pL pH fn […] ............................................................................................................92 fn = 1: Function 1 Transferring to Printer Function Setting Mode ..................................93 fn = 2: Function 2 End of Printer Function Setting Mode ................................................93 fn = 3: Function 3 Setting Memory Switch Value.............................................................94 fn = 4: Function 4 Sending the Set Memory Switch Value .......
fn=81: Function 181 Printing 2-dimensional code data in 2-dimensional code data storage area..................................................................................................................... 130 fn=82: Function 182 Sending the size of 2-dimensional code data in 2-dimensional code data storage area.................................................................................................... 131 2.2.15 Special Commands ..................................................................
3.1.6 Code page 00H to 7FH & PC865 (Nordic) ...........................................................164 3.1.7 Code page 00H to 7FH & PC852 (Eastern Europe)..............................................165 3.1.8 Code page 00H to 7FH & PC866 (Russian) .........................................................166 3.1.9 Code page 00H to 7FH & PC857(Turkish) ...........................................................167 3.1.10 Code page 00H to 7FH & PC864 (Arabic)...............................................
1. OUTLINE 1.1 Operation Mode PPU-700 has ESC/POSTM as control commands. 1.2 Character Set All print data sent from the host computer to the printer are automatically converted to one-byte alphanumeric or katakana characters (ANK) or two-byte Kanji corresponding to the characters and symbols. NOTE: For the contents of character set, refer to “3. Character Code Table” of this document. 1.3 Control Commands 1.3.
2. CONTROL COMMANDS 2.
○Print Position Commands Command Function HT Horizontal tab ESC $ Specifying the absolute positions ESC D Setting horizontal tab position Selecting the character printing direction in PAGE ESC T MODE ESC W Defining the print area in PAGE MODE ESC \ Specifying the relative position ESC a Aligning the characters Specifying the absolute vertical position of GS $ characters in PAGE MODE GS L Setting the left margin GS T Moving print position to top of the line GS W Setting the print area width Specifying the re
○Cutter Commands Command Function ESC i Full cutting of paper ESC m Full cutting of paper GS V Cutting the paper ○Bar Code Commands Command Function GS H Selecting of printing position of HRI characters GS f Selecting the font of HRI characters GS h Specifying the height of the bar code GS k Printing the bar code Specifying the horizontal size (magnification) of bar GS w code MODE S S S・P GS P MODE S・P S・P S・P S・P GS P ○ S・P Page 69 70 71 Page 72 73 74 75 81 ○Commands for Non-volatile Memory Comman
○Other Commands Command Function DLE ENQ Real-time request to printer DLE DC4 Buffer clear ESC = Data input control ESC @ Initializing the printer ESC L Selecting PAGE MODE ESC S Selecting STANDARD MODE ESC RS Sound buzzer GS ( A Execution of test printing GS I Sending the printer ID GS P Specifying the basic calculation pitch GS ( L Specifying graphics data GS 8 L GS C 0 Setting counter print mode GS C 1 Setting counter mode (A) GS C 2 Setting counter value GS C ; Setting counter mode (B) GS c Print the co
2.1.1 Description of Items XXXX [Function] The name of a command. [Code] The string of codes comprising the command is represented by < >H for hexadecimal numbers, < >B for binary numbers, and < > for decimal numbers, [ ] k denotes the number of repetition of “k” times. [Range] Indicates the values (setting range) of arguments of the command.
2.2 Command Details 2.2.1 Print Control Commands LF [Function] Printing and paper feed [Code] <0A>H [Outline] Prints data inside the print buffer and feeds paper based on the line feed amount having been set. [Caution] After this command is executed, the beginning of the line is taken as the start position for the next point.
FF [Function] (1) Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2) Printing of Black mark and paper feeding to the top of the print position (with Black mark paper selected) [Code] <0C>H (1) At selection of PAGE MODE [Outline] Executes a batch printout of the data mapped in the entire print area, and then returns to STANDARD MODE. [Caution] • All mapped data is erased after printout. • The print area set up by ESC W is initialized.
ESC FF [Function] Printing data in PAGE MODE [Code] <1B>H<0C>H [Outline] Executes a batch printout of the data mapped in the entire print area in PAGE MODE. [Caution] • This command is only effective when PAGE MODE is selected. • Mapped data, as well as the ESC T and ESC W settings, and the character mapping position are held even after printing. [See Also] Appendix 4.
ESC J n [Function] Printing and feeding paper in minimum pitch [Code] <1B>H<4A>H<n> [Range] 0≦n≦255 [Outline] Prints the data held in the print buffer and feeds paper by [n ・basic calculation pitch] inches. [Caution] • After this command is executed, the beginning of the line is taken as the start position for the next print. • The line feed width can be set separately for the STANDARD and PAGE MODES. • This command does not affect the line feed width defined by ESC 2 or ESC 3.
ESC d n [Function] Printing and feeding the paper by “n” lines [Code] <1B>H<64>H [Range] 0≦n≦255 [Outline] Prints data in the print buffer and feeds paper by “n” lines. Specified lines do not remain. [Caution] • After this command is executed, the beginning of the line is taken as the start position for the next print. • If [n×line feed width] exceeds approximately 1016 mm, this command feeds paper by approximately 1016 mm (40 inches). [Default] The initial value is not defined.
2.2.2 Print Character Commands CAN [Function] Canceling print data in PAGE MODE [Code] <18>H [Outline] Erases all data contained in the currently effective print area in PAGE MODE. [Caution] • This command is only effective when PAGE MODE is selected. • If the previously established print area overlaps the currently effective print area, the overlapped data in the previously established area will be erased. [See Also] Appendix 4.
ESC SP n [Function] Setting the right spacing of the character [Code] <1B>H<20>H<n> [Range] 0≦n≦255 [Outline] Sets the right spacing of character to [n×basic calculation pitch] inches. [Caution] • If the horizontal magnification of character is 2 or more, the right spacing increases with the magnification. • Does not affect Kanji. • The right spacing can be set separately for the STANDARD and PAGE MODES. • The basic calculation pitch is set by GS P.
ESC ! n [Function] Collectively specifying the printing mode [Code] <1B>H<21>H [Range] 0≦n≦255 [Outline] Printing mode is assigned.
[Sample Program] LPRINT CHR$(&H1B);"!";CHR$(&H00);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H01);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H08);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H10);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H20);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H80);"H"; LPRINT CHR$(&H1B);"!";CHR$(&HB9);"H"; LPRINT CHR$(&HA); [Print Results] Font B + Emphasis + Quadruple + Underline Font Font Font Font Font Font A A A A B A + + + + Underline Double width Double height Emphasis - 20 -
ESC % n [Function] Specifying/canceling download character set [Code] <1B>H<25>H [Range] 0≦n≦255 [Outline] Specifying/canceling download characters. • “n” is valid only for the lowest bit (n0).
ESC & s n m [a [p] s×a] m-n+1 [Function] Defining the download characters [Code] <1B>H<26>HHHH[HH…]m-n+1 [Range] s=3(FontA, B) s=2(FontC) 32≦n≦m≦126 0≦a≦12(FontA), 0≦a≦9 (FontB), 0≦a≦8 (FontC) 0≦p1…ps×a≦255 [Outline] Defines the font of download characters of alphanumeric characters. • “s” indicates the number of bytes in vertical direction. “n” indicates the start character code and “m” the end character code. To define only one character, set n = m.
ESC – n [Function] Specifying/canceling underline [Code] <1B>H<2D>H [Range] 0≦n≦2, 48≦n≦50 [Outline] Specifying/canceling an underline. n 0,48 1,49 2,50 Function Canceling underline Setting 1-dot width underline Setting 2-dot width underline [Caution] • An underline is attached to the full character width. It is, however, not attached to the part having been skipped by horizontal tab (HT) command. • An underline is not attached to 90°-right-turned characters and white-on-black character.
ESC ? n [Function] Deleting download characters [Code] <1B>H<3F>H [Range] 32≦n≦126 [Outline] Deletes the downloaded characters of specified code. [Caution] • The character “n” indicates the character code used to delete the defined pattern. After the deletion, characters are printed in the same pattern as the internal characters. • This command deletes the code-defined pattern of the character font selected by ESC !. • This command is ignored if the specified character code is undefined.
ESC E n [Function] Specifying/canceling emphasis printing [Code] <1B>H<45>H [Range] 0≦n≦255 [Outline] Specifying/canceling the emphasized characters. • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 0 1 Function Canceling emphasis printing Specifying emphasis printing [Caution] • Emphasis printing can also be specified/canceled by ESC ! but the setting of command last processed is valid. • Valid for all character types except HRI characters.
ESC G n [Function] Specifying/canceling double strike printing [Code] <1B>H<47>H [Range] 0≦n≦255 [Outline] Specifying/canceling the double strike printing. • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 0 1 Function Canceling double strike printing Specifying double strike printing [Caution] • With this printer, double-strike printing and emphasis printing provide completely the same results.
ESC M n [Function] Selection of character fonts [Code] <1B>H<4D>H [Range] 0≦n≦2, 48≦n≦50 [Outline] Selects character fonts. n 0,48 1,49 2,50 Function Selection of font A(12×24) Selection of font B(9×24) Selection of font C(8×16) [Caution] ESC ! can also select fonts, but the setting made by the command that has last been processed becomes valid.
ESC V n [Function] Specifying/canceling 90°-right-turned characters [Code] <1B>H<56>H [Range] 0≦n≦2, 48≦n≦50 [Outline] Specifying/canceling 90°-right-turned characters. n 0,48 1,49 2,50 Function Canceling 90°-right-turned characters Specifying 90°-right-turned characters [Caution] • No underlines are attached to 90°-right-turned characters. • This command does not affect PAGE MODE but setting is maintained.
ESC t n [Function] Selecting the character code table [Code] <1B>H<74>H [Range] 0≦n≦9, 16≦n≦19, n=26, 40, 255 [Outline] Selecting the character code table. The character code table is selected based on the value of “n”. n 0 1 2 3 4 5 6,18 Character Code Table Code page PC437 Katakana Code page PC850 Code page PC860 Code page PC863 Code page PC865 Code page PC852 [Default] n = 0 (Overseas), n = 1 (Domestic) [See Also] 3.
ESC { n [Function] Specifying/canceling the inverted characters [Code] <1B>H<7B>H [Range] 0≦n≦255 [Outline] Specifying/canceling inverted characters. • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 0 1 Condition Canceling inverted characters. Specifying inverted characters. [Caution] • This command is valid only when it is specified at the beginning of a line. • This command does not affect the PAGE MODE.
GS ! n [Function] Specifying the character size [Code] <1D>H<21>H [Range] 0≦n≦255 where: 1≦vertical magnification≦8, 1≦horizontal magnification≦8 [Outline] Specifies the character size (Vertical and horizontal magnification). Bit 0 1 2 3 4 5 6 7 Function Hex. Number Value Decimal Number Vertical magnification specification Refer to Table 2, “Vertical Magnification”. Horizontal magnification specification Refer to Table 1, “Horizontal Magnification”. Table 1 Horizontal Magnification Hex.
GS B n [Function] Specifying/canceling the black/white inverted printing [Code] <1D>H<42>H [Range] 0≦n≦255 [Outline] This command specifies or cancels the black/white inverted printing. • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 0 1 Function The black/white inverted printing is canceled. The black/white inverted printing is specified. [Caution] • The black/white inversion works on internal and downloaded characters.
GS b n [Function] Specifying/canceling the smoothing [Code] <1D>H<62>H [Range] 0≦n≦255 [Outline] This command specifies or cancels the smoothing. • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 0 1 Function The smoothing is canceled. The smoothing is specified. [Caution] • Smoothing is effective to printer’s internal characters, download characters, and non-standard characters.
2.2.3 Print Position Commands HT [Function] Horizontal tab [Code] <09>H [Outline] Shifts the printing position to the next horizontal tab position. • Ignored when the next horizontal tab position has not been set. [Caution] The horizontal tab position is set by ESC D. [Default] At the selection of font A, tabs are set every 8 characters (at 9th, 17th, 25th, ...) with right space amount of a character set at 0 and horizontal enlargement rate of a character set at 1.
ESC $ n1 n2 [Function] Specifying the absolute positions [Code] <1B>H<24>H [Range] 0≦n1≦255 0≦n2≦255 [Outline] The printing start position is specified by the absolute position from the left margin with the number of dots divided by 256 and quatient specified as “n2” and remainder as “n1”. Therefore, the printing start position is designated as [(n1+n2×256)×basic calculation pitch] from the left margin. [Caution] • The basic calculation pitch is set by GS P.
ESC D [n]k NULL [Function] Setting horizontal tab position [Code] <1B>H<44>H [] k <00>H [Range] 1≦n≦255 0≦k≦32 [Outline] Specifying a horizontal tab position. • “n” indicates the number of columns from the beginning to the horizontal tab position. Note, however, that “n = set position – 1”. For example, to set the position at 9th column, n = 8 is to be specified. • “k” denotes the number of horizontal tab positions you want to set.
ESC T n Selecting the character printing direction in PAGE MODE [Code] <1B>H<54>H [Range] 0≦n≦3, 48≦n≦51 0,48 Left to right 1,49 Bottom to top 2,50 Right to left 3,51 Top to bottom Start Point Top left (“A” in the figure) Bottom left (“B” in the figure) Bottom right (“C” in the figure) Top right (“D” in the figure)) A B Printing Direction Paper feed direction n D [Function] [Outline] Selects the direction and start point of character printing in PAGE MODE.
ESC W xL xH yL yH dxL dxH dyL dyH [Function] Defining the print area in PAGE MODE [Code] <1B>H<57>H [Range] 0≦xL, xH, yL, yH, dxL, dxH, dyL, dyH ≦255 except for dxL=dxH=0 or dyL=dyH=0 [Outline] Defines the location and size of the print area.
Paper (X, Y) Dx Print Area (X+Dx-1, Y+Dy-1) Paper feed direction Dy The printable area for this printer is approximately 80.078 mm (640/203 inches) horizontally and 117 mm (938/203 inches) vertically. [Default] xL=xH=yL=yH=0, dxL=64, dxH=2, dyL=126, dyH=6 [See Also] Appendix 4.
ESC \ nL nH [Function] Specifying the relative position [Code] <1B>H<5C>H [Range] 0≦nL≦255 0≦nH≦255 [Outline] This command specifies the next print start position in a relative position with respect to the current position. The next print start position will be at a point of [(nL+nH×256) ×basic calculation pitch] inches away from the current position. [Caution] • Specification of a position outside the print area is ignored.
ESC a n [Function] Aligning the characters [Code] <1B>H<61>H [Range] 0≦n≦2, 48≦n≦50 [Outline] All the printed data within one line are aligned in the specified position. Depending on the value “n”, positional alignment is carried out as shown in the table below: n 0,48 1,49 2,50 Position Left end alignment Centering Right end alignment [Caution] • This command is valid only when it is inputted at the beginning of a line. • This command does not affect the PAGE MODE.
GS $ nL nH [Function] Specifying the absolute vertical position of characters in PAGE MODE [Code] <1D>H<24>H [Range] 0≦nL≦255, 0≦nH≦255 [Outline] Specifies the vertical position of character at the start point of data development in PAGE MODE using absolute position based on the start position. The position of vertical direction of character at the start position of next data development is the position [(nL + nH×256)×basic calculation pitch] from the start position.
GS L nL nH [Function] Setting the left margin [Code] <1D>H<4C>H [Range] 0≦nL≦255, 0≦nH≦255 [Outline] This command sets the left margin specified by nL and nH. The value of the left margin is [(nL+nH×256)×basic calculation pitch] inches. Printable area Left margin Print area width [Caution] • This command only works when it is entered at the beginning of a line. • When PAGE MODE is selected, this command only executes the internal flagging of the printer.
GS T n [Function] Moving print position to top of the line [Code] <1D>H<54>H [Range] n=0, 1, 48, 49 [Outline] Moves print position to top of the line. • “n” specifies data processing in print buffer at the execution of this command. n 0,48 1,49 Function Moves print position after erasing the data in print buffer. Moves print position after printing the data in print buffer.
GS W nL nH [Function] Setting the print area width [Code] <1D>H<57>H [Range] 0≦nL≦255 0≦nH≦255 [Outline] Sets the print area width specified by nL and nH. • The print area width will be [(nL+nH×256)×basic calculation pitch] inches. Printable area Left margin [Caution] Print area width • This command only works when it is entered at the beginning of a line. • When PAGE MODE is selected, this command only executes the internal flagging of the printer.
(2) If a sufficient area cannot be provided as a result of step (1), the print area is extended toward the left (so, the left margin is decreased). Printable area A (1) Extended Left margin toward the right (2) The left margin is trimmed Print area width (3) If a sufficient area cannot be provided as a result of step (2), the right spacing is trimmed.
GS \ nL nH [Function] Specifying the relative vertical position of a character in PAGE MODE [Code] <1D>H<5C>H [Range] 0≦nL≦255, 0≦nH≦255 [Outline] This command is used in PAGE MODE to specify the vertical position of a character in the data mapping start position, in a relative position with respect to the current position. The next data mapping start position will be at a point [(nL+nH×256)×basic calculation pitch] inches away from the current position.
2.2.4 Line Feed Span Commands ESC 2 [Function] Specifying 1/6-inch line feed rate [Code] <1B>H<32>H [Outline] The line feed rate per line is specified by 1/6 inch. [Caution] Line feed rate can be specified respectively for both STANDARD MODE and PAGE MODE.
ESC 3 n [Function] Setting line feed rate of minimum pitch [Code] <1B>H<33>H [Range] 0≦n≦255 [Outline] Sets the line feed width per line to [n ・basic calculation pitch] inches. [Caution] • The line feed width can be set separately for the STANDARD and PAGE MODES. • The basic calculation pitch is set by GS P. Once defined, the line feed width is not changed if the basic calculation pitch is changed by GS P.
2.2.5 Bit Image Commands ESC * m n1 n2 [d]k [Function] Specifying the bit image mode [Code] <1B>H<2A>HH[] k [Range] m=0, 1, 32, 33 0≦n1≦255 0≦n2≦2 0≦d≦255 k=n1+256×n2(m=0, 1) k=(n1+256×n2)×3(m=32, 33) [Outline] • According to the number of dots specified in “n1”, “n2”, specify the bit image of mode “m”. • The number of dots printed is divided by 256, whose quotient is taken as “n2” and residual as “n1”.
[Sample Program] LPRINT CHR$(&H1B);"*"; LPRINT CHR$(0);CHR$(20);CHR$(0); GOSUB IMG1 LPRINT CHR$(&HA); LPRINT CHR$(&H1B);"*"; LPRINT CHR$(1);CHR$(20);CHR$(0); GOSUB IMG1 LPRINT CHR$(&HA); LPRINT CHR$(&H1B);"*"; LPRINT CHR$(32);CHR$(20);CHR$(0); GOSUB IMG2 LPRINT CHR$(&HA); LPRINT CHR$(&H1B);"*"; LPRINT CHR$(33);CHR$(20);CHR$(0); GOSUB IMG2 LPRINT CHR$(&HA); END IMG1: LPRINT CHR$(&HFF); FOR I=1 TO 18 LPRINT CHR$(&H85); NEXT I LPRINT CHR$(&HFF); RETURN IMG2: LPRINT CHR$(&HFF); LPRINT CHR$(&HFF); LPRINT CHR$(&
GS * n1 n2 [d] n1×n2×8 [Function] Defining the download bit image [Code] <1D>H<2A>H[] n1×n2×8 [Range] 1≦n1≦255 1≦n2≦48 n1×n2≦1536 [Outline] • Defines download bit images of the number of dots specified by “n1” and “n2”. • The numbers of dots are “n1×8” in horizontal direction and “n2 ・8” in vertical direction. • ”d” indicates bit image data. • Once defined, the download bit image remains effective until it is redefined, ESC @, ESC &, GS ( A, or FS q, is executed, or power is turned OFF.
[Sample Program] GOSUB IMG LPRINT CHR$(&H1D);"/"; CHR$(0); LPRINT CHR$(&H1D);"/"; CHR$(1); LPRINT CHR$(&H1D);"/"; CHR$(2); LPRINT CHR$(&H1D);"/"; CHR$(3); END IMG: n1=10:n2=5 LPRINT CHR$(&H1D);"*"; LPRINT CHR$(n1); CHR$(n2); FOR J=1 TO n1*8 FOR I=1 TO n2 LPRINT CHR$(J); NEXT I NEXT J RETURN [Print Results] GS / m [Function] Printing the downloaded bit image [Code] <1D>H<2F>H [Range] 0≦m≦3, 48≦m≦51 [Outline] Prints downloaded bit image in a mode specified by “m”.
GS v 0 m xL xH yL yH d1...dk [Function] Printing of raster bit image [Code] <1D>H<76>H<30>H [] k [Range] 0≦m≦3, 48≦m≦51, 0≦xL≦255, 0≦xH≦255, 0≦yL≦255, 0≦yH≦8, 0≦d≦255, k=(xL+xH×256)×(yL+yH×256) however, k≠0 [Outline] Prints raster bit images in mode “m”. • xL, xH specify the number of data in horizontal direction of the bit image to (xL+xH×256) bytes. • yL, yH specify the number of data in vertical direction of the bit image to (yL+yH×256) bytes.
( xL+xH×256 )×8dots=512dots 1 2 3 62 63 64 65 67 68 126 127 128 K-2 K-1 K 7 MSB 6 5 4 3 2 1 0 LSB - 55 - yL+yH×256dots
2.2.6 Status Commands DLE EOT n [Function] Sending status in real-time [Code] <10>H<04>H [Range] 1≦n≦6 [Outline] Sends in real-time the status specified by “n”. n 1 2 3 4 5 6 [Caution] Status Printer status Status caused by an offline condition Status caused by an error Continuous paper sensor Error details 1 Error details 2 • Each status represents the current status. It is 1 byte data. • The status is transferred without checking whether the host is ready to receive or busy.
(1) Printer status (When n = 1 is specified) Bit Status 0 Fixed 1 Fixed 2 Fixed Online status 3 Offline status 4 Fixed Not waiting online recovery 5 Waiting online recovery FEED switch is not pressed 6 FEED switch is pressed 7 Fixed Hex. 00 02 00 00 08 10 00 20 00 40 00 Decimal 0 2 0 0 8 16 0 32 0 64 0 (2) Status caused by an offline condition (When n = 2 is specified) Bit Status Hex.
[See Also] (4) Continuous paper sensor (When n = 4 is specified) Bit Status 0 Fixed 1 Fixed Paper found by Paper Near-end 1 Sensor 2 Paper not found by Paper Near-end 1 Sensor Paper found by Paper Near-end 2 Sensor 3 Paper not found by Paper Near-end 2 Sensor 4 Fixed Paper found by Paper-end Sensor 5 Paper not found by Paper-end Sensor Paper not found by Presenter Sensor 6 Paper found by Presenter Sensor 7 Fixed Hex.
ESC v (At Serial I/F Selection) [Function] Sending printer status [Code] <1B>H<76>H [Outline] Sends the current status of the printer. [Caution] • The status to be sent is one byte and the content is shown in the following table. • With DTR/DSR control, after confirming that the host is ready for reception (DSR signal is space), only one byte is transmitted. With XON/XOFF control, only one byte is transmitted without confirmation of DSR signal state.
GS a n [Function] Enabling/disabling ASB (Automatic Status Back) [Code] <1D>H<61>H [Range] 0≦n≦255 [Outline] This command selects the status item to be addressed by ASB (Automatic Status Back.) Bit 0 1 2 3 4 5 6 7 [Caution] Status Item Addressed by ASB Undefined Online/offline status = Disabled Online/offline status = Enabled Error status = Disabled Error status = Enabled Continuous Paper Sensor = Disabled Continuous Paper Sensor = Enabled Undefined Undefined Undefined Undefined Hex.
(1) 1st byte (Printer information) Bit Status 0 Unused 1 Unused 2 Unused Online status 3 Offline status 4 Unused Cover closed 5 Cover open Not in paper feed state triggered by FEED switch 6 In paper feed state triggered by FEED switch 7 Unused (2) 2nd byte (Error occurrence information) Bit Status 0 Undefined 1 Undefined No B.M detection error occurred (only when B.M paper is selected) 2 A B.M detection error occurred (only when B.
(4) 4th Bit 0 1 2 3 4 5 6 7 byte (Paper Sensor information) Status Reserved Reserved Reserved Reserved Fixed Reserved Reserved Fixed [Default] When memory switch 1-3 is OFF: n = 0 When memory switch 1-3 is ON: n = 2 [See Also] DLE EOT, GS r - 62 - Hex.
GS r n [Function] Sending status [Code] <1D>H<72>H [Range] n=1, 49 [Outline] Sends the specified status to the host. n 1,49 [Caution] Function Sends the Paper Sensor status. • When the serial interface is used: For DTR/DSR control: The printer sends the status after verifying that the host is ready to receive. If the host is not ready to receive, the printer waits for the host to become ready to receive.
2.2.7 Paper Detecting Commands ESC c 3 n [Function] Selecting the Paper Sensor valid for a Paper-end signal output [Code] <1B>H<63>H<33>H [Range] 0≦n≦255 [Outline] This command selects by which Paper Sensor a Paper-end signal should be output. Each bit for “n” has the following meaning: Bit 0 1 2 3 4 5 6 7 Position Paper Near-end 1 Paper Near-end 2 Paper-end Paper-end Undefined Undefined Undefined Undefined [Caution] This command is valid only for the parallel interface.
ESC c 4 n [Function] Selecting the Paper Near-end Sensor valid for print stop [Code] <1B>H<63>H<34>H [Range] 0≦n≦255 [Outline] This command selects the Paper Near-end Sensor which helps to stop printing when the paper supply almost runs out.
2.2.8 Panel Switch Commands ESC c 5 n [Function] Enabling/disabling the panel switches [Code] <1B>H<63>H<35>H [Range] 0≦n≦255 [Outline] Enabling/disabling the FEED switch. • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 0 1 Condition FEED switch valid FEED switch invalid [Caution] • When the FEED switch is disabled with this command, the paper cannot be fed by operating the FEED switch.
2.2.9 Macro Commands GS : [Function] Starting/ending macro definition [Code] <1D>H<3A>H [Outline] Specifying starting/ending macro definition. Reception of this command during macro definition signifies ending the macro definition. [Caution] • Maximum content available for macro definition is 2048 bytes. A portion exceeding 2048 bytes is not defined. • When GS ^ is processed in macro definition, the macro definition is stopped and the content of definition is cleared.
GS ^ n1 n2 n3 [Function] Executing the macro [Code] <1D>H<5E>H [Range] 0≦n1≦255 0≦n2≦255 0≦n3≦1 [Outline] Executing contents defined in macro. n1 : The number of times of macro execution n2 : Waiting time on macro execution. Waiting time of n2×100 msec is given for every execution. n3 : Macro execution mode n3 = 0 Continuous execution: The Macro is executed “n1” times continuously at the time interval specified by “n2”.
2.2.10 Cutter Commands ESC i [Function] Full cutting of paper [Code] <1B>H<69>H [Outline] Executes full cutting of paper. [Caution] • This command only works it is entered at the beginning of a line. • Before cutting paper, feed the paper more than the cutting position of paper from the print position. Without this paper feeding, the character just after printing remains before the cutter.
ESC m [Function] Full cutting of paper [Code] <1B>H<6D>H [Outline] Executes full cutting of paper. [Caution] • This command only works it is entered at the beginning of a line. • Before cutting paper, feed the paper more than the cutting position of paper from the print position. Without this paper feeding, the character just after printing remains before the cutter.
GS V m … (1) GS V m n … (2) [Function] Cutting the paper [Code] (1)<1D>H<56>H (2)<1D>H<56>H [Range] (1)0≦m≦1, 48≦m≦49 (2)65≦m≦66 [Outline] Performs the specified paper cutting. m 0,48 1,49 65 66 [Caution] Function Full cut Full cut Paper feed by “cut position + basic calculation pitch” and full cut Paper feed by “cut position + basic calculation pitch” and full cut • In STANDARD MODE, this command only works when it is entered at the beginning of a line.
2.2.11 Bar Code Commands GS H n [Function] Selecting of printing position of HRI characters [Code] <1D>H<48>H [Range] 0≦n≦3, 48≦n≦51 [Outline] Selecting printing position of HRI characters in printing bar codes. “n” means the followings. n 0,48 1,49 2,50 3,51 Printing Position No printing Above the bar code Below the bar code Both above and below the bar code The HRI characters refer to the bar code-turned characters so that you can read them.
GS f n [Function] Selecting the font of HRI characters [Code] <1D>H<66>H [Range] 0≦n≦2, 48≦n≦50 [Outline] Selecting the font of HRI characters in printing bar code. The type of font can be selected with “n” as follows: n 0,48 1,49 2,50 Font FontA(12×24) FontB(9×24) FontC(8×16) The HRI characters refer to the bar code-turned characters so that you can read them. [Caution] The HRI characters are printed at the position specified with GS H.
GS h n [Function] Specifying the height of the bar code [Code] <1D>H<68>H [Range] 1≦n≦255 [Outline] Selecting bar code height. “n” denotes the number of dots in the vertical direction. [Default] n=162 [See Also] GS k, GS w [Sample Program] Refer to Sample Program and Print Results for GS w.
GS k m [d1...dk] NULL … (1) GS k m n [d1...dn] … (2) [Function] Printing the bar code [Code] (1)<1D>H<6B>H[d1...dk] NULL (2)<1D>H<6B>H[d1...dn] [Range] (1)0≦m≦6 (2)65≦m≦73 [Outline] Selects a bar code system and prints the bar code. The type of font can be selected with “n” as follows. For (1): m 0 1 2 3 The definitions of “k” and “d” vary with the bar code system. The definitions of “n” and “d” vary with the bar code system.
[Caution] For (1): • This command ends with a NULL code. • For UPC-A or UPC-E, the bar code is printed when 12 bytes of bar code data have been entered, and the subsequent data is handled as normal data. • For JAN13, the bar code is printed when 13 bytes of bar code data have been entered, and the subsequent data is handled as normal data. • For JAN8, the bar code is printed when 8 bytes of bar code data have been entered, and the subsequent data is handled as normal data.
[Description of Bar Codes] UPC-A This bar code, consisting of numerals only, has a fixed length of 12 columns; a 11column number entered from the host or application software plus a check digit (12th column) automatically calculated inside the printer. If the 12th-column numeral is sent from the host, the entire bar code will be printed as it is. UPC-E This bar code, consisting of numerals only, has a fixed length of 8 columns; the first number system character is “0” stationary.
Control Character ASCII Hex. NULL 00 SOH 01 STX 02 ETX 03 EOT 04 ENQ 05 ACK 06 BEL 07 BS 08 HT 09 LF 0A VT 0B FF 0C CR 0D SO 0E SI 0F CODE128 HRI Character ■U ■A ■B ■C ■D ■E ■F ■G ■H ■I ■J ■K ■L ■M ■N ■O Control Character ASCII Hex.
Special characters Hex. 7B53 7B41 7B42 7B43 7B31 7B32 7B33 7B34 7B7B ASCII {S {A {B {C {1 {2 {3 {4 {{ Code Set A SHIFT -N/A CODE B CODE C FNC1 FNC2 FNC3 FNC4 ‘{’ Code Set B SHIFT CODE A -N/A CODE C FNC1 FNC2 FNC3 FNC4 ‘{’ Code Set C -N/A CODE A CODE B -N/A FNC1 -N/A -N/A -N/A ‘{’ To print “No.” in code set B, followed by “123456” in code set C, send the following data string: GS k <73> <10> <7B>H <42>H, “ No.
[Bar Code Print Example] UPC-A, UPC-E, JAN-13 (EAN), JAN-8 (EAN), CODE 39, ITF, CODABAR, CODE 93, CODE 128 Type Print Sample Outline of Symbol UPC-A 12-column fixed-length bar code consisting of numerals only. UPC-E 8-column fixed-length bar code consisting of numerals only. Abbreviated version of UPC-A. JAN13 13-column fixed-length bar code consisting of numerals only. JAN8 8-column fixed-length bar code consisting of numerals only.
GS w n [Function] Specifying the horizontal size (magnification) of bar code [Code] <1D>H<77>H [Range] 2≦n≦6 [Outline] Selecting bar code width.
2.2.12 Commands for Non-volatile Memory GS ( C pL pH m fn b [c1 c2] [d1...dk] [Function] Editing user NV memory [Outline] • Erases/stores/sends data of user NV memory area and sends the use amount/remaining capacity. • Executes edit processing of user NV memory specified by function code (fn). fn 0,48 Code GS ( C pL pH m fn b c1 c2 GS ( C pL pH m fn b c1 c2 d1…dk No. Function 0 Function. Erases specified record. Function 1 Stores data in specified record.
fn = 0, 48: Function 0 Erasing Specified Record GS ( C pL pH m fn b c1 c2 [Code] <1D>H<28>H<43>H[c1 c2] [Range] (pL+pH×256)=5(pL=5, pH=0) m=0 fn=0,48 b=0 32≦c1≦126 32≦c2≦126 [Outline] Erases the record specified by c1, c2 stored in user NV memory. fn = 1, 49: Function 1 Storing Data to Specified Record GS ( C pL pH m fn b c1 c2 d1...dk [Code] <1D>H<28>H<43>H[c1 c2][d1...
fn = 2, 50: Function 2 Sending Data Stored in Specified Record GS ( C pL pH m fn b c1 c2 [Code] <1D>H<28>H<43>H[c1 c2] [Range] (pL+pH×256)=5(pL=5, pH=0) m=0 fn=2, 50 b=0 32≦c1≦126 32≦c2≦126 [Outline] Sends data stored in the record specified by c1, c2 in user NV memory. Header Identifier Status Data NUL Hex.
fn = 3, 51: Function 3 Sending Use Amount GS ( C pL pH m fn b [Code] <1D>H<28>H<43>H [Range] (pL+pH×256)=3(pL=3, pH=0) m=0 fn=3, 51 b=0 [Outline] Sends the use amount of user NV memory (number of bytes of used area). Header Identifier Capacity of use NUL Hex.
fn = 5, 53: Function 5 Sending Key Code List of Stored Record GS ( C pL pH m fn b [Code] <1D>H<28>H<43>H [Range] (pL+pH×256)=3(pL=3, pH=0) m=0 fn=5, 53 b=0 [Outline] Sends key code list of record existing in user NV memory. Header Identifier Status Data NUL Hex. 37H 71H 40H or 41H 20H~FEH 00H Decimal 55 113 64 or 65 32~254 0 Data size 1 byte 1 byte 1 byte 2~80 bytes 1 byte • Data is a data group with a list of key codes.
fn = 6, 54: Function 6 Erasing All User NV Memory Area in a Lump GS ( C pL pH m fn b [d1 d2 d3] [Code] <1D>H<28>H<43>H[d1 d2 d3] [Range] (pL+pH×256)=6 (pL=6, pH=0) m=0 fn=6, 54 b=0 d1=67 d2=76 d3=82 [Outline] Erases all areas of user NV memory in a lump.
FS p n m [Function] Printing the download NV bit images [Code] <1C>H<70>H [Range] 1≦n≦255, 0≦m≦3, 48≦m≦51 [Outline] This command prints the download NV bit images (n) using a specified mode (m). Dot Density in Dot Density in m Mode Name Vertical Direction Horizontal Direction 0,48 NORMAL MODE 203DPI 203DPI 1,49 DOUBLE WIDTH MODE 203DPI 101DPI 2,50 DOUBLE HEIGHT MODE 101DPI 203DPI 3,51 QUADRUPLE SIZE MODE 101DPI 101DPI • “n” denotes the number of the download bit image.
FS q n [xL xH yL yH d1…dk]1 … [xL xH yL yH d1…dk]n [Function] Defining the download NV bit image [Code] <1C>H<71>H[]1 []n [Range] 1≦n≦255 0≦xL≦255 0≦xH≦3 but, 1≦(xL+xH×256)≦1023 0≦yL≦255 0≦yH≦1 but, 1≦(yL+yH×256)≦288 0≦d≦255 k=(xL+xH×256)×(yL+yH×256)×8 Total definition area = 2M bits (256K bytes) [Outline] This command defines the specified NV bit image. • “n” denotes the number of bit images to be defined.
• The definition will start from NV bit image number 01H and n-number bit images will be defined in ascending order. Therefore, the first data group [xL xH yL yH d1…dk] becomes NV bit image number 01H, and the last data group [xL xH yL yH d1…dk] becomes NV bit image number 0nH. These numbers of NV bit images coincide with those specified with FS p. • The definition data of one NV bit image consists of [xL xH yL yH d1… dk].
(xL+xH×256)×8dots= 512dots d97 d49057 d2 ( yL+yH×256 ) ×8dots = d1 MSB d3 768dots LSB d49152 d96 [Example] When xL = 64, xH = 0, yL = 96, yH = 0 - 91 -
2.2.13 Printer Function Setting Commands GS ( E pL pH fn […] [Function] Printer function setting command [Outline] Printer function setting command is a command to change the function of the printer stored on the non-volatile memory and executes the function set by the value of “fn”. Function No.
fn = 1: Function 1 Transferring to Printer Function Setting Mode GS ( E pL pH fn d1 d2 [Code] <1D>H<28>H<45>H [Range] (pL+pH×256)=3 (pL=3, pH=0) fn=1 d1=73(“I”) d2=78(“N”) [Outline] Transfers to printer function setting mode and sends the report of mode transfer. Header ID NULL Hex. 37H 20H 00H No.
fn = 3: Function 3 Setting Memory Switch Value GS ( E pL pH fn [a1 b18...b11] ... [ak bk8...bk1] [Code] <1D>H<28>H<45>H[a1 b18...b11] ... [ak bk8...bk1] [Range] 10≦(pL+pH×256)≦65535 fn=3 a=1, 2, 3, 4, 5 b=48, 49, 50 [Outline] • Changes the memory switch set in “a” to the value set in “b”. b 48 49 50 Function Sets corresponding bit to OFF. Sets corresponding bit to ON. Does not change corresponding bit.
• Setting memory switch 2 (a = 2) Bit b (Set Value) Function 1 49 (Default) Reserved 48 Disables auto cutter. 2 49 (Default) Enables auto cutter. 48 Enables stored printing. 3 49 (Default) Disables stored printing. 48 Sets printing at full columns to be the same as CBM1000. 4 49 (Default) Sets printing at full columns to be the same as EPSON. 48 (Default) After cover close and PE recovery, prints as it is.
• Setting memory switch 4 (a = 4) Bit b (Set Value) Function 1 48 (Default) Undefined 2 48 (Default) Undefined 48 (Default) Executes initialization at power on. 3 49 Does not execute initialization at power on. 48 (Default) Does not perform collecting operation. 4 49 Performs collecting operation. 48 (Default) Backward collection 5 49 Forward eject 48 (Default) Normal eject 6 49 Direct eject 48 (Default) Next operation disabled with paper in presenter. 7 49 Next operation enabled with paper in presenter.
ON :31H(“1”) - 97 -
fn = 5: Function 5 Setting Customized Value GS ( E pL pH fn [a1 n1L n1H] ... [ak nkL nkH] [Code] <1D>H<28>H<45>H[a1 n1L n1H] ... [ak nkL nkH] [Range] 4≦(pL+pH×256)≦65535 fn=5 a=1, 2, 5, 6, 97, 116, 117 1≦(nL+nH×256)≦65535 [Outline] • Sets the customized value set in “a” to (nL+nH×256). a 1 2 5 6 97 116 117 Function Specifies user NV memory capacity. Specifies the memory capacity of NV graphics. Selects printing density. Selects printing speed.
• a = 5: Sets printing density to the level specified by (nL+nH×256). (nL+nHx256) Printing Density 65530 70% 65531 75% 65532 80% 65533 85% 65534 90% 65535 95% 0 (Default) 100% 1 105% 2 110% 3 115% 4 120% 5 125% 6 130% 7 135% 8 140% • a = 6: Sets printing (nL+nHx256) 1 2 3 4 5 6 7 8 9 (Default) speed to the value specified by (nL+nH×256).
[Caution] • This function operates only in printer function setting mode. • The value changed by this command is enabled by the following. • Execution of function 2 (fn = 2: End of printer function setting mode) (Recommended) • Reentering power supply. • Hardware resetting by reset terminal [Default] Described in processing table for “a”.
fn = 6: Function 6 Sending the Set Customized Value GS ( E pL pH fn a [Code] <1D>H<28>H<45>H[a] [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=6 a=1, 2, 5, 6, 97, 116, 117 [Outline] • Sends the set value of customized value set by “a”. Header ID Customized value No. Separation number Customized value NULL Hex. 37H 27H 30H~39H 1FH 30H~39H 00H No. of Data 1 1 1~3 1 1~5 1 • Configuration of customized value No.
• a = 2: When NV graphics memory capacity is specified* Setting Status Sending Data Stored Memory 1st Byte 2nd Byte 3rd Byte 4th Byte Value Capacity 1 None 49(“1”) ― ― ― 2 64K bytes 50(“2”) ― ― ― 3 128K bytes 51(“3”) ― ― ― 4 192K bytes 52(“4”) ― ― ― 5 256K bytes 53(“5”) ― ― ― 6 320K bytes 54(“6”) ― ― ― 7 384K bytes 55(“7”) ― ― ― • a = 5: When print density is specified Setting Status Sending Data Stored Print 1st Byte 2nd Byte 3rd Byte 4th Byte Value Density 70% 65530 54(“6”) 53(“5”) 53(“5”) 51(“3”) 75% 655
• a = 97: When number of divisions for head conducting is specified Setting Status Sending Data Stored No.
fn = 7: Function 7 Copying User-defined Page GS ( E pL pH fn a d1 d2 [Code] <1D>H<28>H<45>H[d1 d2] [Range] (pL+pH×256)=4 (pL=4, pH=0) fn=7 a=10, 12, 17 [Outline] • Copies the data of user-defined code page in the font specified by “a”. a 10 12 17 Font Type Font A: 12 (horizontal)×24 (vertical) Font B: 9 (horizontal)×17 (vertical) Font C: 8 (horizontal)×16 (vertical) • Configuration of customized value No.
fn = 8: Function 8 Defining Data by the Column Format to Character Code Page of Work Area GS ( E pL pH fn y c1 c2 [x d1...d(y×x)] k [Code] <1D>H<28>H<45>H[x d1...
fn = 9: Function 9 Defining Data in the Raster Format to the Character Code Page of Work Area GS ( E pL pH fn x c1 c2 [y d1...d(y×x)] k [Code] <1D>H<28>H<45>H[y d1 ...
fn = 10: Function 10 Erasing Data of Character Code Page Data in Work Area GS ( E pL pH fn c1 c2 [Code] <1D>H<28>H<45>H [Range] (pL+pH×256)=3 fn=10 128≦c1≦c2≦255 [Outline] • Erases (set to space) data in units of character on the character code page in work area. • Operates only in printer function setting mode.
fn = 11: Function 11 Setting Communication Conditions of Serial Interface GS ( E pL pH fn a d1 ... dk [Code] <1D>H<28>H<45>H[d] k [Range] 3≦(pL+pH×256)≦65535 (0≦pL≦255, 0≦pH≦255) fn=11 1≦a≦4 (Not changed in other than specified range) 48≦d≦57 (Not changed in other than specified range) 1≦k≦6 [Outline] Sets the communication conditions of serial interface specified by “a”.
fn = 12: Function 12 Sending the Set Communication Conditions of Serial Interface GS ( E pL pH fn a [Code] <1D>H<28>H<45>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=12 1≦a≦4 (Does not send in other than specified range) [Outline] Sends communication conditions of serial interface specified by “a”. Header ID Kind of communication conditions (a) Separation number Set value NULL Hex.
fn = 48: Function 48 Erasing Paper Layout GS ( E pL pH fn d1 d2 d3 [Code] <1D>H<28>H<45>H [Range] (pL+pH×256)=4 (pL=4, pH=0) fn=48 d1=67(“C”) d2=76(“L”) d3=82(“R”) [Outline] • Defines all set values of paper layout as “State of no setting”. • Operates only in printer function setting mode.
fn = 49: Function 49 Setting Paper Layout GS ( E pL pH fn [a1] ; [bL bH] ; [cL cH] ; [dL dH] ; [eL eH] ; [fL fH] ; [gL gH] ; [hL hH] ; [Code] <1D>H<28>H<45>H[a]<3B>H[bL bH]<3B>H[cL cH]<3B>H[dL dH]<3B>H[eL eH]<3B>H[fL fH]<3B>H[gL gH]<3B>H[hL hH]<3B>H [Range] 9≦(pL+pH×256)≦24 (9≦pL≦24, pH=0) fn=49 a=48, 49 100≦(bL+bH×256)≦3000, 35≦(cL+cH×256)≦100 0≦(dL+dH×256)<3000, 0≦(eL+eH×256)<3000 38≦(fL+fH×256)≦3000, 27≦(gL+gH×256)≦533 240≦(hL+hH×256)≦720 When any of the following is met, the parameter is
fn = 50: Function 50 Sending Paper Layout Information GS ( E pL pH fn n [Code] <1D>H<28>H<45>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=50 n=64, 80 [Outline] Sends paper layout information specified by “n”. a 64 80 Type of Paper Layout Information Set value of paper layout (Unit: 0.
• Configuration of “Layout information” n 1st Byte 54(“6”) 56(“8”) 64 80 Transmission Data 2nd Byte 3rd Byte 4th Byte 52(“4”) ― ― 48(“0”) ― ― 5th Byte ― ― • Configuration of “Layout information type” • Converts the information on each layout into character code expressed in decimal notation and sends it from the higher digit. • Symbols (a to h) of transmission data correspond to (a and bL, bH-hL, hH) of Function 49.
GS ( K pL pH fn m [Function] Selecting print control method [Outline] Executes the setting related to the print control specified by the value of “fn”. Function No. (fn) Function 48 Function 49 Function 50 Function 97 Sets Sets Sets Sets Function print control mode. printing density. printing speed. the number of divisions for head conducting.
fn = 49: Function 49 Setting Printing Density GS ( K pL pH fn m [Code] <1D>H<28>H<4B>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=49 0≦m≦8, 250≦m≦255 [Outline] Sets printing density.
fn = 50: Function 50 Setting Printing Speed GS ( K pL pH fn m [Code] <1D>H<28>H<4B>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=50 0≦m≦9, 48≦m≦57 [Outline] Sets printing speed. m 0,48 1,49 2,50 3,51 4,52 5,53 6,54 7,55 8,56 9,57 [Default] Selects Selects Selects Selects Selects Selects Selects Selects Selects Selects Printing Speed print control mode at power on. printing speed level 1. printing speed level 2. printing speed level 3. printing speed level 4. printing speed level 5.
GS ( M pL pH fn m [Function] Customizing the printer [Outline] Executes processing related to escape/recovery of the value set in the work area or the data defined by various kinds of command. Function (fn) Function 1 Function 2 Function 3 Function Copies the set value stored in work area to the storage area. Copies the set value stored in storage area to the work area. Specifies the auto loading function of the set value at initialization to be valid or invalid.
fn = 1, 49: Function 1 Copies the set value stored in work area to the storage area GS ( M pL pH fn m [Code] <1D>H<28>H<4D>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=1, 49 m=1, 49 [Outline] Copies the set value stored in work area to the storage area. [Caution] • This command allows writing to non-volatile memory. Therefore, using this command frequently may result in breakage of non-volatile memory. Use this command appropriately [10 times max./day].
fn = 3, 51: Function 3 Specifies the auto loading function of the set value at initialization to be valid or invalid GS ( M pL pH fn m [Code] <1D>H<28>H<4D>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=3, 51 m=0, 1, 48, 49 [Outline] Determines the setting of storage area at initialization to the work area by the value of “m”. m 0,48 1,49 Function Does not copy data from storage area to work area at initialization. Copies data from storage area to work area at initialization.
GS ( N pL pH fn m [Function] Designating font attribute [Outline] Executes processing of font attribute by the specified “fn” value. Function No. (fn) 48 Function Selects character color. fn = 48: Function 48 Selects character color GS ( N pL pH fn m [Code] <1D>H<28>H<4E>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=48 m=49 (At single color paper setting) m=49, 50 (At 2-color paper setting) [Outline] Prints the succeeding characters with the energy set in “m”.
2.2.14 2-dimensional code Commands GS ( k pL pH cn fn [parameter] PPU-700II only [Function] [Outline] Setting and printing 2-dimensional code [The specification which is common to the model] • Executes processing specified by function code (fn) with the 2-dimensional code specified by cn. • 2-dimensional codes selectable with the value of cn are shown below. cn 48 49 2-dimensional code PDF417 QRCode • Executes various processing related to 2-dimensional code specified by fn.
fn=65: Function 65 Setting the number of digits of PDF417 GS ( k pL pH cn fn n [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=48 fn=65 0≦n≦30 [Outline] [The specification which is common to the model] • Sets the number of digits of PDF417. • With n=0, automatic processing is specified. * For the number of digits in this case, the number of code words is calculated based on current print area.
fn=67: Function 67 Setting module width of PDF417 GS ( k pL pH cn fn n [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=48 fn=67 2≦n≦8 [Outline] [The specification which is common to the model] • Sets the width of one module of PDF417 to n dots.
fn=69: Function 69 Setting error correction level of PDF417 GS ( k pL pH cn fn m n [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=4 (pL=4, pH=0) cn=48 fn=69 m=48, 49 48≦n≦56 (when m=48 is specified) 1≦n≦40 (when m=49 is specified) [Outline] [The specification which is common to the model] • Sets error correction level of PDF417 • When m=48, set by the level of n. n Fnction 48 Selects error correction level 0. 49 Selects error correction level 1.
fn=70: Function 70 Setting Options for PDF417 GS ( k pL pH cn fn m [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=48 fn=70 m=0, 1 [Outline] [The specification which depend on the model] • Specifies or clears the PDF417 option. m 0 1 Function Canceling Processing of simple PDF417 Specifying Processing of simple PDF417 [Caution] • When cleared with m=0, standard processing for PDF417 is conducted thereafter.
fn=81: Function 81 Printing 2-dimensional code data in 2-dimensional code data storage area GS ( k pL pH cn fn m [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=48 fn=81 m=48 [Outline] [The specification which is common to the model] • Prints PDF417 stored in 2-dimensional code data storage area. [Caution] [The specification which is common to the model] • Quiet zone (blank area around PDF417) shall be secured by the user.
fn=82: Function 82 Sending the size of 2-dimensional code data in 2-dimensional code data storage area GS ( k pL pH cn fn m [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=3 (pL=3,pH=0) cn=48 fn=82 m=48 [Outline] [The specification which is common to the model] • Sends the size information when printing 2-dimensional data stored in the 2-dimensional code data storage area.
fn=65: Function 165 Specifying QRCode model GS ( k pL pH cn fn n1 n2 [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=4 (pL=4, pH=0) cn=49 fn=65 n1=49, 50 n2=0 [Outline] [The specification which is common to the model] • Specifies QRCode model. n1 49 50 [Default] Function Sets model 1. Sets model 2.
fn=69: Function 169 Setting QRCode error correction level GS ( k pL pH cn fn n [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=49 fn=69 48≦n≦51 [Outline] [The specification which is common to the model] • Sets QRCode error correction level. n Function 48 49 50 51 Selects error correction level L. Selects error correction level M. Selects error correction level Q. Selects error correction level H. Ref.
fn=81: Function 181 Printing 2-dimensional code data in 2-dimensional code data storage area GS ( k pL pH cn fn m [Code] PPU-700II only <1D>H<28>H<6B>H [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=49 fn=81 m=48 [Outline] [The specification which is common to the model] • Prints QRCode data stored in 2-dimensional code data storage area. [Caution] [The specification which is common to the model] • Quiet zone (blank area around QRCode) shall be secured by the user.
fn=82: Function 182 Sending the size of 2-dimensional code data in 2-dimensional code data storage area GS ( k pL pH cn fn m [Code] [Range] [Outline] PPU-700II only <1D>H<28>H<6B>H (pL+pH×256)=3(pL=3, pH=0) cn=49 fn=82 m=48 [The specification which is common to the model] • Sends the size information when printing 2-dimensional data stored in the 2-dimensional code data storage area.
2.2.15 Special Commands ESC n n [Function] Setting the remaining amount of printout [Code] <1B>H<6E>H [Range] 0≦n≦255 (“n” in the 3rd byte denotes this command.) [Outline] • This command sets the remaining amount of printout after detecting paper near-end1. • “n” is set in cm. [Caution] • If the paper near-end (PNE) sensor is disabled, this command has no function. • The set value and the remaining amount of printout are not cleared by the initialize command (ESC @).
GS R 0 [Function] Collect the receipt [Code] <1D>H<52>H<30>H [Outline] • This command have the presenter collect receipt to the direction set by MSW4-5. • When printer receives this command, if presenter sensor detects paper presence, motor is activated till sensor detects no paper. • When printer receives this command, if presenter sensor detects no paper, motor is activated 5 second and stop. [Caution] • When memory switch 4-4 is OFF, this command is ignored.
GS S [Function] Detecting a black mark [Code] <1D>H<53>H [Outline] This commands detects a black mark when black mark paper is set. [Caution] • When memory switch 3-4 is OFF, this command is ignored. • When this command is received during detection of a black mark, the next black mark is detected and the print paper is cut and then ejected. • Also at the time of printer power on, a black mark is detected and the print paper is cut and ejected.
FS ( L pL pH fn m [Function] Controlling black mark paper [Outline] Executes various kinds of control for black mark paper. • Executes the function specified by the function code (fn). Function No. Function 48 Function 66 Function 67 Function Sends position information. Executes paper feeding to the cut position. Executes paper feeding to the initial position.
fn = 48: Function 48 Sending Position Information FS ( L pL pH fn m [Code] <1C>H<28>H<4C>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=48 m=48 [Outline] Sends the position information of black mark paper. Transmission Data Header Identifier Position information A Position information B NULL Hex.
fn = 66: Function 66 Executing Paper Feeding to Cut Position FS ( L pL pH fn m [Code] <1C>H<28>H<4C>H [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=66 m=48, 49 [Outline] Executing paper feeding to the cut position. m 48 49 Operation Executes paper feeding to the next cut position. When, however, the printer has already been standby at the cut position, no operation is executed. Executes paper feeding to the next cut position.
2.2.16 Other Commands DLE ENQ n [Function] Real-time request to printer [Code] <10>H<05>H [Range] 0≦n≦2 [Outline] The printer responds in real-time to the request that the host specifies with number “n”. n 0 1 2 Function At the setting of execution of GS ^ by the FEED switch, the same processing as that pressing the FEED switch once is carried out. After recovering from an error, the printer resumes printing from the beginning of the line where the error occurred.
DLE DC4 fn m t (Specification of fn = 8) [Function] Buffer clear [Code] <10>H<14>H... [Range] fn=8, d1=1, d2=3, d3=20, d4=1, d5=6, d6=2, d7=8 [Outline] • Erases all data in receiving buffer or print buffer. • Sends the following 3-byte data group. Header Identifier NUL Hex. 37H 25H 00H Decimal 55 37 0 No. of Data 1 byte 1 byte 1 byte • Enters the state of selecting STANDARD MODE.
ESC = n [Function] Data input control [Code] <1B>H<3D>H [Range] 0≦n≦255 [Outline] • Selecting equipment for which data input from the host is valid. • Each bit of “n” indicates as follows. • When the printer has not been selected, this printer abandons all the received data until it is selected by this command.
ESC @ [Function] Initializing the printer [Code] <1B>H<40>H [Outline] Clears data stored in the print buffer and brings various settings to the initial state (Default state). [Caution] • The settings of DIP switches are not read again. • Data inside the internal input buffer is not cleared. • Macro definitions are not cleared. • NV bit image definitions are not cleared. • Data in the user NV memory is not cleared.
ESC L [Function] Selecting PAGE MODE [Code] <1B>H<4C>H [Outline] Switches from STANDARD MODE to PAGE MODE. [Caution] • This command is only effective if it entered at the beginning of a line. • This command is not effective if it is entered when in PAGE MODE. • STANDARD MODE is restored when printing specified by FF is finished or when ESC S is issued. • The character mapping start position will be the point specified by ESC T in the print area specified by ESC W.
ESC S [Function] Selecting STANDARD MODE [Code] <1B>H<53>H [Outline] Switches from PAGE MODE to STANDARD MODE. [Caution] • This command is only effective if it is entered when in PAGE MODE. • Any data mapped in PAGE MODE is erased. • After this command is executed, the beginning of the line is taken as the next print start position. • The print area defined by ESC W is initialized.
GS ( A pL pH n m [Function] Execution of test printing [Range] (pL+(pH×256))=2 (pL=2, pH=0) 0≦n≦2, 48≦n≦50 1≦m≦7, 49≦m≦55 [Outline] Specified test printing will be executed. • pL, pH will specify the number of subsequent parameters by (pL + (pH×256))bytes. • “n” will specify the paper for test printing in the following table. n 0,48 1,49 2,50 Paper Type Basic paper (Paper rolls) Paper rolls • ”m” specifies the type of test printing shown in the following table.
GS I n [Function] Sending the printer ID [Code] <1D>H<49>H [Range] 1≦n≦4, 49≦n≦52, 65≦n≦69 [Outline] Sends the specified printer ID. n 1,49 2,50 3,51 4,52 Type of Printer ID Model ID Type ID ROM version ID Black mark length Sends the specified printer information.
n = 4, 52 specified (only for B.M specs) The Black mark length and mark interval currently used are returned in 4-byte code. All fractional parts in millimeters are rounded off. Byte 1 + Byte 2×256 = Black mark interval Byte 3 + Byte 4×256 = Black mark length (2) (1) Black mark paper [Caution] • Under DTR/DSR control, the printer sends the printer ID after verifying that the host is ready to receive. • Sending the Black mark length is valid only when Black mark paper is selected.
GS P x y [Function] Specifying the basic calculation pitch [Code] <1D>H<50>H [Range] 0≦x≦255, 0≦y≦255 [Outline] • This command sets the horizontal basic calculation pitch to approx. 25.4/x mm (1/x inches), and the vertical basic calculation pitch to approx. 25.4/y mm (1/y inches). • If x = 0, the horizontal basic calculation pitch is reverted to the default value. • If y = 0, the vertical basic calculation pitch is reverted to the default value.
GS ( L pL pH m fn [parameter] GS 8 L p1 p2 p3 p4 m fn [parameter] [Function] Specifying graphics data [Code] <1D>H<28>H<4C>H <1D>H<38>H<4C>H * In the explanation of function, the code of GS ( L is used. • GS ( L and GS 8 L ) are the same function. • When [parameter] exceeds 65533 bytes in each function, GS 8 L is used. [Outline] Executes the processing related to the graphics data specified by the function code (fn). fn Code Function No.
fn = 0, 48: Function 48 Sending NV Graphics Memory Capacity GS ( L pL pH m fn [Code] <1D>H<28>H<4C>H [Range] (pL+pH×256)=2 (pL=2, pH=0) m=48 fn=0, 48 [Outline] Sends all capacity of NV graphics area in the number of bytes. Header Identifier Data NUL Hex. 37H 30H 30H~39H 00H Decimal 55 48 48~57 0 Data Size 1 byte 1 byte 1~8 bytes 1 byte • Converts all capacity to character code expressed in decimal notation and sends it from higher digit. • Data size is variable.
fn = 3, 51: Function 51 Sending the Remaining Amount of NV Graphics Memory GS ( L pL pH m fn [Code] <1D>H<28>H<4C>H [Range] (pL+pH×256)=2 (pL=2, pH=0) m=48 fn=3, 51 [Outline] Sends the remaining amount of NV graphics area (number of bytes of unused area). Header Identifier Data NUL Hex. 37H 31H 30H~39H 00H Decimal 55 49 48~57 0 Data Size 1 byte 1 byte 1~8 byte 1 byte • Converts the remaining amount to character code expressed in decimal notation and sends it from higher digit.
fn = 64: Function 64 Sending Key Code List of Defined NV Graphics GS ( L pL pH m fn d1 d2 [Code] <1D>H<28>H<4C>H [Range] (pL+pH×256)=4 (pL=4, pH=0) m=48 fn=64 d1=75(“K”) d2=67(“C”) [Outline] Sends the key code list of defined NV graphics. • When key code list is present Hex. Header 37H Identifier 72H Status 40H or 41H 30H~39H Data NUL 00H Decimal 55 114 64 or 65 48~57 0 Data Size 1 byte 1 byte 1 byte 2~80 bytes 1 byte • When key code is not present Hex.
fn = 65: Function 65 Erasing All Data of NV Graphics in a Lump GS ( L pL pH m fn d1 d2 d3 [Code] <1D>H<28>H<4C>H [Range] (pL+pH×256)=5 (pL=5, pH=0) m=48 fn=65 d1=67(“C”) d2=76(“L”) d3=82(“R”) [Outline] Erases all defined data of NV graphics in a lump.
fn = 67: Function 67 Defining Raster Type Graphics Data to NV Memory GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH [c d1...dk]1 ... [c d1...dk]b [Code] <1D>H<28>H<4C>H
fn = 69: Function 69 Printing Specified Graphics GS ( L pL pH m fn kc1 kc2 x y [Code] <1D>H<28>H<4C>H [Range] (pL+pH×256)=6 (pL=6, pH=0) m=48 fn=69 32≦kc1≦126 32≦kc2≦126 x=1, 2 y=1, 2 [Outline] Prints the NV graphics data defined by key code (kc1, kc2) as large as x times horizontally/y times vertically.
fn = 112: Function 112 Storing Raster Type Graphics Data to Print Buffer GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk [Code] <1D>H<28>H<4C>H[d1...
GS C 0 n m [Function] Setting counter print mode [Code] <1D>H<43>H<30>H [Range] 0≦n≦5 0≦m≦2, 48≦m≦50 [Outline] “n” sets the number of print columns for serial counter. • n = 0 sets the actual counter to the number of print columns. • n ≠0 sets the print columns to “n” columns. “m” specifies the serial counter layout and data processing when the specified number of columns is not reached.
GS C 1 aL aH bL bH n r [Function] Setting counter mode (A) [Code] <1D>H<43>H<31>H [Range] 0≦(aL+aH×256)≦65535 (0≦aL≦255, 0≦aH≦255) 0≦(bL+bH×256)≦65535 (0≦bL≦255, 0≦bH≦255) 0≦n≦255 0≦r≦255 [Outline] Sets the count mode of serial counter in number. • aL, aH, bL, bH specifies the counting range of serial counter. • “n” specifies the number of steps when serial counter is reset. • “r” specifies the times of repetition with counting value fixed.
GS C ; sa ; sb ; sn ; sr ; sc ; [Function] Setting count mode (B) [Code] <1D>H<43>H<3B>H<3B>H<3B>H<3B>H<3B>H<3B>H [Range] 0≦sa≦655535, 0≦sb≦65535 0≦sn≦255, 0≦sr≦255 0≦sc≦65535 [Outline] Sets the count mode and counter value of serial counter in character row. • “sa”, “sb” specifies the counting range of serial counter. • “sr” specifies the number of repetition with count value fixed. • “sn” specifies the number of steps when serial counter is reset.
3. CHARACTER CODE TABLE 3.1 Code Page 3.1.
3.1.
3.1.
3.1.
3.1.
3.1.
3.1.
3.1.
3.1.
3.1.
3.1.11 Code page 00H to 7FH & Windows Code page 3 4 5 6 7 8 0 @ P ` p € ! 1 A Q a q " 2 B R b r F # 3 C S c DC 4 $ 4 D T % 5 E 6 & 6 7 ' 0 0 1 NU L DLE XO N 1 2 XOF 3 4 EO T 5 EN Q CA N 8 2 9 A B C D E F ° À Ð à ð ‘ ¡ ± Á Ñ á ñ ¸ ’ ¢ ² Â Ò â ò s ƒ “ £ ³ Ã Ó ã ó d t ,, ” ¤ ´ Ä Ô ä Ô U e u ...
3.2 International Character Code Table Country 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 U.S.A # $ @ [ ╲ ] ^ ' { | } ~ 1 France # $ à ° ç § ^ ' é ù è ¨ 2 Germany # $ § Ä Ö Ü ^ ' ä ö ö β 3 U.K.
4. APPENDIX 4.1 Explanation on PAGE MODE 4.1.1 Overview The printer has two print modes: STANDARD and PAGE. In STANDARD MODE, the printer prints or feeds paper each time it receives a print or paper feed command. In PAGE MODE, when the printer receives print commands and/or form feed commands, it simply forwards them to the specified print area of memory. Only when an ESC FF or FF is executed, all the data mapped in the print area will then be printed in a batch.
4.1.3 Mapping of Print Data in the Print Area Print data is mapped in the print area as follows: (1) The print area is set by ESC W. When the printer has finished all of the print and paper feed actions specified before receiving an ESC W, the ESC W sets the right end (as viewed facing the printer) as the start point (x0, y0) of the print area.
Mapping direction x0,y0 24-3 Baseline Point A dx,dy Print area Figure 4-1 Mapping Position for Character Data x*8 2 nH*256+n L Bit image ESC * m nL nH GS * x y 6 Point B Point B GS k m GS h n 3 6*8=4 24-3 Double height character = 42 24*2-6 1 Downloaded bit image 1 Bar code (HRI Characters) Point B Point B Figure 4-2 Mapping Positions for Print Data - 173 - Baseline
4.1.4 Example of Using PAGE MODE The following explains specific uses of PAGE MODE. When in PAGE MODE, the commands are typically sent from the host to the printer in the following sequence: (1) (2) (3) (4) (5) (6) An ESC L puts the printer in PAGE MODE. An ESC W specifies the print area. An ESC T specifies the print direction. Print data is sent. An FF instructs the printer to print the print data in a batch. After printing, the printer returns to STANDARD MODE.
In Figure 4-3, a line feed occurs between “lesson” and “Test 1” because the space “ “ next to “lesson” does not fit in the horizontal range of the 200×400-pitch print area. The line feed width conforms to the value specified by a command such as ESC 3. It is possible to set as many print areas as desired before executing FF. If print areas overlap each other, the print area setup data are ORed with the previous data. If you want to erase a section of mapped data, use the CAN command.
Before an FF is sent (170th line), the following program code can be added to remove part of the data. < Example 3 > 180 PRINT♯1, CHR$(&H1B);"W"; CHR$(72); CHR$(0); CHR$(120); CHR$(0); 190 PRINT♯1, CHR$(36); CHR$(0); CHR$(48); CHR$(0); 200 PRINT♯1, CHR$(&H18); As a result of the additional program code, a print-out is executed as shown in Figure 4-5 “Print Result of Adding a Program of Example 3 to Example 2”, where the string “GHI” is removed.
4.2 Bidirectional Parallel Interface Overview The interface of the printer is a Level-1 compatible device according to IEEE-P1284. It supports the communication modes described in 4.2.1 below. 4.2.1 Parallel Interface Communication Mode The parallel interface of the printer provides three communication modes as outlined below. When the printer is turned on or reset, it defaults to Compatibility mode. • Compatibility Mode Data is transmitted from the host to the printer in units of one byte.
4.2.2 Interfacing Phases Interfacing in each communication mode is divided into several phases. In addition, there is a phase for mode initialization, as well as a phase for mode switching. Interface signals may differ in name and function for different modes and different phases.
4.2.3 Negotiation Overview Usually, the printer is started in Compatibility mode, which corresponds to the Centronics interface phase. When the host intends to switch to the Nibble or Byte mode, it sends a request and negotiates with the printer. A general flow of negotiations is given below. (1) The host sets the IEEE 1284 Active signal to High. In response, the printer moves into the Negotiation phase. (2) The printer replies whether it can execute the mode requested by the host.
Precautions (1) The Negotiation phase is triggered when the IEEE 1284 Active signal sent by the host becomes High. (2) In Compatibility mode, the time when the negotiation process begins is, as a general rule, after the host sets nStrobe to High and then the printer outputs an nAck pulse. Once the nStrobe signal is set to High, however, the printer immediately moves into the Negotiation phase when the high state of IEEE 1284 Active is detected, even if the nAck pulse has yet to be output or is being output.
Data Communication from Printer to Host Nibble Mode In this mode, data is transferred between the printer and the host through the procedure described below. The steps beginning from (1) are applicable when the Negotiation phase has switched to the Host Busy Data Available phase. If the Negotiation phase has switched to the Host Busy Data Not Available phase, the procedure starts at step (9).
(12) If the host selected the Reverse Idle phase and new data becomes available to be sent from the printer, the printer sets PtrClk to Low to request the host for an interrupt. (Event 18) (13) The printer sets PtrClk back to High. (Event 19) (14) Upon receiving a request for interrupt from the printer, the host responds by setting HostBusy (nAutoFd) to High.
Byte Mode In this mode, data is transferred between the printer and the host through the procedure described below. The steps beginning from (1) are applicable when the Negotiation phase has switched to the Host Busy Data Available phase. If the Negotiation phase has switched to the Host Busy Data Not Available phase, the procedure starts at step (9). (1) After the negotiations for the entry into the Byte mode are complete, the host indicates that it is ready to receive data from the printer.
Device ID The device ID is a character string that provides the ID, the type, and other information regarding the printer connected to the interface. When the printer receives a request for a device ID from the host, it replies with the following device ID: <00>H<2E>H MFG:CBM; CMD:ESC/POS; MDL:PPU-700; CLS:PRINTER; The first two bytes of the device ID indicate the length of the entire device ID. For a description of a request for a device ID, refer to the “Negotiation” section.
Termination Termination is the process of returning to Compatibility mode from the Nibble or Byte modes.
4.3 Identification of Send Status Because the status sent from the printer has certain fixed bits, it is possible to identify to which command the status belongs. When using ASB (Automatic Status Back), however, the first byte of ASB should be checked, and then the three consecutive bytes except for XOFF should be treated as ASB data.
4.4 Memory Switch Memory switch has a function to store various settings selected by the user alternatively in nonvolatile memory. Memory switch setting is retained unless the memory switch is changed. Memory switch setting can be changed by the manual setting in memory switch change mode or by a command. * Hereinafter memory switch is referred to as MSW. 4.4.1 Memory Switches No.
4.4.2 Details of Memory Switches Functions of memory switches, operations at ON (1) setting, and operation at OFF (0) setting are described below. Memory switches without function setting are not explained but default must not be changed. When setting memory switches manually, ON setting allows POWER LED to light and OFF setting allows it to go off.
• MSW 1-3: BUSY Condition Function: Selects the condition for the printer to become BUSY state. Auto status sending function is also activated. Busy Condition OFF (0) Full/Err ON (1) Full Operation at ON (1): When receive buffer is full, the printer is in the BUSY state. Auto status sending (ASB) function is valid. Operation at OFF (0): When receive buffer is full or in the offline state, the printer is in the BUSY state. Auto status sending (ASB) function is invalid.
• MSW 1-5: CR Code Processing Function: Selects whether the printer operates in the same manner as LF (<0A>H) when it receives the CR(<0D>H) code. CR mode OFF (0) Ignored ON (1)) LF Operation at ON (1): Operates in the same manner as LF when receiving CR code. Prints data in the print buffer and performs line feed in accordance with the amount of preset line feed. Operation at OFF (0): Even when the printer receives a CR code, it ignores CR code and causes no operation.
(2) MSW2 • MSW 2-1: Omitted for reservation. • MSW 2-2: Omitted for reservation. • MSW 2-3: Valid/Invalid of buffered printing Function: Selects Valid/Invalid of buffered printing. Spool print OFF(0) Invalid ON(1) Valid Operation at ON (1): Enables buffered printing. Stores a certain amount of print buffer in the internal RAM and prints it at a time. Prints before reaching the specified amount when a Cut command is entered.
• MSW 2-5: Processing after Cover Close and PE Clear Function: Selects the processing to be carried out when resuming printing after the printer cover is opened or paper empty (PE) is detected during printing. OFF(0) Next Resume aft PE ON(1) Top Operation at ON (1): Resumes printing at the top of remaining data in printer.
(3) MSW3 • MSW 3-1: Recovery from Cutter Lock Error Function: Selects the method of recovery from Cutter Lock error. OFF(0) Valid Resum Cttr Err ON(1) Invalid Operation at ON (1): Recovers by a command. After removing the cause of the error, returns by a command . Operation at OFF (0): Recovers by FEED SW. After removing the cause of the error, returns by pressing and holding (for more than 1 second) the FEED switch.
• MSW 3-4: Selecting paper Function: Selects either thermal paper or black mark paper. Paper Select OFF(0) Thermal ON(1) Black MK Operation at ON (1): Sets black mark paper. Operation at OFF (0): Sets thermal paper. • MSW 3-5: Omitted for reservation. • MSW 3-6: Omitted for reservation. • MSW 3-7: Selecting emulation Function: Selects emulation. Emulation OFF(0) PPU231 ON(1) TM-L90 Operation at ON (1): TM-L90 Sets TM-L90-compatible emulation. (NV image command, black mark layout command, etc.
(4) MSW4 • MSW 4-1: Omitted for reservation. • MSW 4-2: Omitted for reservation. • MSW 4-3: Valid/Invalid of demo operation at power ON Function: Selects Valid/Invalid of demo operation at power ON. Paper Top Feed OFF(0) Valid ON(1) Invalid Operation at ON (1): Disables demo operation at power ON. Enters Standby mode without demo operation of paper at power ON. Operation at OFF (0): Enables demo operation printing at power ON. Enables demo operation of paper at power ON.
• MSW 4-5: Selecting Paper Collecting Direction Function: Selects the paper collecting direction when collecting paper is set to be Valid. Valid only when MSW 4-4 is ON. Collect Direction OFF(0) Rear ON(1) Front Operation at ON (1): Ejects paper forward. Ejects paper forward after the time set for command receipt collection timer has passed or by the immediate collection command . Operation at OFF (0): Collects paper Backward.
• MSW 4-7: Valid/Invalid of Continuous Operation of Paper Ejection Function: Selects Valid/Invalid of paper eject operation of next paper while presenter sensor is detecting paper. OFF(0) Invalid Print Continue ON(1) Valid Operation at ON (1): Enables Continuous operation. Enables the paper eject operation of next paper even if the presenter sensor is detecting paper. Operation at OFF (0): Disables Continuous operation. Disables the next eject operation when the presenter sensor is detecting paper.
4.5 Black Mark Layout and Operating Condition Cut position when 12.4mm black mark is detected. 32.5mm M2 (Back) Print Surface M1 (Back) L M3 (Front) Paper Feed Direction Cut position when 12.4mm black mark is detected. 32.5mm I J Symbol I J L Item Black mark length Black mark width Black mark pitch BM Paper 5~10mm 10mm 以上 100mm~3000mm ● Black marks are selected at two places on the back and one place on the front (PCS value is 0.9 or more). * BM position is an option of factory shipment.