background image

 

- 51 - 

 

[Sample Program]

 

LPRINT CHR$(&H1B)

"*"; 

LPRINT CHR$(0);CHR$(20);CHR$(0);          IMG1: 
GOSUB IMG1                                                               

LPRINT CHR$(&HFF); 

LPRINT CHR$(&HA);                                                       

FOR I=1 TO 18 

LPRINT CHR$(&H1B);"*";                                                             

LPRINT CHR$(&H85);   

LPRINT CHR$(1);CHR$(20);CHR$(0);     

      

 

NEXT I 

GOSUB IMG1                                                                         

 

   LPRINT CHR$(&HFF); 

LPRINT CHR$(&HA);                                                                  RETURN 
LPRINT CHR$(&H1B);"*";                                        IMG2: 
LPRINT CHR$(32);CHR$(20);CHR$(0);            

LPRINT CHR$(&HFF); 

GOSUB IMG2                                                                                LPRINT CHR$(&HFF); 
LPRINT CHR$(&HA);                                                                   LPRINT CHR$(&HFF); 
LPRINT CHR$(&H1B);"*";                                                          FOR I=1 TO 18 
LPRINT CHR$(33);CHR$(20);CHR$(0);           

 

LPRINT CHR$(&H80); 

GOSUB IMG2                                                                                 

LPRINT CHR$(&H00); 

LPRINT CHR$(&HA);                                                                     

LPRINT CHR$(&H05); 

END                                                                                               NEXT I 

                                         

                                     

  

LPRINT 

CHR$(&HFF); 

                                         

                                     

  

LPRINT 

CHR$(&HFF); 

                                         

                                     

  

LPRINT 

CHR$(&HFF); 

                                         

                                     

  

RETURN 

 
 

[Print Results]

 

 
 
 
 
 
 
 

8-dots single density

 

8-dots double density

 

24-dots single density

 

24-dots double density

 

Summary of Contents for PPU-700

Page 1: ...Revision 1 03 2006 10 26 PRINTER PRESENTER UNIT Command Reference Model PPU 700 ...

Page 2: ...ZEN WATCH CO LTD Japón 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 ...

Page 3: ...d Details 12 2 2 1 Print Control Commands 12 LF 12 CR 12 FF 13 ESC FF 14 ESC J n 15 ESC d n 16 2 2 2 Print Character Commands 17 CAN 17 ESC SP n 18 ESC n 19 ESC n 21 ESC s n m a p s a m n 1 22 ESC n 23 ESC n 24 ESC E n 25 ESC G n 26 ESC M n 27 ESC R n 27 ESC V n 28 ESC t n 29 ESC n 30 GS n 31 GS B n 32 GS b n 33 2 2 3 Print Position Commands 34 HT 34 ESC n1 n2 35 ESC D n k NULL 36 ESC T n 37 ESC W...

Page 4: ...54 2 2 6 Status Commands 56 DLE EOT n 56 ESC v At Serial I F Selection 59 GS a n 60 GS r n 63 2 2 7 Paper Detecting Commands 64 ESC c 3 n 64 ESC c 4 n 65 2 2 8 Panel Switch Commands 66 ESC c 5 n 66 2 2 9 Macro Commands 67 GS 67 GS n1 n2 n3 68 2 2 10 Cutter Commands 69 ESC i 69 ESC m 70 GS V m 1 71 GS V m n 2 71 2 2 11 Bar Code Commands 72 GS H n 72 GS f n 73 GS h n 74 GS k m d1 dk NULL 1 75 GS k m...

Page 5: ...ter Code Page of Work Area 104 fn 9 Function 9 Defining Data in the Raster Format to the Character Code Page of Work Area 105 fn 10 Function 10 Erasing Data of Character Code Page Data in Work Area 106 fn 11 Function 11 Setting Communication Conditions of Serial Interface 107 fn 12 Function 12 Sending the Set Communication Conditions of Serial Interface 108 fn 48 Function 48 Erasing Paper Layout 1...

Page 6: ...p2 p3 p4 m fn parameter 136 fn 0 48 Function 48 Sending NV Graphics Memory Capacity 137 fn 2 50 Function 50 Printing Graphics Data Stored in Print Buffer 137 fn 3 51 Function 51 Sending the Remaining Amount of NV Graphics Memory 138 fn 64 Function 64 Sending Key Code List of Defined NV Graphics 139 fn 65 Function 65 Erasing All Data of NV Graphics in a Lump 140 fn 66 Function 66 Erasing Specified ...

Page 7: ...h 155 3 1 10 Code page 00H to 7FH PC864 Arabic 156 3 1 11 Code page 00H to 7FH Windows Code page 157 3 2 International Character Code Table 158 4 APPENDIX 159 4 1 Explanation on PAGE MODE 159 4 1 1 Overview 159 4 1 2 Values Set by Each Command in STANDARD MODE and PAGE MODE 159 4 1 3 Mapping of Print Data in the Print Area 160 4 1 4 Example of Using PAGE MODE 162 4 2 Bidirectional Parallel Interfa...

Page 8: ... methods are available for sending Control Commands from the host computer to the printer Here a method of sending by BASIC programming is explained Example 1 Let s print a character string CITIZEN in enlarged double height double width and in normal format Program coding The Control Command shows that the command name for setting the size of a character is GS Let s make a program using this code ...

Page 9: ...7 ESC SP Setting the right spacing of the character S P 18 ESC Collectively specifying the printing mode S P 19 ESC Specifying canceling download character set S P 21 ESC Defining the download characters S P 22 ESC Specifying canceling underline S P 23 ESC Deleting download characters S P 24 ESC E Specifying canceling emphasis printing S P 25 ESC G Specifying canceling double strike printing S P 2...

Page 10: ...ine feed rate S P 48 ESC 3 Setting line feed rate of minimum pitch S P 49 Bit Image Commands Command Function MODE GS P Page ESC Specifying the bit image mode S P 50 GS Defining the download bit image S P 52 GS Printing the downloaded bit image S P 53 GS v 0 Printing of raster bit image S 54 Status Commands Command Function MODE GS P Page DLE EOT Sending status in real time S P 56 ESC v Sending pr...

Page 11: ...nd Function MODE GS P Page GS C Editing user NV memory S 82 FS p Printing the download NV bit images S 89 FS q Defining the download NV bit image S 88 Printer Function Setting Commands Command Function MODE GS P Page GS E Printer function setting command S 92 GS K Selecting print control method S 113 GS M Customizing the printer S 116 GS N Designating font attribute S 119 Special Commands Command ...

Page 12: ...SC RS Sound buzzer S P 131 GS A Execution of test printing S 132 GS I Sending the printer ID S P 133 GS P Specifying the basic calculation pitch S P 135 GS L GS 8 L Specifying graphics data S 136 GS C 0 Setting counter print mode S P 144 GS C 1 Setting counter mode A S P 145 GS C 2 Setting counter value S P 145 GS C Setting counter mode B S P 146 GS c Print the counter S P 146 In the Mode column S...

Page 13: ...e to use the values within the defined domain Outline Describes the functions of the command Caution Describes important points and cautionary notes as required Default Initial values for the command if it has arguments See Also Describes commands related to the command when it is used Sample Program Describes examples of coding on Quick Basic Examples are only for reference They may vary dependin...

Page 14: ...rogram Print Results LPRINT AAA CHR HA LPRINT BBB CHR HA CHR HA LPRINT CCC CHR HA CR Function Back to printing Code 0D H Outline 1 When memory switch 1 5 is OFF This command is ignored 2 When memory switch 1 5 is ON The same operation as LF is executed See Also LF Sample Program Print Results LPRINT AAA CHR HD LPRINT BBB CHR HD LPRINT CHR HD LPRINT CCC CHR HD AAA BBB CCC Print and line feed Print ...

Page 15: ...alized This command does not execute a paper cut After this command is executed the beginning of the line is taken as the start position for the next print This command is only effective when the PAGE MODE is selected See Also Appendix 4 1 4 Example of Using PAGE MODE ESC FF ESC L ESC S 2 At selection of Black mark paper valid only for Black mark specification Outline This command prints the data ...

Page 16: ...f 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 1 Explanation on PAGE MODE FF ESC L ESC S ...

Page 17: ...inimum pitch of the mechanism and the remainder is omitted In STANDARD MODE this command uses the vertical paper feed direction basic calculation pitch y In PAGE MODE this command acts differently depending on the start point 1 If the start point specified by ESC T is top left or bottom right the command uses the vertical paper feed direction basic calculation pitch y 2 If the start point specifie...

Page 18: ...main 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 Sample Program Print Results LPRINT AAAAA LPRINT CHR H1B d CHR 2 LPRINT AAAAA CHR HA AAAAA AAAAA 2 6 inch line feed ...

Page 19: ...n 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 1 Explanation on PAGE MODE ESC L ESC W ...

Page 20: ...the remainder is omitted In STANDARD MODE this command uses the horizontal basic calculation pitch x In PAGE MODE the basic calculation pitch used by this command depends on the start point 1 If the start point specified by ESC T is top left or bottom right the command uses the horizontal basic calculation pitch x 2 If the start point specified by ESC T is top right or bottom left the command uses...

Page 21: ...s not attached to the part having been skipped by the horizontal tab HT Neither is it attached to 90 right turned characters The underline width is as specified by the ESC command The default setting is 1 dot width Setting by this command is invalid for Kanji except setting and canceling of enhanced printing In case characters with different vertical magnification ratios coexist on the same line t...

Page 22: ...INT 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 A Font B Font A Emphasis Font B Emphasis Quadruple Underline Font A Underline Font A Double width Font A Double height ...

Page 23: ...NT CHR H1B CHR 0 DATA HFF H80 H00 LPRINT A CHR HA DATA H80 H80 H00 LPRINT CHR H1B CHR 1 DATA H80 H80 H00 LPRINT A CHR HA DATA H80 H80 H00 END DATA HFF HFF HFF SETCHR DATA HFF HFF HFF LPRINT CHR H1B DATA 12 LPRINT CHR 3 A DATA HFF HFF HFF FOR J 1 TO 2 DATA H80 H07 HF9 READ REP DATA H80 HFF HF9 LPRINT CHR REP DATA H87 HFE H01 FOR I 1 TO REP 3 DATA H9F H06 H01 READ D DATA HF8 H06 H01 LPRINT CHR D DAT...

Page 24: ...tal direction p is the data to be defined which indicate a pattern equal to a dots in horizontal direction from the left end The rest of the pattern on the right side is filled with space The number of data to be defined is s a Download characters thus defined remain valid until redefinition execution of ESC GS FS q GS A deletion by ESC or power OFF is performed Caution Download characters and dow...

Page 25: ...ing been skipped by horizontal tab HT command An underline is not attached to 90 right turned characters and white on black character Underline can also be specified canceled by ESC but the setting of command last processed is valid Specifying canceling by this command is not valid for kanji Underline width is constant in the specified thickness regardless of the character size Default n 0 See Als...

Page 26: ...ution 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 See Also ESC ESC ...

Page 27: ... n0 Function 0 Canceling emphasis printing 1 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 Default n 0 See Also ESC Sample Program Print Results LPRINT CHR H1B E CHR 0 LPRINT AAABBB CHR HA LPRINT CHR H1B E CHR 1 LPRINT AAABBB CHR HA AAABBB Emphasis c...

Page 28: ...0 Canceling double strike printing 1 Specifying double strike printing Caution With this printer double strike printing and emphasis printing provide completely the same results Valid for all character types except HRI characters Default n 0 See Also ESC E Sample Program Print Results LPRINT CHR H1B G CHR 0 LPRINT AAABBB CHR HA LPRINT CHR H1B G CHR 1 LPRINT AAABBB CHR HA AAABBB Double strike print...

Page 29: ...at has last been processed becomes valid Default n 0 See Also ESC ESC R n Function Selecting the international character set Code 1B H 52 H n Range 0 n 13 Outline Depending on the value of n one of the following character sets is specified n Character Set n Character Set 0 U S A 7 Spain I 1 France 8 Japan 2 Germany 9 Norway 3 U K 10 Denmark II 4 Denmark I 11 Spain II 5 Sweden 12 Latin America 6 It...

Page 30: ... Canceling 90 right turned characters 1 49 2 50 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 Default n 0 Sample Program Print Results LPRINT CHR H1B V CHR 0 LPRINT AAAAA LPRINT CHR H1B V CHR 1 LPRINT AAAAA CHR HA 90 rotation canceled 90 rotation specified ...

Page 31: ...ana 8 Code page PC857 2 Code page PC850 9 16 Windows code 3 Code page PC860 19 Code page PC858 4 Code page PC863 26 Thai code 18 5 Code page PC865 40 CodepagePC864 6 18 Code page PC852 255 Space page For user setting Default n 0 Overseas n 1 Domestic See Also 3 Character Code Table Sample Program Print Results LPRINT CHR H1B t CHR 0 LPRINT n 0 FOR C HB1 TO HB5 LPRINT CHR C NEXT C LPRINT CHR HA LPR...

Page 32: ...lows n0 Condition 0 Canceling inverted characters 1 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 Default n 0 Sample Program LPRINT CHR H1B CHR 0 LPRINT TEN CHR HA LPRINT ELEVEN CHR HA LPRINT CHR H1B CHR 1 LPRINT TEN CHR HA LPRINT ELEVEN CHR HA Print Results Inversion canceled Inversion s...

Page 33: ...valid for all characters alphanumeric kana and kanji except for HRI characters This command is ignored if either the vertical magnification or horizontal magnification is out of the defined range In STANDARD MODE the vertical direction is defined as the paper feed direction and the horizontal direction is defined as the direction perpendicular to the paper feed Setting memory SW 3 7 to ON allows t...

Page 34: ...ution The black white inversion works on internal and downloaded characters The black white inversion works also on the right spacing of characters defined by ESC SP This command does not affect the bit image downloaded bit image bar code HRI characters or the skip area specified by HT ESC or ESC This command does not affect the space between lines Black white inversion specification takes precede...

Page 35: ...st bit n0 Control by the lowest bit n0 is shown as follows n0 Function 0 The smoothing is canceled 1 The smoothing is specified Caution Smoothing is effective to printer s internal characters download characters and non standard characters Smoothing is not effective to characters with either of their vertical or horizontal magnification is 1 Default n 0 See Also ESC GS ...

Page 36: ...bs 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 See Also ESC D Sample Program LPRINT 012345678901234567890 CHR HA LPRINT CHR H9 AAA LPRINT CHR H9 BBB CHR HA LPRINT CHR H1B D LPRINT CHR 3 CHR 7 CHR 14 CHR 0 LPRINT CHR H9 AAA LPRINT CHR H9 BBB LPRINT CHR H9 CCC CHR HA Printing Result 01234567890123...

Page 37: ...command uses the horizontal paper feed direction basic calculation pitch x In PAGE MODE this command acts differently depending on the start point 1 If the start point specified by ESC T is top right or bottom left the command uses the vertical paper feed direction basic calculation pitch y 2 If the start point specified by ESC T is top left or bottom right the command uses the horizontal perpendi...

Page 38: ...s limit is ignored n k which denotes a setting position is input in the increasing order and ends at 00 H ESC D NULL clears all the set tab positions Following clearing the horizontal tab HT command is ignored Caution When the data n k is equal to or smaller than its preceding data n k 1 it is assumed that tab setting is finished If this is the case the next data onward will be processed as normal...

Page 39: ...hout affecting the printing in STANDARD MODE The character mapping position will be the start point of the print area specified by ESC W The basic calculation pitch x or y used by the following commands varies with the start point 1 If the start point is the top left or bottom right the characters are mapped in the direction perpendicular to the paper feed Commands using x ESC SP ESC S ESC Command...

Page 40: ...and the next data is handled as normal data The character mapping position will be the start point specified by ESC T in the print area If the horizontal start point horizontal length is greater than the horizontal printable area the horizontal printable area horizontal start point is taken as the horizontal length If the vertical start point vertical length is greater than the vertical printable ...

Page 41: ...ly 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 1 Explanation on PAGE MODE CAN ESC L ESC T GS P X Y Paper Dx Dy Print Area X Dx 1 Y Dy 1 Paper feed direction ...

Page 42: ... the left specify it as nL nH 256 65536 N The basic calculation pitch is set by GS P Fractions resulting from calculation are corrected with the minimum pitch of the mechanism and the remainder is omitted In STANDARD MODE this command uses the horizontal basic calculation pitch x In PAGE MODE this command acts differently depending on the start point 1 If the start point specified by ESC T is top ...

Page 43: ...nd alignment 1 49 Centering 2 50 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 Executes justification in the print area being set Default n 0 Sample Program LPRINT CHR H1B a CHR 0 LPRINT AAAAA CHR HA LPRINT CHR H1B a CHR 1 LPRINT AAAAA CHR HA LPRINT CHR H1B a CHR 2 LPRINT AAAAA CHR HA Print Results A...

Page 44: ...rection of character at the start position of data development is not shifted Start point used as the reference is set by ESC T The following operation occurs at the start point of ESC T 1 When start point is set at upper left or lower right the absolute position of paper feed direction vertical direction of character is set In this case basic calculation pitch y of vertical direction is used 2 Wh...

Page 45: ... GS P A fraction resulting from the calculation is corrected with the minimum pitch of the mechanism and the remainder is omitted When mapping character data if the print area specified is not wide enough to accommodate one character of the current font only the line for that character data is handled as follows 1 The print area is extended toward the right to be equivalent to one character of the...

Page 46: ...nd n Function 0 48 Moves print position after erasing the data in print buffer 1 49 Moves print position after printing the data in print buffer When printing is specified n 1 49 data in the print buffer is printed and line feeding in accordance with the specified line feed is executed When erasing is specified n 0 48 cancel processing of print data in the print buffer is executed with other data ...

Page 47: ...ea width The basic calculation pitches are defined by GS P Once defined the print area width is not changed if the basic calculation pitch is changed by GS P The print area width is calculated with the horizontal basic calculation pitch x defined by GS P A fraction resulting from the calculation is corrected with the minimum pitch of the mechanism and the remainder is omitted If the first characte...

Page 48: ...if the print area is narrower than the minimum width of the bit image two dots for single density or one dot for double density only the line for that image is handled as follows 1 The print area is extended toward the left so the left margin is decreased until it is equal to the minimum width of the image but not wider than the printable area Default nL 64 nH 2 See Also GS L GS P Printable area A...

Page 49: ...e A negative value is the complement of 65536 For example to move the position by N pitches up specify it as nL nH 256 65536 N The specification of a relative position outside the specified print area is ignored Depending on the start point specified by ESC T this command acts as follows 1 If the start point is the top left or bottom right the command specifies the relative position in the paper f...

Page 50: ...ODE and PAGE MODE Sample Program Print Results LPRINT AAAAA CHR HA LPRINT CHR H1B 3 CHR 0 LPRINT AAAAA CHR HA LPRINT CHR H1B 3 CHR 50 LPRINT AAAAA CHR HA LPRINT CHR H1B 2 LPRINT AAAAA CHR HA LPRINT AAAAA LPRINT CHR H1B J CHR 100 LPRINT AAAAA CHR HA LPRINT AAAAA CHR HA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA 1 6 inch line feed 0 360 inch line feed 1 6 inch line feed 50 360 inch line feed 100 360 ...

Page 51: ...DE this command uses the vertical paper feed direction basic calculation pitch y In PAGE MODE this command acts differently depending on the start point 1 If the start point specified by ESC T is top left or bottom right the command uses the vertical paper feed direction basic calculation pitch y 2 If the start point specified by ESC T is top right or bottom left the command uses the horizontal pe...

Page 52: ...excess of dot positions that can be printed on one line the excess data are discarded d is bit image data Bits to be printed are specified as 1 and those not as 0 The bit image modes specified by m are shown as follows Vertical Direction Horizontal Direction m Mode No Dot No Density of Dots Density of Dots Dot Max 0 8 dots single density 8 67DPI 101DPI 288 1 8 dots double density 8 67DPI 203DPI 57...

Page 53: ... HA RETURN LPRINT CHR H1B IMG2 LPRINT CHR 32 CHR 20 CHR 0 LPRINT CHR HFF GOSUB IMG2 LPRINT CHR HFF LPRINT CHR HA LPRINT CHR HFF LPRINT CHR H1B FOR I 1 TO 18 LPRINT CHR 33 CHR 20 CHR 0 LPRINT CHR H80 GOSUB IMG2 LPRINT CHR H00 LPRINT CHR HA LPRINT CHR H05 END NEXT I LPRINT CHR HFF LPRINT CHR HFF LPRINT CHR HFF RETURN Print Results 8 dots single density 8 dots double density 24 dots single density 24...

Page 54: ...rection 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 Caution Relations between the bit image data and the dots defined are shown below With this command executed the defined content of a downloaded character is cleared See Also GS dn2 1 dn2 2 dn2 2 dn2 2 ...

Page 55: ...nloaded bit image in a mode specified by m Modes that can be selected by m are shown below m Mode Name Dot Density in Vertical Direction Dot Density in 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 Caution When a downloaded bit image has not been defined this command is ignored W...

Page 56: ...hasis double strike inverting underlining back to white reversing etc does not affect the raster bit image If the print area specified by GS L and GS W is narrower than a minimum width the print area for that line only is extended to the minimum width The minimum width is one dot in NORMAL MODE m 0 48 and DOUBLE HEIGHT MODE m 2 50 and 2 dots in DOUBLE WIDTH MODE m 1 49 and QUADRUPLE SIZE MODE m 3 ...

Page 57: ... 55 7 6 5 4 3 2 1 0 xL xH 256 8dots 512dots yL yH 256dots 128 64 127 126 K 2 3 1 63 62 68 67 65 K 1 K 2 MSB LSB ...

Page 58: ...rallel interface specifications this command cannot be executed while the printer is in Busy state When memory switch 1 3 is ON the printer does not enter Busy state in the offline state and error state If ASB Automatic Status Back is enabled by GS a it is necessary to discriminate between the status due to ASB and the status due to this command This command can be executed even if printer setting...

Page 59: ... Paper end Sensor detects a paper out state or if the printer is out of paper when the Paper Near end Sensor is enabled by ESC c 4 At this time bit 5 1 3 Status caused by an error When n 3 is specified Bit Status Hex Decimal 0 Fixed 00 0 1 Fixed 02 2 No B M detection error Presenter error occurred 00 0 2 A B M detection error Presenter error occurred 04 4 Auto cutter error not occurred 00 0 3 Auto...

Page 60: ... 0 Fixed 0 0 1 Fixed 2 2 Cover is closed 00 0 2 Cover is open 04 4 No head over heat error occurs 00 0 3 Head overheat error occurs 08 8 4 Fixed 10 0 No low voltage error occurs 00 0 5 Low voltage error occurs 20 32 No high voltage error occurs 00 0 6 High voltage error occurs 40 64 7 Fixed 0 0 6 Error details 2 When n 6 is specified Bit Status Hex Decimal 0 Fixed 0 0 1 Fixed 2 2 No memory check e...

Page 61: ...gnal state With DTR DSR when the host is not ready for reception DSR signal is mark state this command waits till reception is ready As the printer is Busy in the Paper end state this command may be in the state not ready for reception This command is valid only for serial interface Value Bit Function 0 1 0 Paper Near end 1 With Paper No Paper 1 Presenter Sensor No Paper With Paper 2 Paper end Wit...

Page 62: ...ition status items disabled for ASB may also have changed The ASB function is disabled if all status items are disabled If the ASB function is enabled by default the host receives the status the first time the printer gets ready for communication after it is turned on The printer sends 4 bytes of status shown in the tables below without checking whether the host is ready to receive or busy The 4 b...

Page 63: ... is selected 04 4 Auto cutter error not occurred 00 0 3 Auto cutter error occurred 08 8 4 Unused 00 0 Unrecoverable error not occurred 00 0 5 Unrecoverable error occurred 20 32 Auto recovery error not occurred 00 0 6 Auto recovery error occurred 40 64 7 Unused 00 0 3 3rd byte Paper Sensor information Bit Status Hex Decimal Paper found by Paper Near end 1 Sensor 00 0 0 Paper not found by Paper Near...

Page 64: ...it Status Hex Decimal 0 Reserved 01 1 1 Reserved 02 2 2 Reserved 04 4 3 Reserved 08 8 4 Fixed 00 0 5 Reserved 00 00 6 Reserved 00 00 7 Fixed 00 0 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 ...

Page 65: ...tion of the receive buffer If ASB Automatic Status Back is enabled by GS a the host must discriminate between the status due to this command and the status due to ASB Paper Sensor status n 1 49 Bit Status Hex Decimal Paper found by Paper Near end 1 Sensor 00 0 0 Paper not found by Paper Near end 1 Sensor 01 1 Paper found by Paper Near end 2 Sensor 00 0 1 Paper not found by Paper Near end 2 Sensor ...

Page 66: ...ects by which Paper Sensor a Paper end signal should be output Each bit for n has the following meaning Value Bit Position 0 1 0 Paper Near end 1 Disabled Enabled 1 Paper Near end 2 Disabled Enabled 2 Paper end Disabled Enabled 3 Paper end Disabled Enabled 4 Undefined 5 Undefined 6 Undefined 7 Undefined Caution This command is valid only for the parallel interface Default n 0 ...

Page 67: ...en the paper supply almost runs out Each bit for n has the following meaning Value Bit Position 0 1 0 Paper Near end 1 Disabled Enabled 1 Paper Near end 2 Disabled Enabled 2 Undefined 3 Undefined 4 Undefined 5 Undefined 6 Undefined 7 Undefined Caution This printer can only select one kind of Paper Sensor a Paper Near end Sensor Default When memory switch 2 8 is OFF n 1 When memory switch 2 8 is ON...

Page 68: ... 0 FEED switch valid 1 FEED switch invalid Caution When the FEED switch is disabled with this command the paper cannot be fed by operating the FEED switch While switch operation is waited at the execution of macro the FEED switch is always enabled regardless of the setting of this command but no paper feed operation is carried out Default n 0 Sample Program LPRINT CHR H1B c5 CHR 0 When enabling th...

Page 69: ... macro definition the macro definition is stopped and the content of definition is cleared Even with ESC having been executed defined content is not cleared Therefore it is possible to include ESC into the content of macro definition Normal printing operation is carried out even during macro definition Default The initial value is not defined See Also GS Sample Program Print Results LPRINT CHR H1D...

Page 70: ...fied by n2 n3 1 Execution by FEED Switch After waiting for the time specified by n2 the ALARM LED flickers and the FEED switch is waiting to be pressed When it is pressed the macro is executed once This action is repeated n1 times Caution When this command is received while in macro definition suspension of macro definition is indicated At this time the defined content is cleared No execution take...

Page 71: ...ed 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 Sample Program Print Results LPRINT AAAAA LPRINT CHR H1B J LPRINT CHR 150 LPRINT CHR H1B i AAAAA Cut position AAAAA Paper feed direction Cut state ...

Page 72: ...ginning 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 Sample Program Print Results LPRINT AAAAA LPRINT CHR H1B J LPRINT CHR 150 LPRINT CHR H1B m AAAAA Cut position AAAAA Paper feed direction Cut state ...

Page 73: ...mand only works when it is entered at the beginning of a line Control to make the length of cut paper less than 10 mm is not executed For 1 Executes cutting of paper For 2 If n 0 the paper is fed to the cut position and then cut If n 0 the paper is fed by n basic calculation pitch inches past the cut position and then cut The basic calculation pitch is set by GS P The paper feed amount is calculat...

Page 74: ...acters refer to the bar code turned characters so that you can read them Caution The HRI characters are printed in the font selected with GS f Specify before the GS k command Default n 0 See Also GS f GS k Sample Program Print Results LPRINT CHR H1B 3 CHR 5 LPRINT CHR H1D h CHR 50 LPRINT CHR H1D H CHR 0 GOSUB BC LPRINT CHR H1D H CHR 1 GOSUB BC LPRINT CHR H1D H CHR 2 GOSUB BC LPRINT CHR H1D H CHR 3...

Page 75: ...ntB 9 24 2 50 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 Default n 0 See Also GS H Sample Program Print Results LPRINT CHR H1D h CHR 50 LPRINT CHR H1D H CHR 2 LPRINT CHR H1D f CHR 0 GOSUB BC LPRINT CHR H1D f CHR 1 GOSUB BC END BC LPRINT CHR H1D k LPRINT CHR 4 LPRINT 12 CH...

Page 76: ...ight of the bar code Code 1D H 68 H n 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 ...

Page 77: ...ge of k Range of d 0 UPC A 11 k 12 48 d 57 1 UPC E 11 k 12 48 d 57 2 JAN13 EAN 12 k 13 48 d 57 3 JAN8 EAN 7 k 8 48 d 57 4 CODE39 1 k 48 d 57 65 d 90 32 36 37 43 45 46 47 5 ITF 1 k An even number 48 d 57 6 CODABAR 1 k 48 d 57 65 d 68 36 43 45 46 47 58 For 2 m Bar Code System Range of n Range of d 65 UPC A 11 n 12 48 d 57 66 UPC E 11 n 12 48 d 57 67 JAN13 EAN 12 n 13 48 d 57 68 JAN8 EAN 7 n 8 48 d 5...

Page 78: ...ar code is not printed but only a paper feed is executed The amount of paper feed corresponds to the height of the bar code including the HRI characters if HRI character printing is specified irrespective of the line feed width set by a command such as ESC 2 or ESC 3 This command only works if no data exists in the print buffer If any data exists in the print buffer the data subsequent to m is han...

Page 79: ... will be printed as it is JAN 8 EAN This bar code consisting of numerals only has a fixed length of 8 columns a 7 column number entered from the host or application software plus a check digit 8th column automatically calculated inside the printer If the 8th column numeral is sent from the host the entire bar code will be printed as it is CODE39 This bar code consisting of upper case alphabetic ch...

Page 80: ...the above characters special characters are available Shift character SHIFT When used in code set A one character next to a Shift character is treated as a character of code set B When used in code set B one character next to a Shift character is treated as a character of code set A The Shift character cannot be used in code set C Code set select characters CODE A CODE B CODE C The code set follow...

Page 81: ...ith a code set select character it immediately aborts the command processing and handles the subsequent data as normal data If the printer received a character that is not available in the currently selected code set it immediately aborts the command processing and handles the subsequent data as normal data An HRI character corresponding to either a Shift character or a code select character is no...

Page 82: ...ariable length bar code consisting of alphabetic characters and numerals The start stop code is automatically added ITF Even column variable length bar code consisting of numerals only CODABAR NW 7 Variable length bar code consisting of alphanumeric characters Any one of A B C and D is required as the start stop code CODE93 Variable length bar code consisting of alphanumeric and control characters...

Page 83: ...ault n 3 Sample Program LPRINT CHR H1D h CHR 30 LPRINT CHR H1D w CHR 2 GOSUB BC LPRINT CHR H1D h CHR 50 LPRINT CHR H1D w CHR 3 GOSUB BC LPRINT CHR H1D h CHR 80 LPRINT CHR H1D w CHR 4 GOSUB BC END BC LPRINT CHR H1D k LPRINT CHR 4 LPRINT 12 CHR 0 RETURN Print Results Height 30 Magnification 2 Height 50 Magnification 3 Height 80 Magnification 4 ...

Page 84: ... Function 4 Sends remaining capacity number of bytes 5 53 GS C pL pH m fn b Function 5 Sends key code list of stored record 6 54 GS C pL pH m fn b d1 d2 d3 Function 6 Erases all areas of user NV memory in a lump pL PH specifies the number of bytes of m and the following to pL pH 256 c1 c2 specifies key code ID code of record Total capacity of user NV memory can be specified as any of 1K 64K 128K 1...

Page 85: ...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 pL pH m fn b c1 c2 d1 dk Range 6 pL pH 256 65535 0 pL 255 0 pH 255 m 0 fn 1 49 b 0 32 c1 126 32 c2 126 32 d 254 k pL pH 256 5 Outline Stores data to the record specified by c1 c2 When the data is present in NV memory it is replaced by new data ...

Page 86: ...detected is as shown below Hex Decimal Data Size Header 37H 55 1 byte Identifier 70H 112 1 byte Status 40H 64 1 byte NUL 00H 0 1 byte After sending Header NUL a response is received from host and next processing corresponding to the response is executed In case of Status with continuous block hexadecimal number 41H decimal number 65 Response ASCII Decimal Content of Processing ACK 6 Sends next dat...

Page 87: ...H 55 1 byte Identifier 28H 40 1 byte Capacity of use 30H 39H 48 57 1 6 bytes NUL 00H 0 1 byte fn 4 52 Function 4 Sending Remaining Capacity GS C pL pH m fn b Code 1D H 28 H 43 H pL pH m fn b Range pL pH 256 3 pL 3 pH 0 m 0 fn 4 52 b 0 Outline Sends the remaining capacity of user NV memory number of bytes of unused area Hex Decimal Data Size Header 37H 55 1 byte Identifier 29H 41 1 byte Capacity of...

Page 88: ...ed is as shown below Hex Decimal Data Size Header 37H 55 1 byte Idenifier 71H 113 1 byte Status 40H 64 1 byte NUL 00H 0 1 byte After sending Header NUL receives a response from the host and executes the next processing corresponding to the response In case of Status with continuous block hexadecimal number 41H decimal number 65 Response ASCII Decimal Content of Processing ACK 6 Sends next data gro...

Page 89: ...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 pL pH m fn b 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 ...

Page 90: ...ng area set by the functions GS L and GS W is not enough for one vertical line of the download NV bit image the line alone is dealt with as follows One vertical line of the bit image is 1 dot in NORMAL MODE m 0 48 and DOUBLE HEIGHT MODE m 2 50 and it is 2 dots in double WIDTH MODE m 1 49 and QUADRUPLE SIZE MODE m 3 51 1 The printing area is extended to the right side within the limits of the print...

Page 91: ...ion or using the paper feed switch etc The NV bit image refers to a bit image that is defined by the FS q command in the non volatile memory and printed by the FS p command When the STANDARD MODE is selected this command is only valid when it is written at the head of a line This command is invalid when PAGE MODE is selected This command becomes valid after the 7 bytes of FS q n xL xH yL yH are pr...

Page 92: ...xecuted it is not possible to send ASB status or to detect the printer status even when the ASB function is selected If this command is sent while a macro is still being defined the definition process will be stopped and the execution of this command will start NV bit images that are defined already are not initialized by using ESC command or by resetting the printer or turning the power off The c...

Page 93: ... 91 yL yH 256 8dots 768dots xL xH 256 8dots 512dots d49057 d49152 MSB LSB d97 d1 d2 d3 d96 Example When xL 64 xH 0 yL 96 yH 0 ...

Page 94: ... of serial interface Function 12 Sends the communication condition of serial interface set Function 48 Erasing paper layout Function 49 Setting paper layout Function 50 Sending paper layout information Function 255 Sets all contents set in printer function setting mode to the state at the time of shipment pL pH set the number of bytes following fn to pL pH 256 At the end of printer function settin...

Page 95: ...de transfer Hex No of Data Header 37H 1 ID 20H 1 NULL 00H 1 fn 2 Function 2 End of Printer Function Setting Mode GS E pL pH fn d1 d2 d3 Code 1D H 28 H 45 H pL pH fn d1 d2 d3 Range pL pH 256 4 pL 4 pH 0 fn 2 d1 79 O d2 85 U d3 84 T Outline Terminates printer function setting mode and executes resetting Clears input buffer and print buffer and restores various kinds of setting to the state at power ...

Page 96: ...n 48 Default Reports the power on 1 49 Does not report power on 48 Default Sets input buffer capacity to 4K bytes 2 49 Sets input buffer capacity to 45 bytes 48 Default Sets input buffer full and offline to be Busy 3 49 Sets to be busy with input buffer full 48 Default At the occurrence of receiving error replaces the data with 4 49 At the occurrence of receiving error ignores the data 48 Default ...

Page 97: ...efault Enables PNE 8 49 Disables PNE Setting memory switch 3 a 3 Bit b Set Value Function 48 Default After clearing cutter error can be restored by Feed SW 1 49 After clearing cutter error cannot be restored by Feed SW 48 Default When selecting cover open error as recoverable error recovered by cover close 2 49 When selecting cover open error as recoverable error recovered by command 48 Default Re...

Page 98: ...Next operation disabled with paper in presenter 7 49 Next operation enabled with paper in presenter 8 48 Default Undefined Bit 5 of memory switch 4 is valid when memory switch 4 4 is ON Bit 7 of memory switch 4 is valid when memory switch 4 4 is OFF fn 4 Function 4 Sending the Set Memory Switch Value GS E pL pH fn a Code 1D H 28 H 45 H pL pH fn a Range pL pH 256 2 fn 4 a 1 2 3 4 Outline Sends the ...

Page 99: ... capacity of NV graphics 5 Selects printing density 6 Selects printing speed 97 Selects the number of divisions for conducting head 116 Selects printing color 117 Selects paper width a 1 Sets the user NV memory capacity to the size specified by nL nH 256 nL nHx256 Memory Capacity 1 Default 1K bytes 2 64K bytes 3 128K bytes 4 192K bytes a 2 Sets NV graphic memory capacity to the size specified by n...

Page 100: ...el 4 90 5 Printing speed level 5 92 6 Printing speed level 6 94 7 Printing speed level 7 96 8 Printing speed level 8 98 9 Default Printing speed level 9 100 a 97 Sets the number of divisions for conducting head specified by nL nH 256 nL nHx256 No of Divisions for Conducting Head 2 Default 2 division conducting 4 4 division conducting a 116 Sets the paper specified by nL nH 256 nL nHx256 Paper 1 De...

Page 101: ...n 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 ...

Page 102: ... value No 30H 39H 1 3 Separation number 1FH 1 Customized value 30H 39H 1 5 NULL 00H 1 Configuration of customized value No Sending Data a 1st Byte 2nd Byte 3rd Byte 1 49 1 2 50 2 5 53 5 6 54 6 97 57 9 55 7 116 49 1 49 1 54 6 117 49 1 49 1 55 7 a 1 When user NV memory capacity is specified Setting Status Sending Data Stored Value Memory Capacity 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1 1K byt...

Page 103: ... 53 5 53 5 51 3 48 0 65531 75 54 6 53 5 53 5 51 3 49 1 65532 80 54 6 53 5 53 5 51 3 50 2 65533 85 54 6 53 5 53 5 51 3 51 3 65534 90 54 6 53 5 53 5 51 3 52 4 65535 95 54 6 53 5 53 5 51 3 53 5 0 Basic density 48 0 1 105 49 1 2 110 50 2 3 115 51 3 4 120 52 4 5 125 53 5 6 130 54 6 7 135 55 7 8 140 56 8 a 6 When printing speed is specified Setting Status Sending Data Stored Value Printing Speed 1st Byt...

Page 104: ... 4 a 116 When kind of paper is specified Setting Status Sending Data Stored Value Paper 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1 Single color 49 1 257 2 color paper 50 2 53 5 55 7 a 117 When paper width is specified Setting Status Sending Data Stored Value Paper Width 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 38 38mm 51 3 56 8 39 39mm 51 3 57 9 80 80mm 56 8 48 0 81 81mm 56 8 49 1 82 82mm ...

Page 105: ...ion of customized value No d1 d2 Function 31 30 Loads the character code page data specified by a in storage area to work area 30 31 Saves the character code page data in work area to the storage area of the font specified by a Work area Area where data is initialized by power OFF or resetting initialize Operation is made in accordance with the data set in this area Storage area Area where data is...

Page 106: ...ont C y 3 At selection of other than font C 128 c1 c2 255 0 x 12 At selection of font A 0 x 9 At selection of font B 0 x 8 At selection of font C 0 d 255 k c2 c1 1 Outline Defines the data in column format in units of character on the code page in RAM Operates only in printer function setting mode Bits 6 through 0 are not character data Data structure 9 17 d1 d4 d25 d3 d6 d27 bit7 6 5 4 3 2 1 0 7 ...

Page 107: ...font C 128 c1 c2 255 0 y 24 At selection of font A 0 x 17 At selection of font B 0 x 16 At selection of font C 0 d 255 k c2 c1 1 Outline Defines the data in raster format in units of character on the character code page in work area Operates only in printer function setting mode Bits 3 through 0 are not character data Data structure 12 24 d1 odd number d2 even number 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 ...

Page 108: ...age Data in Work Area GS E pL pH fn c1 c2 Code 1D H 28 H 45 H pL pH fn c1 c2 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 ...

Page 109: ... d4 d5 2400 50 2 52 4 48 0 48 0 4800 52 4 56 8 48 0 48 0 9600 57 9 54 6 48 0 48 0 19200 Default 49 1 57 9 50 2 48 0 48 0 38400 51 3 56 8 52 4 48 0 48 0 a 2 Setting to specified parity d1 Parity Setting 48 Default No parity 49 Odd parity 50 Even parity a 3 Setting to specified flow control d1 Flow Control 48 Default DSR DTR 49 XON XOFF a 4 Setting to specified data length d1 Setting Data Length 55 ...

Page 110: ...umber 1FH 1 Set value 30H 39H 1 6 NULL 00H 1 Set value a 1 At specification of baud rate Baud Rate d1 d2 d3 d4 d5 d6 2400 50 2 52 4 48 0 48 0 4800 52 4 56 8 48 0 48 0 9600 57 9 54 6 48 0 48 0 19200 Default 49 1 57 9 50 2 48 0 48 0 38400 51 3 56 8 52 4 48 0 48 0 57600 53 5 55 7 54 6 48 0 48 0 115200 49 1 49 1 53 5 50 2 48 0 48 0 a 2 At specification of parity d1 Parity Setting 48 No parity 49 Odd p...

Page 111: ...yout GS E pL pH fn d1 d2 d3 Code 1D H 28 H 45 H pL pH fn d1 d2 d3 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 ...

Page 112: ... vertical layout bL bH fL fH and horizontal layout gL gH hL hH in units of 1 mm Operates only in printer function setting mode Sets paper type by a a Paper Type 48 Receipt without black mark 49 Receipt with black mark added Sets vertical layout with bL bH fL fH When a 49 is Specified bL bH Distance from black mark top end to next black mark top end cL cH Distance from black mark top end to black m...

Page 113: ...e of paper layout Unit dot Sending data is as follows Hex No of Data Header 37H 1 Identifier 39H 1 Type of layout information 30H 39H 2 Separator 1FH 1 Layout information Paper type a Separator Paper type b Separator Paper type c Separator Paper type d Separator Paper type e Separator Paper type f Separator Paper type g Separator Paper type h 30H 39H 1FH 30H 39H 1FH 30H 39H 1FH 30H 39H 1FH 30H 39H...

Page 114: ...ue used in actual operation is sent in accordance with the set value of Function 49 or GS A Automatic setting of paper layout Layout information that has not been set is not sent fn 255 Function 255 Setting All Contents Set by Printer Function Setting Mode to the State at Shipment GS E pL pH fn a Code 1D H 28 H 45 H pL pH fn a Range pL pH 256 2 pL 2 pH 0 fn 255 a 3 5 7 11 255 Outline Restores vari...

Page 115: ... Sets the number of divisions for head conducting fn 48 Function 48 Setting Print Control Mode GS K pL pH fn m Code 1D H 28 H 4B H pL pH fn m Range pL pH 256 2 pL 2 pH 0 fn 48 0 m 4 48 m 52 Outline Sets print control mode m Print Control Mode 0 48 Selects the print control mode at power on 1 49 Sets print control mode 1 standard 2 50 Selects the print control mode at power on 3 51 Selects the prin...

Page 116: ...evel 5 75 252 Selects density level 4 80 253 Selects density level 3 85 254 Selects density level 2 90 255 Selects density level 1 95 0 Selects standard density 100 1 Selects density level 1 105 2 Selects density level 2 110 3 Selects density level 3 115 4 Selects density level 4 120 5 Selects density level 5 125 6 Selects density level 6 130 7 Selects density level 7 135 8 Selects density level 8...

Page 117: ...d level 5 6 54 Selects printing speed level 6 7 55 Selects printing speed level 7 8 56 Selects printing speed level 8 9 57 Selects printing speed level 9 Default m 0 Customized value setting value fn 97 Function 97 Setting Number of Divisions for Head Conducting GS K pL pH fn m Code 1D H 28 H 4B H pL pH fn m Range pL pH 256 2 pL 2 pH 0 fn 97 m 0 2 4 48 50 52 Outline Sets the number of divisions fo...

Page 118: ...e at initialization to be valid or invalid Work area Area where data is initialized by power OFF of resetting initialize Operation is made in accordance with the data set in this area Storage area Area where data is not initialized by power OFF or resetting initialize Commands for this function Command Type Command Status relations ESC c 3 GS a Macro registration GS Character type ESC M ESC R ESC ...

Page 119: ...ution of this command the printer is in Busy state and stops receiving operation Therefore data transmission from the host is prohibited fn 2 50 Function 2 Copies the set value stored in storage area to the work area GS M pL pH fn m Code 1D H 28 H 4D H pL pH fn m Range pL pH 256 2 pL 2 pH 0 fn 2 50 m 0 1 48 49 Outline Changes the set value of work area by the value of m m Function 0 48 Sets all se...

Page 120: ...n m Code 1D H 28 H 4D H pL pH fn m 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 Function 0 48 Does not copy data from storage area to work area at initialization 1 49 Copies data from storage area to work area at initialization ...

Page 121: ...Function 48 Selects character color fn 48 Function 48 Selects character color GS N pL pH fn m Code 1D H 28 H 4E H pL pH fn m 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 m Function 49 High energy 50 Low energy Default m 49 ...

Page 122: ...uring PNE detection the printer may stop printing The set value remains valid until the printer is restarted or a new value is set Default n 150 150 cm Sample Program LPRINT CHR H1B CHR H6E CHR 100 ESC Y n1 n2 Function Specifying length of paper feed after black mark detection Code 1B H 59 H n1 n2 Range 0 n1 255 0 n2 3 Length of paper feeding n1 256 n2 1 203 inch Outline This command specifies len...

Page 123: ...on When memory switch 4 4 is OFF this command is ignored If collection timer is set by GS R 1 n and printer receives this command before the time this command have the presenter collects the receipt GS R 1 n Function Setting receipt collection timer Code 1D H 52 H 31 H n Range 0 n 9 Outline This command sets the time from ejecting a receipt till collecting it to n 1 sec When n 0 this command does ...

Page 124: ...he 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 If no black mark is detected in the 18 inch long paper black mark detection error occurs causing BUSY and FAULT or DTR to be output and the print paper to be cut and then ejected See Also Appendix 4 5 Black Mark Layout and O...

Page 125: ... various kinds of control for black mark paper Executes the function specified by the function code fn Function No Function Function 48 Sends position information Function 66 Executes paper feeding to the cut position Function 67 Executes paper feeding to the initial position ...

Page 126: ...4 67 1 byte NULL 00H 0 1 byte Position information A Bit Function Hex Decimal 0 Fixed 00 0 Relation with cut position Not cut position 00 0 1 Relation with cut position Standby at cut position 02 2 Relation with initial position Not initial position 00 0 2 Relation with initial position Standby at initial position 04 4 3 5 Reserved 00 0 6 Fixed 40 64 7 Fixed 00 0 Position information B Bit Functio...

Page 127: ...already been standby at the cut position paper feeding to the next cut position is executed fn 67 Function 67 Executing Paper Feeding to Initial Position FS L pL pH fn m Code 1C H 28 H 4C H pL pH fn m Range pL pH 256 2 pL 2 pH 0 fn 67 m 48 49 Outline Executing paper feeding to initial position m Operation 48 Executes paper feeding to the next initial position When however the printer has already b...

Page 128: ...eginning of the line where the error occurred 2 The printer clears the receive buffer and the print buffer and then recovers from the error Caution n 1 or n 2 shall be used after removing the error When receiving a code row coinciding with the code configuring this command the same operation as this command takes place and attention by the user is required Example When corresponding code row is pr...

Page 129: ...tifier 25H 37 1 byte NUL 00H 0 1 byte Enters the state of selecting STANDARD MODE Caution When receiving a code row coinciding with the code configuring this command the same operation as this command takes place and attention by the user is required Example When corresponding code row is present in bit image data This command must not be used between other command code rows Example This command i...

Page 130: ...ceived data until it is selected by this command Value Bit Equipment 0 1 0 Printer Invalid Valid 1 Not defined 2 Not defined 3 Not defined 4 Not defined 5 Not defined 6 Not defined 7 Not defined Caution Even when the printer has not been selected it can become BUSY state through printer operation When the printer is deselected this printer discards all the data until it is selected with this comma...

Page 131: ...ings 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 Sample Program LPRINT CHR H1B CHR H30 LPRINT CHR H1B V CHR 1 LPRINT AAA CHR HA LPRINT CHR H1B LPRINT AAA CHR HA Print Results Each setting has been initialized by this command ...

Page 132: ...gs for PAGE MODE and STANDARD MODE are changed to the settings for PAGE MODE use 1 Spacing setting ESC SP FS S 2 Line feed width setting ESC 2 ESC 3 The following commands are valid only in PAGE MODE 1 ESC V Specifying canceling 90 right turned characters 2 ESC a Aligning the characters 3 ESC Specifying canceling the inverted characters 4 GS L Setting the left margin 5 G3S W Setting the print area...

Page 133: ...ing setting ESC SP FS S 2 Line feed width setting ESC 2 ESC 3 The following commands are valid only in setting in STANDARD MODE 1 ESC W Sets the space amount for setting print area in PAGE MODE 2 ESC T Selects the printing direction of character in PAGE MODE 3 GS Sets the absolute position of character vertical direction in PAGE MODE STANDARD MODE is selected when the printer is turned on or reset...

Page 134: ...er status concatenated printing 6 54 Rolling pattern concatenated printing 7 55 Demo pattern concatenated printing Caution This command is only valid when processed at the head of a line during the STANDARD MODE The command will be ignored in PAGE MODE During macro definition if this command is processed the macro definition is suspended and the command starts being processed Printer will reset it...

Page 135: ...by firmware version 66 Manufacturer name CBM 67 Model name PPU 700 68 Serial number Subject to serial number 69 Kinds of multi language fonts Japanese Kanji specifications KANJI Chinese Specifications GB 18030 Chinese Specifications GB 2312 Thai Specifications THAI 3 PASS Korean Specifications KOREA C 5601C Type ID If n 2 50 is specified Bit Meaning Hex Decimal Does not support 2 byte code 00 0 0 ...

Page 136: ...ly when Black mark paper is selected If the host is not ready to receive the printer waits for the host to become ready to receive Under XON XOFF control the printer sends the printer ID without checking whether or not the host is ready to receive Because this command is executed when data is mapped in the receive buffer there may be a delay between command receiving and printer ID sending dependi...

Page 137: ...SP ESC ESC FS S GS L GS W 2 Commands using y ESC 3 ESC J In PAGE MODE the parameters used depend on the character orientation as follows 1 If the start point specified by ESC T is the top left or bottom right The characters are mapped in the direction perpendicular to the paper feed Commands using x ESC SP ESC ESC W ESC FS S Commands using y ESC 3 ESC J ESC W GS GS 2 If the start point specified b...

Page 138: ...de list of defined NV graphics 65 GS L pL pH m fn d1 d2 d3 Function 65 Erases all data of NV graphics in a lump 66 GS L pL pH m fn kc1 kc2 Function 66 Erases the specified NV graphics data 67 GS L pL pH m fn a kc1 kc2 b xL xH yL yH c d1 dk 1 c d1 dk b Function 67 Defines raster graphics data to NV memory 69 GS L pL pH m fn kc1 kc2 x y Function 69 Prints the specified NV graphics 112 GS L pL pH m f...

Page 139: ...cter code expressed in decimal notation and sends it from higher digit Data size is variable All definition area can be specified by GS E out of 0 64K 128K 192K 256K 320K 384K Default value is 384k bytes fn 2 50 Function 50 Printing Graphics Data Stored in Print Buffer GS L pL pH m fn Code 1D H 28 H 4C H pL pH m fn Range pL pH 256 2 pL 2 pH 0 m 48 fn 2 50 Outline Prints the graphics data stored in...

Page 140: ...pH 0 m 48 fn 3 51 Outline Sends the remaining amount of NV graphics area number of bytes of unused area Hex Decimal Data Size Header 37H 55 1 byte Identifier 31H 49 1 byte Data 30H 39H 48 57 1 8 byte NUL 00H 0 1 byte Converts the remaining amount to character code expressed in decimal notation and sends it from higher digit Data size is variable ...

Page 141: ...0 1 byte When 40 or more key codes are present they are sent by being divided in unit of 40 max Status with continuous transmission data group is 41H Status without continuous transmission data group is 40H After sending Header NUL receives a response from the host and executes the next processing corresponding to the response In case of Status with continuous block hexadecimal number 41H decimal ...

Page 142: ...6 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 66 Function 66 Erasing Specified NV Graphics Data GS L pL pH m fn kc1 kc2 Code 1D H 28 H 4C H pL pH m fn kc1 kc2 Range pL pH 256 4 pL 4 pH 0 m 48 fn 66 32 kc1 126 32 kc2 126 Outline Erases the NV graphics data defined by key code kc1 kc2 ...

Page 143: ...l defined areas can be specified by GS E from 0 64K 128K 192K 256K 320K 384K bytes Default value is 384K bytes Outline Defines raster type graphics data to NV memory b specifies the number of data colors xL xH specifies the horizontal direction of defined data to xL xH 256 yL yH specifies the vertical direction of defined data to yL yH 256 c specifies the color of defined data c Color of Defined D...

Page 144: ...L pL pH m fn kc1 kc2 x y Code 1D H 28 H 4C H pL pH m fn kc1 kc2 x y 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 ...

Page 145: ...specified 1 yL yH 256 1662 with by 1 1 yLyH 256 831 with by 2 When 2 color paper is specified 1 yL yH 256 831 with by 1 1 yL yH 256 415 with by 2 0 d 255 k int xL xH 256 7 8 yL yH 256 Outline Stores raster type graphics data to print buffer as large as x times horizontally y times vertically xL xH specifies the horizontal direction of raster graphics data to xL xH 256 yL yH specifies the vertical ...

Page 146: ... 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 m Print Position Processing when Counter Does Not Reach Specified Number of Digits 0 48 Right justified Space is added to the left 1 49 Right justified 0 is added to the left 2 50 Left justified Space is added to the right Default n...

Page 147: ...unter is reset r specifies the times of repetition with counting value fixed Count Mode Condition Min Max Count up aL aH 256 bL bH 256 and n 0 and r 0 aL aH 256 bL bH 256 Count down aL aH 256 bL bH 256 and n 0 and r 0 bL bH 256 aL aH 256 Count stop aL aH 256 bL bH 256 or n 0 or r 0 Default aL aH 256 1 aL 1 aH 0 bL bH 256 65535 bL 255 bH 255 n 1 r 1 GS C 2 nL nH Function Setting counter value Code ...

Page 148: ...s the number of repetition with count value fixed sn specifies the number of steps when serial counter is reset sc specifies the counting value of serial counter Count Mode Condition Max Min Count up sa sb and sn 0 and sr 0 sa sb Count down sa sb and sn 0 and sr 0 sb sa Count stop sa sb or sn 0 or sr 0 Default sa 1 sb 65535 sn 1 sr 1 sc 1 GS c Function Print the counter Code 1D H 63 H Outline Stor...

Page 149: ... D E F 0 NUL DLE 0 P p Ç É á α 1 XON 1 A Q a q ü æ í β 2 2 B R b r é Æ ó Γ 3 XOFF 3 C S c s â ô ú π 4 EOT DC4 4 D T d t ä ö ñ 5 ENQ 5 E U e u à ò Ñ σ 6 6 F V f v å û a μ 7 7 G W g w ç ù o τ 8 CAN 8 H X h x ê ÿ Φ 9 HT 9 I Y i y ë Ö θ A LF J Z j z è Ü Ω B ESC K k ï δ C FF FS L l î ⁿ D CR GS M m ì E RS N n Ä Pt F O _ o Å ƒ ...

Page 150: ... ア チ ム 円 2 2 B R b r イ ツ メ 年 3 XOFF 3 C S c s ウ テ モ 月 4 EOT DC4 4 D T d t エ ト ヤ 日 5 ENQ 5 E U e u オ ナ ユ 時 6 6 F V f v ヲ カ ニ ヨ 分 7 7 G W g w ァ キ ヌ ラ 秒 8 CAN 8 H X h x ィ ク ネ リ 9 HT 9 I Y i y ゥ ケ ノ ル 市 A LF J Z j z ェ コ ハ レ 区 B ESC K k ォ サ ヒ ロ 町 C FF FS L l ャ シ フ ワ 村 D CR GS M m ュ ス ヘ ン 人 E RS N n ョ セ ホ F O _ o ッ ソ マ ...

Page 151: ... 1 A Q a q ü æ í Ð β 2 2 B R b r é Æ ó Ê Ô 3 XOFF 3 C S c s â ô ú Ë Ò 4 EOT DC4 4 D T d t ä ö ñ È õ 5 ENQ 5 E U e u à ò Ñ Á Õ 6 6 F V f v å û a  ã Í μ 7 7 G W g w ç ù o À à Πþ 8 CAN 8 H X h x ê ÿ Ï Þ 9 HT 9 I Y i y ë Ö Ú A LF J Z j z è Ü Û B ESC K k ï ø Ù C FF FS L l î ý D CR GS M m ì Ø Ý E RS N n Ä Ì F O _ o Å ƒ ...

Page 152: ...É á α 1 XON 1 A Q a q ü À í β 2 2 B R b r é È ó Γ 3 XOFF 3 C S c s â ô ú π 4 EOT DC4 4 D T d t ã õ ñ 5 ENQ 5 E U e u à ò Ñ σ 6 6 F V f v Á Ú a μ 7 7 G W g w ç ù o τ 8 CAN 8 H X h x ê Ì Φ 9 HT 9 I Y i y Ê Õ Ò θ A LF J Z j z è Ü Ω B ESC K k Í δ C FF FS L l Ô ⁿ D CR GS M m ì Ù E RS N n à Pt F O _ o Â Ó ...

Page 153: ... DLE 0 P p Ç É α 1 XON 1 A Q a q ü È β 2 2 B R b r é Ê ó Γ 3 XOFF 3 C S c s â ô ú π 4 EOT DC4 4 D T d t Â Ë 5 ENQ 5 E U e u à Ï σ 6 6 F V f v û μ 7 7 G W g w ç ù τ 8 CAN 8 H X h x ê Î Φ 9 HT 9 I Y i y ë Ô θ A LF J Z j z è Ü Ω B ESC K k Ï δ C FF FS L l Î ⁿ D CR GS M m Ù E RS N n À Û F O _ o ƒ ...

Page 154: ...á α 1 XON 1 A Q a q ü æ í β 2 2 B R b r é Æ ó Γ 3 XOFF 3 C S c s â ô ú π 4 EOT DC4 4 D T d t ä ö ñ 5 ENQ 5 E U e u à ò Ñ σ 6 6 F V f v å û a μ 7 7 G W g w ç ù o τ 8 CAN 8 H X h x ê ÿ Φ 9 HT 9 I Y i y ë Ö θ A LF J Z j z è Ü Ω B ESC K k Ï ø δ C FF FS L l Î ⁿ D CR GS M m Ì Ø E RS N n Ä Pt F O _ o Å ƒ ...

Page 155: ...í Đ β 2 2 B R b r é í ó Ď Ô 3 XOFF 3 C S c s â ô ú Ë Ń ˇ 4 EOT DC4 4 D T d t ä ö Ą ď ń 5 ENQ 5 E U e u ů Ľ ą Á Ň ň 6 6 F V f v ć ľ Ž Â Ă Í Š 7 7 G W g w ç Ś ž Ě ă î š 8 CAN 8 H X h x ł ś Ę Ş ĕ Ŕ ゚ 9 HT 9 I Y i y ë Ö ę Ú A LF J Z j z Ő Ü ŕ B ESC K k ő Ť ź Ű ű C FF FS L l î Č ý Ř D CR GS M m Ź Ł ş Ż Ţ Ý ř E RS N n Ä ż Ů ţ F O _ o Ć č ...

Page 156: ...Б С б с ë 2 2 B R b r В Т в т Є 3 XOFF 3 C S c s Г У г у є 4 EOT DC4 4 D T d t Д Ф д ф Ї 5 ENQ 5 E U e u Е Х е х ї 6 6 F V f v Ж Ц ж ц ў 7 7 G W g w З Ч з ч ў 8 CAN 8 H X h x И Ш и ш ゚ 9 HT 9 I Y i y Й Щ й щ A LF J Z j z К Ъ к ъ B ESC K k Л Ы л ы C FF FS L l М Ь м ь No D CR GS M m Н Э н э E RS N n О Ю о ю F O _ o П Я п я ...

Page 157: ...A Q a q ü æ í a β 2 2 B R b r é Æ ó Ê ô 3 XOFF 3 C S c s â ô ú Ë ò 4 EOT DC4 4 D T d t ä ö ñ È õ 5 ENQ 5 E U e u à ò Ñ Á Õ 6 6 F V f v å û Ğ Â ã Í μ 7 7 G W g w ç ù ĝ À Ã Î 8 CAN 8 H X h x ê Í Ï ゚ 9 HT 9 I Y i y ë Ö Ú A LF J Z j z è Ü Û B ESC K k ï ø Ù C FF FS L l î Ì D CR GS M m I Ø ÿ E RS N n Ä Ş Ì F O _ o Å ş ...

Page 158: ... 156 3 1 10 Code page 00H to 7FH PC864 Arabic ...

Page 159: ... Á Ñ á ñ 2 2 B R b r Â Ò â ò 3 XOFF 3 C S c s ƒ Ã Ó ã ó 4 EOT DC4 4 D T d t Ä Ô ä Ô 5 ENQ 5 E U e u µ Å Õ å Õ 6 6 F V f v Æ Ö æ ö 7 7 G W g w Ç ç 8 CAN 8 H X h x ˆ È Ø è ø 9 HT 9 I Y i y É Ù é ù A LF J Z j z Š š ª º Ê Ú ê ú B ESC K k Ë Û ë û C FF FS L l Œ œ Ì Ü ì ü D CR GS M m Í Ý í ý E RS N n Ž ž Î Þ î þ F O _ o Ÿ Ï ß ï ÿ ...

Page 160: ...E 0 U S A 1 France à ç é ù è 2 Germany Ä Ö Ü ä ö ö β 3 U K 4 Denmark I Æ Ø Å æ ø å 5 Sweden É Ä Ö Å Ü é ä ö å ü 6 Italy é ù à ò è ì 7 Spain I Pt Ñ ñ 8 Japan 9 Norway É Æ Ø Å Ü é æ ø å ü 10 Denmark II É Æ Ø Å Ü é æ ø å ü 11 Spain II á Ñ é ì ñ ó ú 12 Latin America á Ñ é ü ì ñ ó ú 13 Korea ...

Page 161: ...hen an ESC FF is executed the data received until then is printed in a batch When an FF is executed the data received until then is printed in a batch after which the printer returns to STANDARD MODE An ESC S causes the printer to immediately return to STANDARD MODE any print data however that has been stored in PAGE MODE is not printed Instead it will be cleared Switching Between STANDARD MODE an...

Page 162: ...ine If the print data is a downloaded bitmap image or a bar code the print data is mapped with its lower left point B aligned to the baseline See the Figure 4 2 Mapping Positions for Print Data When attempting to map the HRI characters of a bar code however the section above the standard character height will not be printed 3 If print data or the space to the right of a character extends beyond th...

Page 163: ...ns for Print Data Double height character 24 2 6 42 Bit image nH 256 n L ESC m nL nH 6 8 4 Downloaded bit image GS x y Bar code GS k m HRI Characters GS h n 24 3 3 6 1 1 x 8 2 Point B Point B Point B Point B Baseline Mapping direction Baseline Print area dx dy x0 y0 24 3 Point A ...

Page 164: ...h 6 After printing the printer returns to STANDARD MODE Example 1 100 PRINT 1 CHR H1B L 110 PRINT 1 CHR H1B W CHR 0 CHR 0 CHR 0 CHR 0 120 PRINT 1 CHR 200 CHR 0 CHR 144 CHR 1 130 PRINT 1 CHR H1B T CHR 0 140 PRINT 1 Page mode lesson Test1 150 PRINT 1 CHR HC The program in Example 1 reserves a print area of 200 400 pitches extending from the start point 0 0 and then prints the text Page Mode lesson T...

Page 165: ...ill be erased Example 2 100 PRINT 1 CHR H1B L 110 PRINT 1 CHR H1B W CHR 0 CHR 0 CHR 0 CHR 0 120 PRINT 1 CHR 200 CHR 0 CHR 144 CHR 1 130 PRINT 1 CHR H1B T CHR 0 140 PRINT 1 Page mode lesson2CAN command 150 PRINT 1 CHR HA 160 PRINT 1 ABCDEFGHIJKLMNOPQRST1234567890 170 PRINT 1 CHR HC First an ESC L is sent to switch to PAGE MODE 100th line Next an ESC W is used to send eight arguments n1 to n8 to res...

Page 166: ...int 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 When strings are removed with CAN the area where the string would have been is not used by the rest of the data instead it is converted into a sequence of spaces Figure 4 5 Print Result of Adding a Program of Example 3 to Example 2 Page mode lesson 2CAN comman ABCDE...

Page 167: ... is used for data transmission You may switch to the other modes from Compatibility mode Nibble Mode Data is transmitted from the printer to the host in units of four bits The data transmission from the printer uses a status signal line To send one byte of data in this mode two sets of four bit data are sent consecutively Byte Mode Data is transmitted from the printer to the host in units of one b...

Page 168: ...e and function for different modes and different phases Aborted Transfer Termination from Other Modes except EPP Compatibility Mode Forward Data Transfer Host Xmits Data End forward Data Xfer Forward Idle Termination Event 1 Failed Negotiation Event 6 Negotiation Event 6 Event 11 Host Busy Data Not Available Event 11 Reverse Data Transfer Host Busy Data Available Event 7 Event 7 Event 18 Reverse I...

Page 169: ...Low Event 1 4 The printer responds by setting PtrClk nAck to Low nDataAvail nFault to High Xflag Select to High and AckDatReq PError to High Event 2 5 The host sets HostClk nStrobe to Low In response the printer latches the data of the communication mode request bit Event 3 6 The host sets HostClk nStrobe and HostBusy nAutoFd to High Event 4 7 If the printer has communication data to send to the h...

Page 170: ...a communication mode that is not supported by the printer it must move into the Termination phase and return to the Compatibility mode Table 2 4 1 Definitions of Request Bits in IEEE 1284 Communication Mode Xflag Bit Definition Bit Values 76543210 Hex Code When In the Supported Printer 7 Request Extensibility Link 10000000 80H High Low 6 Request EPP Mode 01000000 40H High Low 5 Request ECP Mode wi...

Page 171: ... as shown below Event 13 PtrBusy Busy Returned to the status given in Forward mode nDataAvail nFault Set to Low if there is data to be sent AckDataReq PError Set to Low if there is data to be sent Xflag Select Set to the current mode i e set to Low 7 The printer sets PtrClk nAck to High Event 11 8 After Event 11 the host checks the signals set by the printer in Event 13 With this check the host de...

Page 172: ...he 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 Event 20 15 Finally the printer responds to the host by setting AckDataReq PError to Low and then the host moves to the Host Busy Data Available phase Event 21 ...

Page 173: ...ckDataReq PError Set to Low if there is data to be sent Xflag Select Set to the status given during the last negotiation i e set to Low 6 The printer sets PtrClk nAck to High Event 10 and ends the Byte handshake Event 11 7 The host indicates that it has succeeded in receiving the data This is indicated by setting HostClk nStrobe to Low Event 16 and then to High Event 17 8 Events 10 and 16 may occu...

Page 174: ...tion When the host receives the device ID string of the length indicated by the first two bytes it must do so consecutively without terminating the process until the entire device ID is received If the process is terminated halfway the printer discards the rest of the string when the printer receives a new request for the device ID it sends the device ID beginning from the first character of the I...

Page 175: ...in the Compatibility mode and sets PtrClk nAck to High Events 26 and 27 5 The host sets HostBusy nAutoFd to High to terminate the handshake and return the interface to the Compatibility Mode Idle phase Event 28 6 The printer changes PtrBusy Busy to be able to receive data from the host 2 Immediate termination 1 If the interface is deactivated IEEE 1284 Active Low without Event 22 having taken plac...

Page 176: ...atus 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 Identification of Send Status Command and Function Status GS I 0 0 B GS r 0 0 B XON 00010001 B XOFF 00010011 B DLE EOT 0 1 10 B ASB 1st byte 0 1 00 B ASB 2nd 4th bytes 0 0 B ...

Page 177: ... Fixed MSW1 7 DSR Signal Invalid Valid MSW1 8 INIT Signal Invalid Valid MSW2 1 Reserved Fixed MSW2 2 Reserved Fixed MSW2 3 Spool print Invalid Valid MSW2 4 Full col print PPU EPSON MSW2 5 Resume aft PE Print next line Print top MSW2 6 Reserved Fixed MSW2 7 Reserved Fixed MSW2 8 PNE sensor Valid Invalid MSW3 1 Resum Cttr Err Valid Invalid MSW3 2 Resum Open Err Close Command MSW3 3 Parallel 31 Pin V...

Page 178: ...wer ON Information OFF 0 ON 1 Power ON Info Send Not send Operation at ON 1 Power ON Info function is disabled and no status is sent to the computer Operation at OFF 0 Power ON Info function is valid and status is sent to the computer MSW 1 2 Capacity of input buffer Receive buffer Function Selects the size of input buffer OFF 0 ON 1 Buffer Size 4K bytes 45 bytes Operation at ON 1 Sets input buffe...

Page 179: ...the BUSY state at Power ON at the use of Reset through I F and at self printing Printer Status MSW1 3 OFF MSW1 3 ON At Power ON at the use of Reset through I F During self printing At cover open During paper feed by FEED SW At Paper End Including Print Stop with PNE At the occurrence of error Offline At the Standby state during macro execution by FEED SW Buffer full At receive buffer full MSW 1 4 ...

Page 180: ...t ignores CR code and causes no operation MSW1 6 Omitted for reservation MSW 1 7 Reset Valid Invalid by DSR Serial I F 6 Pin Function Selects whether to reset the printer by the signal of DSR Serial interface 6 Pin OFF 0 ON 1 DSR Signal Invalid Valid Operation at ON 1 Used as Reset signal Operation at OFF 0 Not used as Reset signal MSW 1 8 Valid Invalid of Reset by the Reset signal of INIT Serial ...

Page 181: ... the specified amount when a Cut command is entered When no Cut command is entered and the input data does not reach the specified amount the data stored in the buffer is not printed Operation at OFF 0 Disables buffered printing MSW 2 4 Full column Printing Function Selects the processing when print data is at the end of a line or at the right end of print width OFF 0 ON 1 Full col print CBM1000 E...

Page 182: ...uble height character or page mode and after recovery the printer resumes printing from the top of the remaining print data Operation at OFF 0 Prints from the succeeding data When the printer cover is opened or PE is detected during printing and after recovery the printer resumes printing from the next position following the error MSW 2 6 Omitted for reservation MSW 2 7 Omitted for reservation MSW...

Page 183: ...SW 3 2 Clearing Cover Open Error Function Selects the method of clearing Cover Open error OFF 0 ON 1 Resum Open Err Close Command Operation at ON 1 When the printer detects that cover is closed and the printer receives a command DLE ENQ n the error is cleared Operation at OFF 0 When the printer detects that the cover is closed it automatically clears the error MSW 3 3 Reset signal for parallel I F...

Page 184: ...Operation at ON 1 TM L90 Sets TM L90 compatible emulation NV image command black mark layout command etc Operation at OFF 0 PPU231 Sets PPU series compatible emulation NV image command black mark layout command etc MSW 3 8 Clearing Cover Open Error Function Selects the method of clearing Cover Open error OFF 0 ON 1 Opening w Printing Auto Possible Operation at ON 1 Printer clears error when it rec...

Page 185: ...on printing at power ON Enables demo operation of paper at power ON Supplementary information In demo operation paper feed of 9 lines cutting and paper ejection are carried out MSW 4 4 Valid Invalid of paper collecting operation Function Selects Valid Invalid of collecting paper when the presenter sensor is detecting paper OFF 0 ON 1 Collect Mode Invalid Valid Operation at ON 1 Enables paper colle...

Page 186: ... by the immediate collection command GS R 0 MSW 4 6 Selecting Paper Ejection Start Timing from Presenter Function Selects the timing for starting paper ejection from the presenter When MSW4 4 is ON and MSW4 5 is OFF the printer performs direct eject operation regardless of the status of MSW4 6 OFF 0 ON 1 Collect Method General Direct Operation at ON 1 Ejects directly When paper reaches the top of ...

Page 187: ...ue Invalid 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 Printer ejects next paper after the sensor has become the state of not detecting paper MSW 4 8 Omitted for reser...

Page 188: ...rox 32 5 mm If black mark is detected within this distance next black mark is detected Cut position when black mark is detected by the GS S command black mark detection command is about 45 mm with the top of black mark used as a reference Amount of automatic paper feed at the detection of black mark can be set by the ESC Y n1 n2 command Basically cut command can be executed in any condition If min...

Reviews: