background image

 

 

 

 

 

 

Programming Reference

International Edition, Rev. 2.2 

Beta Release

Summary of Contents for VERSAJET

Page 1: ...1 Programming Reference International Edition Rev 2 2 Beta Release...

Page 2: ...i Draw graphics Can only draw line box Add draw circle function parameters and bytes are different US 7 Paper sensor setting Default n1 1 n2 0 Default n1 1 n2 1 US g Get printer configuration Paper Se...

Page 3: ...ontains proprietary information that is protected by copyright All rights are reserved No part of this publication may be photocopied reproduced or translated into any language in any forms in an elec...

Page 4: ...n JCL and ESC POS 3 ESC POS Emulation 3 JCL Feature Command Sets 7 Chapter 2 Command Overview 10 Command Notation 11 Explanation of Terms 12 Supported Commands 15 Commands Listed by Function 16 Comman...

Page 5: ...erence VERSAJET ESC 37 ESC 38 ESC 39 ESC 41 ESC 43 ESC 2 44 ESC 3 45 ESC 46 ESC 47 ESC 48 ESC D 49 ESC E 51 ESC G 52 ESC J 53 ESC L 55 ESC M 57 ESC R 58 ESC S 59 ESC T 60 ESC V 62 ESC W 63 ESC 66 ESC...

Page 6: ...eference VERSAJET FS 72 FS 73 FS 2 74 FS S 75 FS W 77 FS p 78 FS q 79 GS 82 GS 85 GS K 86 GS k 88 GS 134 GS 136 GS 138 GS 140 GS B 142 GS C 0 143 GS C 1 145 GS C 2 147 GS H 148 GS I 149 GS L 150 GS P...

Page 7: ...RSAJET GS f 158 GS h 159 GS k 160 GS v 0 169 GS w 171 RS A 172 RS B 173 RS E 174 RS F 175 RS G 176 RS J 177 RS L 178 RS a 179 RS e 181 RS i 182 RS m 189 RS n 190 RS p 190 RS q 193 RS r 195 RS t 197 RS...

Page 8: ...S 4 204 Programming Reference VERSAJET US 7 205 US A 206 US C 208 US G 209 US H 210 US I 211 US J 212 US K 213 US L 214 US M 215 US a 216 US c 218 US g 220 US h 222 US k 224 US m 225 US n 226 US r 227...

Page 9: ...erfaces the VersaJet is compatible with most Bluetooth enabled devices by incorporating Bluetooth 2 0 wireless technology You can select the most suitable model to fulfill your demand This Programming...

Page 10: ...Job Control Language is the proprietary printer language of Cino mobile printer supporting ESC POS emulation This not only shortens user s learning cycle but also minimizes the system integration eff...

Page 11: ...age mode CR Print and carriage return CAN Cancel print data in page mode ESC FF Print data in page mode ESC SP Set right side character spacing ESC Select print mode s ESC Set absolute print position...

Page 12: ...urn double strike mode on off ESC J Print and feed paper ESC L Select page mode ESC M Select character font ESC R Select an international character set ESC S Select standard mode ESC T Select print di...

Page 13: ...character spacing FS W Turn quadruple size mode on off for Kanji characters FS p Read the image file from flash memory FS q Define image write to flash memory GS Select character size GS Set absolute...

Page 14: ...Execute macro GS H Select printing position of Human Readable Interpretation HRI characters GS f Select font for HRI characters GS h Set bar code height GS k Print bar code GS v 0 Print raster bit ima...

Page 15: ...alue GS c Print counter setup GS k Specify and print the symbol RS A Label length measurement RS B Restore factory default RS E Clear buffer RS F Remote power off RS G Paper feed to TOF position RS J...

Page 16: ...ine flash macro RS u Execute macro US 1 Top of form control US 2 Top of form offset setting US 3 Auto tear off control US 4 Tear off offset setting US 7 Paper sensor setting US A RS232 setting US C Bl...

Page 17: ...key control US M Panel buttons control US a Get RS232 configurations US c Get Bluetooth configurations US g Get printer configurations US h Get system information US k Get head resistance US m Get pr...

Page 18: ...and Overview Programming Reference VERSAJET This chapter covers following topics to present the supported commands that are used with VersaJet Command Notation Explanations of Terms Supported Commands...

Page 19: ...s Default Gives the default values if any for the command parameters Description Describes the command s function Notes Provides important information on setting and using the printer command if neces...

Page 20: ...fer full This is the state where the print buffer is full If new print data is input while the print buffer is full the data in the print buffer is printed out and a line feed is executed This is the...

Page 21: ...ontal direction in standard mode approximately 48 mm 1 89 The length of the vertical direction in page mode approximately 160 mm 6 3 6 Printing area Printing range is set by the command It must be pri...

Page 22: ...data is stored in the print buffer Normal character in standard mode and page mode A y Base line When font A 12 24 dots is selected this height is for 24 dots When font B 9 24 dots is selected this he...

Page 23: ...codes Enabled only when data is not present in the printer buffer Ignored All command codes including parameters are ignored Page mode Enabled Only for value setting Disabled Parameters are processed...

Page 24: ...es Executing Line Spacing ESC 2 Select default line spacing Setting Line Spacing ESC 3 Set line spacing Setting Character CAN Cancel print data in page mode Executing Ignored Character ESC SP Set righ...

Page 25: ...ormat Setting Setting Print Position ESC Set absolute print position Executing Print Position ESC Set relative print position Executing Print Position ESC D Set horizontal tab positions Setting Print...

Page 26: ...Define image write to flash memory Executing BMP Image RS m Save bmp image into flash Setting BMP Image RS n Print bmp image Executing Graphics RS i Draw Line Box Executing Ignored Macro GS Start end...

Page 27: ...9 Printing density setup Executing Miscellaneous GS I Transmit printer ID Executing Miscellaneous GS P Set horizontal and vertical motion units Setting Miscellaneous GS c Print counter Executing Misce...

Page 28: ...feedback Setting Set configuration US K Default operation mode setup Setting Set configuration US L Feed key control Setting Set configuration US M Panel buttons control Setting Get configuration US a...

Page 29: ...ind distance back feed Executing Action Command RS L Print self test pre defined Executing Paper Sensor US 1 Top of form control Setting Paper Sensor US 2 Top of form offset setting Setting Paper Sens...

Page 30: ...Print Print data in page mode Executing Ignored ESC SP Character Set right side character spacing Setting ESC Character Select print mode s Setting ESC Print Position Set absolute print position Exec...

Page 31: ...ed ESC M Character Select character font Setting ESC R Character Select an international character set Setting ESC S Miscellaneous Select standard mode Executing Ignored ESC T Print Position Select pr...

Page 32: ...te to flash memory Executing GS Character Select character size Setting GS Print Position Set absolute vertical print position in page mode Executing Ignored GS K 49 Miscellaneous Printing density set...

Page 33: ...ing GS Print Position Set relative vertical print position in page mode Executing Ignored GS Macro Execute RAM macro Executing GS c Miscellaneous Print counter Executing GS f Bar Code Select font for...

Page 34: ...m Image Save bmp image into flash Setting RS n Image Print bmp image Executing RS p Miscellaneous Set number of copies of printing data Setting Executing RS q Serialization Serialization setting Sett...

Page 35: ...feedback Setting US K Set Configuration Default operation mode setup Settting US L Set Configuration Feed key control Setting US M Set Configuration Panel buttons control Setting US a Get Configuratio...

Page 36: ...ntains the command codes for the VersaJet which allows you to configure your printer for particular application to match your specific requirements Each command begins on a separate page with its own...

Page 37: ...position exceeds the printing area the printer sets the printing position to Printing area width 1 If this command is processed when the printing position is at Printing area width 1 the printer execu...

Page 38: ...nt of paper feed per line is based on the value set using the line spacing command ESC 2 or ESC 3 After printing the print position moves to the beginning of the line When a left margin is set in stan...

Page 39: ...rns to standard mode Notes This command is enabled only in page mode Page mode can be selected by ESC L The data is deleted in the printing area after being printed This command returns the value set...

Page 40: ...Executes printing and one line feed as LF Notes After printing the printing position moves to the beginning of the line When a left margin is set the position of the left margin is the beginning of t...

Page 41: ...Hex 18 Decimal 24 Range None Default None Description In page mode deletes all the print data for the current printing area Notes This command is only enabled in page mode If data set in the previousl...

Page 42: ...uffered data in the printable area collectively Notes This command is enabled only in page mode Page mode can be selected by ESC L After printing the printer does not clear the buffered data the print...

Page 43: ...ble width mode is twice the normal value When standard mode is selected the horizontal motion unit is used When page mode is selected the vertical or horizontal motion unit is used for the print direc...

Page 44: ...tion Off 00 0 Character font A 12 24 0 On 01 1 Character font B 9 24 1 Undefined 2 Undefined Off 00 0 Emphasized mode not selected 3 On 08 8 Emphasized mode selected Off 00 0 Double height mode not se...

Page 45: ...mode is selected the horizontal or vertical motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC...

Page 46: ...ls user defined character set When the LSB of n is 0 the user defined character set is canceled When the LSB of n is 1 the user defined character set is selected Notes When the user defined character...

Page 47: ...characters from character code check c1 to c2 y specifies the number of bytes in the vertical direction x specifies the number of dots in the horizontal direction d is the dot data for the user defin...

Page 48: ...er defined characters have been defined they are available until ESC GS or ESC is executed the user defined characters are redefined the power is turned off or the printer is reset The user defined ch...

Page 49: ...32 33 Description Selects a bit image mode using m for the number of dots specified by nL nH x256 as follows m Mode Number of bits for vertical data dot density in horizontal Amount of data k 0 8 dot...

Page 50: ...mphasized double strike underline character size white black reverse printing or 90 clockwise rotated except for upside down printing mode After printing a bit image the printer processes normal data...

Page 51: ...cannot underline the space set by HT The printer cannot underline 90 clockwise rotated characters and white black inverted characters When underline mode is turned off by setting the value of n to 0...

Page 52: ...line spacing to the default line spacing Notes The line spacing can be independently in standard and page mode In standard mode this command sets the line spacing of standard mode In page mode this co...

Page 53: ...dard mode is selected the vertical motion unit is used When page mode is selected the vertical or horizontal motion unit is used for the print direction set by ESC T When the starting position is set...

Page 54: ...63 n Range 32 n 126 Default None Description Cancels the user defined characters defined for the character code n Notes After user defined characters are canceled the resident character set is printed...

Page 55: ...t image is not cleared Printing log is not cleared Notes The data in the receive buffer is not cleared When this command is processed in page mode the printer deletes the data in the printing areas in...

Page 56: ...When standard mode is selected this command is enabled only when processed at the beginning of the line The upside down printing mode is effective for all data in standard mode except raster bit image...

Page 57: ...width x n measured from the beginning of the line The character width includes the right side character spacing and double width characters are selected with twice the width of the normal characters...

Page 58: ...to the printer Even if the character width is changed after setting the horizontal tab position the setting of the horizontal tab positions will not be changed Horizontal tab positions setting are ef...

Page 59: ...tion Turns emphasized mode on ff When the LSB of n is 0 emphasized mode is turned off When the LSB of n is 1 emphasized mode is turned on Notes This mode is effective for alphanumeric Kana multilingua...

Page 60: ...trike mode on ff Format ASCII ESC G n Hex 1B 47 n Decimal 27 71 n Range 0 n 255 Default n 0 Description Turns double strike mode on off Notes When the LSB of n is 0 double strike mode is turned off Wh...

Page 61: ...selected the vertical motion unit is used When page mode is selected the vertical or horizontal motion unit is used for the print direction set by ESC T When the starting position is set to the upper...

Page 62: ...his command is processed in page mode only the printing position moves and the printer does not perform actual printing This command is used to temporarily feed a specific length without changing the...

Page 63: ...ting area defined by ESC W The following commands switch the settings for page mode because these commands can be set independently in standard and page mode ESC SP ESC 2 and ESC 3 The following comma...

Page 64: ...e the printer prints the data in the print buffer for the printing area specified by ESC W collectively by FF or ESC FF When executing the print and paper feed commands such as LF CR ESC J and ESC d o...

Page 65: ...ption Selects a character font using n as follows n Function 0 48 Font A 1 49 Font B Notes This mode is effective for alphanumeric Kana multilingual and user defined character Configurations of Font A...

Page 66: ...rnational character set n as follows ASCII code Hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E n Country Dec 35 36 64 91 92 93 94 96 123 124 125 126 0 U S A 1 France 2 Germany 3 U K 4 Denmark I 5 Sweden 6 It...

Page 67: ...data in all the printing area is cleared the printing area set by ESC W returns to the default value but the value set by ESC T is maintained The following commands switch the settings for standard m...

Page 68: ...In page mode selects the print direction and starting position using n as follows n Printing Direction Starting Position 0 48 Left to right Upper left A in the figure 1 49 Bottom to top Lower left B...

Page 69: ...nting area as follows If the starting position is the upper left or lower right of the printing area These commands use horizontal motion units ESC SP ESC ESC These commands use vertical motion units...

Page 70: ...hanumeric Kana multilingual and user defined characters When underline mode is turned on the printer does not underline 90 clockwise rotated characters When character orientation changes in 90 clockwi...

Page 71: ...the printing area as follows Horizontal logical origin xL xH x256 x horizontal motion unit from absolute origin Vertical logical origin yL yH x256 x vertical motion unit from absolute origin Printing...

Page 72: ...tandard mode If this command is processed in standard mode the logical origin and the printing area are set and they are enabled when the printer selects page mode Horizontal logical origin and printi...

Page 73: ...Programming Reference VERSAJET paper xLxH yLyH page mode range dxLdxH dyLdyH 65...

Page 74: ...cal motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the horizontal motion unit is used When...

Page 75: ...is enabled only when processed at the beginning of the line in standard mode The justification has no effect in page mode If this command is processed in page mode an internal flag is activated and t...

Page 76: ...maximum paper feed amount is 160mm If the specified amount exceeds 160mm the paper feed amount is automatically set to 160mm After printing the printing position moves to the beginning of the line Whe...

Page 77: ...code table as follows n Character Code Table 0 PC437 U S A Standard Europe 1 Katakana 2 PC850 Multilingual 3 PC860 Portuguese 4 PC863 Canadian French 5 PC865 Nordic 16 WPC1252 Notes When the user defi...

Page 78: ...height mode and Kanji underline mode for Kanji characters using n as follows Bit Function Off On Hex Decimal 0 Reserved Off 00 0 1 Reserved Off 00 0 2 Double width mode is Off Off 00 0 2 Double width...

Page 79: ...right and left side character spacing but cannot underline the space set by HT or 90 clockwise rotated characters The thickness of the underline is that selected by FS regardless of the character size...

Page 80: ...command are effective until ESC is executed the printer is reset or the power is turned off When Kanji mode is selected the printer processes a character code that corresponds to the first byte of Ka...

Page 81: ...for Kanji characters 1 dot thick 2 50 Turns on underline mode for Kanji characters 2 dots thick Notes The printer can underline all characters but cannot underline the space set by HT The printer cann...

Page 82: ...x24 0 d 255 k 72 Description Define user defined Kanji characters for the character codes specified by c1 and c2 Notes c1 indicates the first byte of a character code for a user defined character c2 i...

Page 83: ...horizontal or vertical motion units and the right side character spacing is n2x horizontal or vertical motion units Notes When double width mode is set the left and right side character spacing is twi...

Page 84: ...ft or lower right of the printable area using ESC T the horizontal motion unit x is used When the starting position is set to the upper right or lower left of the printable area using ESC T the vertic...

Page 85: ...for Kanji characters is turned off and normal size is specified When the LSB of n is 1 quadruple size mode for Kanji characters is turned on Notes Only the lowest bit of n is valid In quadruple size...

Page 86: ...2 n m Range 1 n 255 0 m 3 48 m 51 Description Prints a NV bit image n using the mode specified by m m Mode Scaling for horizontal Scaling for vertical 0 48 Normal 1 1 1 49 Double width 2 1 2 50 Double...

Page 87: ...xL xH 256 yL yH 256 8 Total defined data area is maximum 64 KB Description Defines NV bit image specified n specifies the number of defined NV bit images xL xH specifies xL xH x 256 bytes in the hori...

Page 88: ...a d specifies a bit printed to 1 and not printed to 0 All NV bit images previously defined are canceled After processing this command the printer executes a software reset Therefore processing this co...

Page 89: ...er is BUSY when writing the data to the non volatile memory In this case be sure not to transmit data from the host because the printer does not receive data Excessive use of this function may destroy...

Page 90: ...lects the character height vertical number of times normal font size using bits 0 to 2 and selects the character width horizontal number of times normal font size using bits 4 to 6 as follows Characte...

Page 91: ...erent heights on one line all the characters on the line are aligned at the baseline When the characters are enlarged widthwise the characters are enlarged to the right base on the left side of the ch...

Page 92: ...he setting of the character size of alphanumeric and Katakana is effective until ESC or ESC is executed the printer is reset or the power is turned off The setting of the character size of Kanji and m...

Page 93: ...ard mode it is ignored The printer ignores any setting that exceeds the printing area set by ESC W The horizontal or vertical motion unit is used for the print direction set by ESC T When the starting...

Page 94: ...nction 49 Function 49 Selects printing density pL and pH specify parameter number after fn to pL pH x 256 bytes Notes This command decides the function according to the function code fn Performance of...

Page 95: ...L 2 pH 0 fn 49 0 m 15 Default m 8 Description Selects printing control mode by m m Function m 8 Selects pale density m 8 Selects standard density m 8 Selects strong density Notes When a standard mode...

Page 96: ...69 PDF 417 Specify the error correction level 80 Function 080 PDF 417 Store the received data in the symbol save area 48 81 Function 081 PDF 417 Print the symbol data in the symbol save area 65 Functi...

Page 97: ...pecify the mode of RSS 14 66 Function 866 Specify the RSS 14 Expanded Stacked Symbol to define its number of segment per row 67 Function 867 RSS 14 Specify the width of module 68 Function 868 RSS 14 S...

Page 98: ...in the save area is reserved until the following processing is performed Function 080 or 180 or 980 is executed ESC is executed The printer is reset or the power is turned off When processing Functio...

Page 99: ...respectively prints the same symbol data By using Functions 165 167 169 combined with Function 181 the same symbol data d1 dk is printed differently This model supports two dimensional code PDF417 Whe...

Page 100: ...a area as n code word Notes Settings of this function affect the processing of Functions 081 and 082 When auto processing n 0 is specified the maximum number of columns in the data area is 30 columns...

Page 101: ...7 n 0 specifies auto processing When n is not 0 specifies the number of rows of the symbol as n rows Notes Settings of this function affect the processing of Functions 081 When auto processing n 0 is...

Page 102: ...5 Default n 2 Description Specifies the width of a module of PDF417 symbol Notes Settings of this function affect the processing of Functions 081 The setting unit differs depending on the printer mod...

Page 103: ...H 0 cn 48 fn 68 5 n 100 Default n 5 Description Specifies the height of a module of PDF417 symbol Notes Settings of this function affect the processing of Functions 081 Settings of this function are e...

Page 104: ...t the processing of Functions 081 Error correction level is specified by either level Error correction level specified by level m 48 is as follows The number of the error correction code word is fixed...

Page 105: ...Programming Reference VERSAJET The error correction code word calculated by modulus 929 Settings of this function are effective until ESC is executed the printer is reset or the power is turned off 97...

Page 106: ...cessing Function 081 k bytes of d1 dk are processed as symbol data Specify only the data code word of the symbol with this function Be sure not to include the following data in the data d1 dk because...

Page 107: ...d There is no data Function 080 is not processed If number of columns number of rows number of code word when auto processing is specified for number of columns and number of rows Number of code word...

Page 108: ...ludes the following code words Data specified by Function 080 The descriptor of symbol length the first code word in the data area The error correction code word calculated by modulus 929 Pad codeword...

Page 109: ...pH x256 4 pL 4 pH 0 cn 49 fn 65 n1 49 50 51 n2 0 Default n1 50 n2 0 Description Specifies the model of QR Code n1 Function 49 Specifies model 1 50 Specifies model 2 51 Micro QR Notes Settings of this...

Page 110: ...ize of a module of QR Code symbol Notes Settings of this function affect the processing of Functions 181 and 182 The setting unit differs depending on the printer models Settings of this function are...

Page 111: ...Function Recovery Capacity approx 48 Specify Error correction level L 7 49 Specify Error correction level M 15 50 Specify Error correction level Q 25 51 Specify Error correction level H 30 Notes Sett...

Page 112: ...ored in the symbol save area by this function is processed by Functions 181 The data in the symbol save area are reserved after processing Function 181 k bytes of d1 dk are processed as symbol data It...

Page 113: ...ming Reference VERSAJET Settings of this function are effective until the following processing is performed Function 080 or 180 is executed ESC is executed The printer is reset or the power is turned...

Page 114: ...in the data of the symbol save area it cannot be printed There is no data Function 180 is not processed If the data of the symbol save area is more than the data allowed by specified model and data c...

Page 115: ...mation Version Information Error Correction code words employs the Reed Solomon Error Detection and Correction algorithm Pad codeword Number of bits in Character Count Indicator Mode Indicator Termina...

Page 116: ...L pH x 256 3 pL 3 pH 0 cn 50 fn 65 50 n 54 52 54 not support Default n 50 Description Specifies the mode of the MaxiCode n Function 50 Specify to mode 2 51 Specify to mode 3 Notes Settings of this fun...

Page 117: ...iCode symbol data d1 dk in the symbol save area Notes Data stored in the symbol save area by this function is processed by Function 281 The data in the symbol save area are reserved after processing F...

Page 118: ...PSN UPS Shipper Number 6 character alphanumeric Julian Day of Pickup 3 digits Shipment ID Number 1 30 character alphanumeric Package In Shipment package N of X total packages 1 4 digits 1 4 digits Wei...

Page 119: ...in the symbol save area Notes If there is any error described below in the data of the symbol save area it cannot be printed There is no data Function 180 is not processed Follow to the Function 280...

Page 120: ...40 107 03 00 55 65 n Range pL pH x 256 3 pL 3 pH 0 cn 55 fn 65 Default None Description Specifies the number of columns of the data area of Datamatrix Matrix type Row Column 1 8 12 2 8 32 3 12 26 4 1...

Page 121: ...ecimal 29 40 10703 00 55 66 n Range pL pH x 256 3 pL 3 pH 0 cn 55 fn 66 Description Specifies the number of rows of the data area of Datamatrix Matrix type Row Column 1 8 12 2 8 32 3 12 26 4 12 36 5 1...

Page 122: ...pH x 256 3 pL 3 pH 0 cn 55 fn 67 1 n 5 Default n 1 Description Specifies the width of a module of Datamatrix symbol Notes Settings of this function affect the processing of Functions 781 The setting...

Page 123: ...andard square shape 1 Datamatrix ECC200 Rectangle Shape Default n 0 Description Specify the Bar Code Type Notes n 0 Functions 765 and 766 may be omitted Settings of this function affect the processing...

Page 124: ...ge pL pH x 256 3 pL 4 pH 0 cn 55 fn 69 1 n 6 Default n 6 Description Specifies the Data mode of Datamatrix n Data mode Description 1 Base 11 numeric mode 0 9 space 2 Base 27 capital alphabet mode A Z...

Page 125: ...Programming Reference VERSAJET Barcode type Rectangle Shape Capacity Row Column number alphanumeric bytes 8 12 10 6 3 8 32 20 13 8 12 26 32 22 14 12 36 44 31 20 16 36 64 46 30 16 48 98 72 47 117...

Page 126: ...ved after processing Function 781 k bytes of d1 dk are processed as symbol data Specify only the data code word of the symbol with this function Be sure not to include the following data in the data d...

Page 127: ...e printed There is no data Function 780 is not processed If number of columns number of rows number of code word when auto processing is specified for number of columns and number of rows Number of co...

Page 128: ...s Data specified by Function 780 The descriptor of symbol length the first code word in the data area The error correction code word calculated by modulus 929 Pad codeword ESC T is not effective for Q...

Page 129: ...ex 31 36 Default n 49 Description Specify the mode of RSS 14 n Description 49 RSS 14 50 RSS 14 Truncated 51 RSS 14 Stacked 52 RSS 14 Stacked Omni directional 53 RSS Limited 54 RSS Expanded and RSS Exp...

Page 130: ...ption Specify the RSS Expanded Stacked Symbol to define its number of segment per row Notes Even number from 2 to 22 should be used If any odd number is entered it will be round down to be an even num...

Page 131: ...pL 3 pH 0 cn 56 fn 67 1 n 255 Default n 2 Description Specifies the width of narrow element size of a module of RSS 14 symbol Notes Settings of this function affect the processing of Functions 881 The...

Page 132: ...256 3 pL 3 pH 0 cn 56 fn 68 1 n 255 Default n 2 Description Specifies the Height of separator of RSS 14 symbol Notes Settings of this function affect the processing of Functions 881 Settings of this f...

Page 133: ...l save area are reserved after processing Function 881 k bytes of d1 dk are processed as symbol data Entering Data for RSS Symbols of RSS 14 and RSS Limit can contain 13 digits of numeric data 0 thoug...

Page 134: ...y RSS 14 RSS 14 Truncated RSS 14 Stacked RSS 14 Stacked Omni directional RSS LIMIT Numbers from 0 to 9 13 fixed character RSS Expanded Alphanumeric Readable Characters 20 Special Function Character FN...

Page 135: ...efault None Description Encodes and prints the RSS 14 symbol data in the symbol save area Notes If there is any error described below in the data of the symbol save area it cannot be printed There is...

Page 136: ...1 n 255 Default n 2 Description Specifies the width of narrow element Notes Settings of this function affect the processing of Functions 981 The setting unit differs depending on the printer models Se...

Page 137: ...pecify the height of one row Notes Settings of this function affect the processing of Functions 981 Settings of this function are effective until ESC is executed the printer is reset or the power is t...

Page 138: ...es Data stored in the symbol save area by this function is processed by Functions 981 The data in the symbol save area are reserved after processing Function 981 k bytes of d1 dk are processed as symb...

Page 139: ...spend two bytes Value Character Vaule Character 0 0 25 P 1 1 26 Q 2 2 27 R 3 3 28 S 4 4 29 T 5 5 30 U 6 6 31 V 7 7 32 W 8 8 33 X 9 9 34 Y 10 A 35 Z 11 B 36 12 C 37 13 D 38 SPACE 14 E 39 15 F 40 16 G...

Page 140: ...3 3 2 9 bytes Numeric The numeric can t exceed 81 bytes Settings of this function are effective until the following processing is performed Function 080 or 180 or 280 or 780 or 880 or 980 is executed...

Page 141: ...l data in the symbol save area There is no data Function 980 is not processed Range pL pH x 256 3 pL 3 pH 0 cn 57 fn 81 m 48 Default None Notes If there is any error described below in the data of the...

Page 142: ...tal to x bytes y specifies the size of a bit image in vertical to y bytes d defines the bit image data k indicates the number of data to be defined k is an explanation parameter therefore it does not...

Page 143: ...nter is reset or the power is turned off A downloaded bit image and a user defined character cannot be defined simultaneously When this command is executed the user defined character is cleared The do...

Page 144: ...50 Double height 3 51 Quadruple dpi dots per inch 25 4mm Notes This command is ignored if a downloaded bit image has not been defined In standard mode this command is effective only when there is no d...

Page 145: ...g processing is performed only on the line in question The printing area width is extended to the right up to one line in vertical In this case printing does not exceed the printable area If the print...

Page 146: ...um data size to be defined as a macro is 2 KB If the macro definition exceeds the maximum data size this command will not be processed and the LED1 indicator blinks red the LED2 and LED3 indicators bl...

Page 147: ...ing Reference VERSAJET Macro is not defined when the power is turned on The following commands cannot be contained in a macro Do not use these commands while the macro is being defined FS q GS and GS...

Page 148: ...tinuously at the interval specified by t When m 1 the printer waits for the period specified by t blinks the LED and then waits for the paper feed button to be pressed After this button is pressed the...

Page 149: ...the same data repeatedly To define a macro definition send GS just before and after the data desired to be repeated And then execute macro by using GS to print the same data repeatedly Macro function...

Page 150: ...e is effective for alphanumeric Kana multilingual and user defined character When white black reverse printing mode is turned on it also affects the right side characters spacing set by ESC SP When wh...

Page 151: ...he entire range of printed digits n specifies the number of digits to be printed When n 0 the printer prints the actual digits indicated by the number value m specifies the printing position within th...

Page 152: ...ming Reference VERSAJET Notes The serial number counter is stored in the print buffer by GS c Settings of this command are effective until ESC is executed the printer is reset or the power is turned o...

Page 153: ...n 1 r 1 Description Selects a count mode for the serial number counter Count mode Conditions Minimum Value Maximum value Count up aL aH x 256 bL bH x 256 and n 0 and r 0 aL aH x 256 bL bH x 256 Count...

Page 154: ...ed the counter value is below minimum value bL bH x 256 restart counting from the maximum value aL aH x 256 In a count stop setting when executing GS c the counter value is not changed This command do...

Page 155: ...32 nL nH Decimal 29 67 50 nL nH Range 0 nL nH x 256 65535 0 nL 255 0 nH 255 Default nL nH x 256 1 nL 1 nH 0 Description Sets the serial number counter value Specifies the counter value as nL nH x 256...

Page 156: ...er the printer prints the HRI character or not and printing position of HRI character when printing a bar code using n as follows n Printing Position 0 48 Not printed 1 49 Above the bar code 2 50 Belo...

Page 157: ...Printer ID 65 Firmware version Notes With a serial interface printer be sure to use this function when the host can receive data With a parallel interface printer data sent with this command is tempo...

Page 158: ...eft edge of the printable area Notes When standard mode is selected this command is enabled only when processed at the beginning of the line The left margin has no effect in page mode If this command...

Page 159: ...margin setting is effective until ESC is executed the printer is reset or the power is turned off Left margin position is left edge of the printable area If left margin setting is changed left edge o...

Page 160: ...cal value is used Notes The horizontal direction is perpendicular to the paper feed direction and the vertical direction is the paper feed direction The horizontal and vertical motion units indicate t...

Page 161: ...effective until ESC is executed the printer is reset or the power is turned off The calculated result from combining this command with others is truncated to the minimum value of the mechanical pitch...

Page 162: ...ode the left margin is set and it is enabled when the printer returns to standard mode If the left margin printable area width exceeds the printable area the printable area width is automatically set...

Page 163: ...standard mode it is ignored The printer ignores any setting that exceeds the printing area set by ESC W The horizontal or vertical motion unit is used for the print direction set by ESC T When the sta...

Page 164: ...g the current counter value in the print buffer as print data a character string the printer updates counter value based on the count mode set In count up mode the counter value is updated as counter...

Page 165: ...ode count up count down count stop and details of counter maximum value minimum value stepping amount of incrementing or decrementing of a counter value the repetition number of printing are set by GS...

Page 166: ...s a font for Human Readable Interpretation HRI characters when printing a bar code using n as follows n Font of HRI characters 0 48 Font A 1 49 Font B Notes The font set by this command is only effect...

Page 167: ...Hex 1D 68 n Decimal 29 104 n Range 1 n 255 Default n 162 Description Sets the height of a bar code n specifies number of dots in the vertical direction of a bar code Notes This command setting is eff...

Page 168: ...n the bar code system used II 65 m 73 n and d depend on the bar code system used Default n 162 Description Selects a bar code system and prints the bar code k of 1 indicates the number of the bar code...

Page 169: ...ber 0 9 48 d 57 1 6 CODABAR NW7 Can be changed 1 k 0 9 A D 48 d 57 65 d 68 d 36 43 45 46 47 58 65 UPC A Fixed 11 n 12 0 9 48 d 57 66 UPC E Fixed 11 n 12 0 9 48 d 57 67 JAN13 EAN13 Fixed 12 n 13 0 9 48...

Page 170: ...int mode emphasized underline or 90 clockwise rotated except for upside down printing mode After bar code printing the printing position moves to the left end of the printing area The printer enters t...

Page 171: ...t data d1 is processed as number system character NSC so 0 must be specified If n is out of the specified range or if n is an odd number when ITF bar code system m 70 is selected this command is cance...

Page 172: ...1 3 0 9 0 9 0 9 1 9 0 0 9 d2 d3 d4 d5 d11 4 0 9 0 9 0 9 0 9 1 9 d4 5 9 d2 d3 d5 d6 d11 Specify 0 at indicated data by in the table When 1 d6 9 be sure to specify 5 d11 9 Left guard bar right guard bar...

Page 173: ...s When the first bar code d1 is the printer processes the data as a first character If the first bar code d1 is not the printer adds a start character automatically The printer processes the start cod...

Page 174: ...cify the stop code ASCII A D Hex 41H 44H Decimal 65 68 at end of the data dk or dn Start code or stop code ASCII A D Hex 41H 44H Decimal 65 68 cannot be specified in bar code data Check digits are not...

Page 175: ...lowing data can be used Control character data It is specified by ASCII code in hexadecimal 00H 1FH in decimal 0 31 Special character data FNC 1 FNC 2 FNC 3 FNC 4 SHIFT CODE B CODE C It is specified c...

Page 176: ...2 123 66 CODE C C 7B 43 123 67 FNC1 1 7B 31 123 49 FNC2 2 7B 32 123 50 FNC3 3 7B 33 123 51 FNC4 4 7B 34 123 52 7B 7B 123 123 Check digit is calculated and added automatically Special character HRI is...

Page 177: ...ecimal 29 118 48 n xL xH yL yH d1 dk Range 0 n 3 48 n 51 0 xL 255 0 xH 255 0 yL 255 0 yH 8 0 d 255 k xL xH x 256 x yL yH x 256 k 0 Default n 0 n Mode 0 48 Normal 1 49 Double width 2 50 Double height 3...

Page 178: ...2 dots in double width n 1 49 and quadruple n 3 51 modes Data outside the printing area is read in and discarded on a dot by dot basis The position at which subsequent characters are to be printed for...

Page 179: ...n 2 Format ASCII GS w n Hex 1D 77 n Decimal 29 119 n Range 1 n 6 Description Sets the horizontal size of a bar code n specifies the bar code module width Notes This command setting is effective until...

Page 180: ...During this time the printer does print After the measuring it writes the length of label from the measuring to the non volatile memory Please note the following points when you use this function The...

Page 181: ...f commands stored in the volatile memory Therefore the printer buffer is cleared and each setting returns to the default value The printer goes BUSY while this command is executed In this case be sure...

Page 182: ...II RS E Hex 1E 45 Decimal 30 69 Range None Default None Description Clear buffer Notes If this command is sent while another command is processing processing of the other command is canceled This comm...

Page 183: ...I RS F Hex 1E 46 Decimal 30 70 Range None Default None Description Remote power off Notes This is a real time command that the printer executes power off processing upon receiving it All information a...

Page 184: ...ed to TOF position Description Paper feed to the print position specified by the paper length measurement is executed Notes Use this function by using the first state of the line This function is used...

Page 185: ...J n Name Rewind command back feed Hex 1E 4A n Decimal 30 74 n Range 10 n 100 the unit is 0 1mm Default None Description Rewind command back feed Notes This command is used to make motor rewind The pap...

Page 186: ...Hex 1E 4C Decimal 30 76 Range None Default None Description Executes a specified test print Notes If this command is processed while a macro is being defined the printer cancels macro definition and s...

Page 187: ...2 n3 n4 n5 Range 0 n1 1 0 n2 2 0 n3 5 0 n4 255 0 n5 1 Default n1 0 n2 0 n3 0 n4 0 n5 0 Description Bit map text format setting n1 Enable Disable Bold n1 Description 0 Disable bold 1 Enable bold n2 Und...

Page 188: ...Programming Reference VERSAJET n4 Character Magnification setup n5 Turn white black reverse printing mode on off n5 Description 0 Disable bold 1 Enable bold 180...

Page 189: ...0 n2 1 or 48 n2 49 1 n3 255 1 n4 6 Default n1 0 n2 0 n3 162 n4 2 Description 1D bar code generic setting n1 HRI position setup n1 Description 0 48 Not printed 1 49 Above the bar code 2 50 Below the ba...

Page 190: ...tion code fn fn Graphic type fn Description 0 Line 1 Box 2 Circle Notes This command decides the function according to the function code fn Performance of the functions differs depending on the functi...

Page 191: ...x2L x2H y2L y2H w pL pH Range n1 0 0 x1L x1H y1L y1H x2L x2H y2L y2H 255 0 w 255 0 pL pH 255 Default None Description Draw line x1L Position x1 Low byte x1H Position x1 High byte y1L Position y1 Low b...

Page 192: ...e of start position Y1 y coordinate of start position X2 x coordinate of end position Y2 y coordinate of end position The line pattern is repetition of 16 dots which defined by pL and pH pL and pH spe...

Page 193: ...0 w 255 0 pL pH 255 Default None Description Draw box x1L Position x1 Low byte x1H Position x1 High byte y1L Position y1 Low byte y1H Position y1 High byte x2L Position x2 Low byte x2H Position x2 Hi...

Page 194: ...L and pH as the followings For drawing box x1 y1 is coordinate of inner top left corner x2 y2 is coordinate of inner bottom right corner pH 0 PL Description 0 Black frame white background 1 White fram...

Page 195: ...1L y1H x2L x2H y2L y2H 255 0 w 255 0 pL pH 255 Default None Description Draw circle x1L Center of circle x1 Low byte x1H Center of circle x1 High byte y1L Center of circle y1 Low byte y1H Center of ci...

Page 196: ...rn using pL and pH as the followings pH 0 PL Description 0 Black frame white background 1 White frame black background 2 Filled with horizontal lines in the circle 3 Filled with vertical lines in the...

Page 197: ...e 1 n1 4 Default None Description 1 Save bmp image into flash 2 n1 ID no 3 d1 dk image contents 4 Max 16k 384 w dots 336 h dots Notes This command can process BMP graphics formatted images The BMP MUS...

Page 198: ...ion setup n2 Description 0 48 Normal 1 49 Double width 2 50 Double height 3 51 Quadruple Notes This command is ignored if a downloaded bit image has not been defined This command has no effect in the...

Page 199: ...formed only on the line in question The printing area width is extended to the right up to one line in vertical In this case printing does not exceed the printable area If the printing area width cann...

Page 200: ...30 112 n Range 1 n 255 Default None Description Set number of copies of printing data Notes This command can process printing data from page buffer This command will be ignored if there is no data in...

Page 201: ...2 n3 n4 n5 n6 n7 d1 dn7 Range 1 n1 8 1 n2 3 0 n3 1 1 n4 255 1 n5 255 1 n6 255 1 n7 255 Default None Description Serialization setting n1 ID no n2 Domain n2 Description 1 Alphabetic 2 Alphanumeric 3 Nu...

Page 202: ...ric data allows both numeric and alphabetic data as a serial number Values change in the following character sequence 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123 N3 specifies the serialization count up i...

Page 203: ...n1 n2 Hex 1E 72 n1 n2 Decimal 30 114 n1 n2 Range 1 n1 8 n2 1 0x41 0x49 Default None Description Print serialization n1 ID no n2 Printing type n2 Description 0x01 Text 0x41 UPC A 0x42 UPC E 0x43 EAN 1...

Page 204: ...ated as serialization value increment value In count down mode the serialization value is updated as serialization value decrement value In count stop mode the serialization is not updated The seriali...

Page 205: ...is defined the printing is also executed The maximum data size to be defined as a macro is 8 KB If the macro definition exceeds the maximum data size this command will not be processed and the LED1 in...

Page 206: ...d in a macro Do not use these commands while the macro is being defined FS q GS and GS v 0 Excessive use of this function may destroy the non volatile memory As a guideline do not use this command mor...

Page 207: ...None Description Execute macro n1 Macro index no r Number of execution t Interval of execution m Operation mode n4 Description 0 Continuous 1 Feedkey 2 Present sensor Executes a macro r times while wa...

Page 208: ...r times When m 2 the printer prints the first page stops and waits for taking one page The printer prints the next page when user takes one page Notes If a macro is not defined or if r is 0 this comm...

Page 209: ...TOF when power on page mode only n Description 0 Disable 1 Enable Notes This command is ignored in line mode This function is used when using label paper or black mark paper When the setting is disabl...

Page 210: ...position n1 specifies the adjustment direction as follows When the LSB of n1 is 0 forward the position is added the offset value When the LSB of n1 is 1 backward the position is from the first printi...

Page 211: ...Enable the paper tearing position of the label under page mode by using auto tear off setup n Function 0 Disable Motor will not move back 1 Enable Motor will move back and forward to locate the teari...

Page 212: ...ange n1 0 0 n2 100 unit is 0 1mm Default n1 0 n2 0 Description Auto Tear off offset setting n1 specifies the adjustment direction as follows When the LSB of n1 is 0 Forward the position is added the o...

Page 213: ...1 n2 Hex 1F 37 n1 n2 Decimal 31 55 n1 n2 Range 0 n1 1 0 n2 1 Default n1 1 n2 1 Description Paper sensor setting n1 Sensor selection n1 Description 0 Interruptive sensor 1 Reflective sensor n2 Sensor d...

Page 214: ...n1 n2 n3 n4 n5 Decimal 31 65 n1 n2 n3 n4 n5 Range 0 n1 3 0 n2 1 0 n3 2 0 n4 1 0 n5 1 Default n1 0 n2 0 n3 0 n4 0 n5 0 Description RS232 Setting n1 Baud rate n1 Description 0 9600 1 19200 2 38400 3 115...

Page 215: ...Programming Reference VERSAJET n4 Stop bit n4 Description 0 1 bit 1 2 bit n5 Flow control Description n5 0 RTS CTS 1 Xon Xoff 207...

Page 216: ...3 d11 d1k 00 d21 d2k 00 Decimal 31 67 n2 n3 d11 d1k 00 d21 d2k 00 Range 0 n2 2 0 n3 1 1 d1k 8 1 d2k 15 Default n2 0 n3 0 d11 d1k PIN Code 00000000 d21 d2k Device Name Model name last 4 bytes BT Addres...

Page 217: ...er on off using n as follows Bit Function Off On Hex Decimal Disable Power on off beep Off 00 0 0 Enable Power on off beep On 01 1 Disable Battery low on off beep Off 00 0 1 Enable Battery low beep On...

Page 218: ...ge 0 n1 255 0 n2 255 Default n1 01 n2 04 Description Auto power off duration setting n1 If the power is on and the printer has had no action for n1 x 5 minutes then the printer will be automatically o...

Page 219: ...F 49 n Decimal 31 73 n Range 0 n 15 Default n 8 Description Set printing intensity darkness Notes When a standard mode is selected all the data in a line is printed in the same density When a page mod...

Page 220: ...Description 0 Disable 1 Enable Notes Automatic status feedback is the function that transmit the status from the printer automatically When n 0 this function is disabled the printer does not transmit...

Page 221: ...rence VERSAJET Name Default operation mode setup Format ASCII US K n Hex 1F 4B n Decimal 31 75 n Range 0 n 1 Default n 1 Description Default Operation Mode setup n Enable Disable n Description 0 Page...

Page 222: ...0 Description Feed key control line mode only n Enable Disable n Description 0 Feed one line 1 Feed one page Notes This command is ignored in page mode When n 0 press Feed button the printer feeds one...

Page 223: ...efault n 3 Description Panel Buttons Control n Enable Disable Bit Function Off On Hex Decimal Disable Power Off 00 0 0 Enable Power On 01 1 Disable Feed Off 00 0 1 Enable Feed On 02 2 2 7 Reserved Res...

Page 224: ...tart byte 1 0x5F Contents 1 0 255 End byte 1 0x00 Description Get RS232 configurations Contents Bit Function Value Hex 0 Flow control 0x00 RTS CTS 0x01 XON Xoff 1 Stop Bit 0x00 1bit 0x01 2bit 2 3 Pari...

Page 225: ...SAJET Notes This is a real time command that the printer executes upon receiving it The printer returns 3 bytes the first and third bytes are fixed values Make sure the host computer can receive data...

Page 226: ...20 0x7E 0x00 Null Device Name 15 0x20 0x7E 0x00 Null End Byte 1 0x00 Description Get Bluetooth Configurations Notes This is a real time command that the printer executes upon receiving it The printer...

Page 227: ...Programming Reference VERSAJET The return value of device name is a fixed length of 15 bytes filled with char 0x00 Null for remaining bytes if the length of real data is smaller than 15 219...

Page 228: ...ine mode Top Of Form Offset Value Offset Direction Offset Value 1 Bit 7 0 1 Bit 0 6 0x00 0x7F Top Of Form Control 1 0x00 Disable 0x01 Enable Auto Tear Off Control 1 0x00 Disable 0x01 Enable Auto Tear...

Page 229: ...ic Status Feedback ASB 1 0x00 Disable 0x01 Enable Feed Key Control 1 0x00 Feed a line 0x01 Feed one page Panel Buttons Control 1 0x00 Disable all 0x01 Enable all Reserved 20 32 Reserved Description Ge...

Page 230: ...eal time command that the printer executes upon receiving it The printer returns 47 bytes the first and last bytes are fixed values Make sure the host computer can receive data from receiving buffer T...

Page 231: ...Programming Reference VERSAJET The return value of firmware version is a fixed length of 15 bytes filled with char 0x00 Null for remaining bytes if the length of real data is smaller than 15 223...

Page 232: ...t byte 1 0x5F Head max 4 0x00 0xFF Head min 4 0x00 0xFF Head average 4 0x00 0xFF End byte 1 0x00 Notes The printer returns 14 bytes the first and last bytes are fixed values Make sure the host compute...

Page 233: ...t byte 1 0x5F Printing log 10 0x00 0xFF End byte 1 0x00 Description Get printing log Notes This is a real time command that the printer executes upon receiving it The printer returns 12 bytes the firs...

Page 234: ...re than 20 0x33 more than 30 0x39 more than 90 0x3A 100 End byte 1 0x00 Description Battery check Notes This is a real time command that the printer executes upon receiving it The printer returns 3 by...

Page 235: ...ror 0x34 Paper jam 0x36 Thermal head broken 0x37 Thermal head overheated 0x38 Low battery 0x39 Motor overheated 0x3A Thermal head overcooled 0x3B Motor overcooled 0x3C BT module error End byte 1 0x00...

Reviews: