background image

CSN-80V User manual

43

Code

ASCII

FS p n m

DEC

28 112 n m

HEX

1C 70 n m

Function

Print NV bitmap n using the mode specified by m.

m

Mode

0, 48 Normal
1, 49 Double-width
2, 50 Double-height
3, 51 Quadruple

Parameter
range

0 ≤ m ≤ 3
48 ≤ m ≤ 51
1 ≤ n ≤ 255

Default

None

Support

All

Notes

n is the number of the NV bitmap (defined using the FS q command).
m specifies the bitmap mode.
NV bitmap is a bitmap defined in non-volatile memory by

FS q and printed by FS p.

This command is not effective when the specified NV bitmap has not

been defined.

In standard mode, this command is effective only when there is no

data in the print buffer.

This command is not affected by print modes (Bold printing,

overlapping,underline, character size, white/black reverse printing, or
90°rotated characters, etc.), except upside-down printing mode.

If the downloaded bit-image to be printed exceeds one line, the

excess data is not printed.

This command feeds dots (for the height n of the NV bitmap) in

normal and double-width modes, and (for the height n

2 of the NV

bitmap) in doubleheight and quadruple modes, regardless of the line
space specified by ESC 2 or ESC 3.

After printing the bitmap, this command sets the print position to the

beginning of the line and processes the data that follows as normal data.

Example

None

Print bitmap

Name

Print bitmap

Code

ASCII

DC2 * r n [d1…dn]

DEC

18 41 r n [d1…dn]

HEX

12 2A r n [d1…dn]

Summary of Contents for CSN-80V

Page 1: ...CSN 80V User manual 1 CSN 80V Thermal Receipt printer Protocol Lin Xiaopeng 2017 04 06 Audit Hu Riyu 2017 04 08 Standardize Liu Zhonghua 2017 04 09 Authorize Wang Huanyong 2017 04 11 ...

Page 2: ... Tongji South Road Jimei District Xiamen China 361021 The manual is subject to change without further notice Please contact Xiamen Cashino Technology Co Ltd directly for the latest version revision record Item Date Description Edited page Desing Review 1 20170406 The first draft Lin Xiaopeng Hu Riyu www cashinotech ...

Page 3: ...aning 13 5 Command Introduction 14 5 1 Command List 14 5 2 Commands details 16 Printing and paper feed commands 16 Printing and paper feed 16 Enter 17 Print and paper feed dots 17 Print and paper feed n line 17 Printing set commands 18 Set print position 18 Character right space setting 18 Set line space as n dots 18 Set horizontal and vertical movement units 19 Set line space to default 19 Set ch...

Page 4: ...aphics horizontal module data 36 Define downloaded bitmap 37 Print downloaded bitmap 38 Define NV bitmap 39 Print NV bitmap 42 Print bitmap 43 Print MSB bitmap 44 Tab Commands 45 Horizontal tab 45 Horizontal tab position setting 46 One dimension bar code command 47 1D bar code readable character HRI print position setting 47 1D bar code readable character HRI font type selection 47 1D bar code hei...

Page 5: ...t 67 Line print mode select 68 Character development angle select in page print mode 68 Page print mode print area setting 69 Vertical absolute position setting in page print mode 70 Vertical relative position setting in page print mode 71 Printer reset 71 Print self test page 72 paper cut 72 Full cut 73 Partial cut 73 Specified pulse generation 73 Setting up paper type 74 Feed to the beginning of...

Page 6: ...ctuation 4 Avoid water or conductive material such as metal inside the printer and turn off the power as soon as it occurs 5 If the printer is not used for a long time please disconnect the power of the printer power adapter 6 The user shall not remove the printer for repair or modification without authorization 7 The power adapter uses only a random power adapter that specially designed for 8 In ...

Page 7: ... 7 1 Introduction 1 1 Unpacking While open make sure that the following parts are present and not damaged in transportation If have any question please contact the supplier immediately 1 2 Name of each part of the printer ...

Page 8: ...r Thermal paper Paper width 80 0 5mm Paper roll diameter max 83mm Paper thickness 50 80μm Reliablity MCBF 15 million lines TPH 100km Cutter life 1 million cuts Interfaces Serial port USB LAN Cashdr awe Serial port USB Cashdr awer Command ESC POS compatible command sets Cutter type Full cutter Partial cutter Cashdrawer control 24V 1A support 12V and 24V cashdrawer Power supply DC24V 2A Dimensions w...

Page 9: ...ur hand and flip it backwards see as image 1 1 3 2 install the paper roll Please use the correct type of paper roll 1 Power off the printer 2 Open the top cover paper cover 3 Take out the used up paper roll skip this step if the printer unused before 4 install the new paper roll as shown in image 2 5 Pull the paper out of the paper mouth 6 Gently close the paper cover and buckle it in place 2 ...

Page 10: ...Function ON OFF 1 cutter No cutter Have cutter 2 Beep reminder close open 3 Printing density High density Normal density 4 5 characters per line printed 64 48 6 7 8 Transmission speed only useful to serial port baud rate SW7 SW8 Transmission speed bps bits sec ON ON 9600 ON OFF 19200 OFF ON 38400 OFF OFF 115200 Note language and baud rate can be setted via printer setting tool 3 4 Control panel ...

Page 11: ...t After the printer is connected power off the printer firstly and then press the Feed button and power on of the printer simultaneously After about 2 seconds release the button and the printer will print out the current status and printer Settings 3 6 printer connection POS80V interfaces serial USB Ethernet 3 6 1 Serial interface 1 Data transmission mode serial 2 Synchronous mode asynchronous 3 H...

Page 12: ... to install the driver the CD ROM with WINDOWS2000 XP NT do not need to install the driver 3 6 3 Ethernet interface 1 Need use setting software that are along with the printer to set IP address of the printer 192 168 1 87 same as the IP of your computer when use Ethernet interface 2 The setup software refer to the CD s documentation 4 Printer fault analysis 4 1 Paper jam inclusion ...

Page 13: ...t are normal then reinstall the paper cutter cover 4 2 printer cleaning When one of the following situations occurs to the printer the print head should be cleaned 4 2 1 printing is not clear 4 2 2 The printed page for a column is not clear 4 2 3 The paper is making a lot of noise The cleaning steps of the print head are as follows 1 Power off the printer open the top cover if there is paper remov...

Page 14: ...R n International character sets ESC t n Select the character code page ESC D Set horizontal tabulation position ESC J Print and paper feed n dots ESC p Produce cashdrawer pulse ESC c 5 n Allow or prohibit to switch printer by button ESC C Undefined ESC T n Set printing direction in page print mode ESC u Peripheral device statustransmission ESC v Printer status transmission ESC i Full cuts ESC Pri...

Page 15: ...width GS k 1 D barcode GS L nL nH Set left margin amount GS a n Allow or prohibit to upload the status automatically GS r n Transmission status GS v Transfer printer status to host GS v 0 Bitmap horizontal modulus data print GS 2 D barcode print GS nL nH Vertical absolute position setting in page print mode GS nL nH Vertical relative position setting in page print mode FS Command FS n Kanji printi...

Page 16: ...t MSB bitmap DC2 v Print LSB bitmap LF Line feed CR Enter FF Forms feed HT Horizontal tab SO Paper feed to initial position at the next label 5 2 Commands details Printing and paper feed commands Printing and paper feed Name print and paper feed Code ASCII LF DEC 10 HEX 0A Function Print the buffer contest and set the paper feed as per line space then adjust print position to initial position at t...

Page 17: ...C 27 74 n HEX 1B 4A n Function Print the buffer content and paper feed Range 0 n 255 Default None Notes Paper feed n dots when printing buffer is empty After executing this command printing position is moved to initial Example 1b 40 30 31 32 1b 4a 10 Print and paper feed n line Name Print and paper feed n lines Code ASCII ESC d n DEC 27 100 n HEX 1B 64 n Function Print the contents in printing buf...

Page 18: ...ht space setting Name Character right space setting Code ASCII ESC SP n DEC 27 32 n HEX 1B 20 n Function Character right space setting as n 0 125mm Range 0 n 255 Default n 0 Notes When characters double width Character right space is twice of normal When characters amplified Character right space is n times of normal This command doesn t affect the setting of Chinese characters This command sets t...

Page 19: ... DEC 29 80 x y HEX 1D 50 x y Function Horizontal movement unit 25 4 x mm 1 x inch Vertica movement unit l25 4 y mm 1 y inch When set X 0 Y 0 X and Y will display default value Range 0 x 255 0 y 255 Default x 180 y 360 Notes None Example None Set line space to default Name Set line space to default Code ASCII ESC 2 DEC 27 50 HEX 1B 32 Function Set line space to default 30 dots Range None Default No...

Page 20: ...nting method Code ASCII ESC n DEC 27 33 n HEX 1B 21 n Function Set character printing methods font highlight inversion bold double hight double width and underline parameter n bit definition as below Bit Function Value 0 1 0 FontNormal Small character 1 Undefined 2 Undefined 3Bold CancelSetting 4 Double hightCancel Setting 5 Double widthCancel Setting 6 Undefined 7 Underline Cancel Setting Range N...

Page 21: ...r height setting HEX DEC width HEX DEC height 00 0 1 Normal 00 0 1 Normal 10 16 2 doublewidth 01 1 2 double height 20 32 3 02 2 3 30 48 4 03 3 4 40 64 5 04 4 5 50 80 6 05 5 6 60 96 7 06 6 7 70 112 8 07 7 8 Range None Default n 0 Notes This command is effective with Chinese and other foreign languages except for HRI character The command setting is disable when ESC printer reset or power off Exampl...

Page 22: ...2 0d 0a Set remove underline Name Set remove underline Code ASCII ESC n DEC 27 45 n HEX 1B 2D n Function Set remove underline mode based on the value of n as follow n Functions 0 48 Removeunderlinemode 1 49 Setunderlinemode 1dotcoarse 2 50 Setunderlinemode 2dotcoarse Range 0 n 2 48 n 50 Default n 0 Notes Printer can print underline for all characters including the space to the right of the charact...

Page 23: ...Notes Only allow to use when LSB of n Example None Set remove overlapping Name Set remove overlapping Code ASCII ESC G n DEC 27 71n HEX 1B 47 n Function Set and remove overlapping print mode When LSB of n is 0 remove overlapping print mode When MSB of n is 1 set overlapping print mode Range 0 n 255 Default n 0 Notes Only allow to use when LSB of n The printer output is the same in overlapping mode...

Page 24: ...pport Model All Notes When it is setted to underline mode the printer is not underlined for characters rotated 90 In the 90 rotation mode the multiplier and double width commands magnify the character in the opposite direction to the multiplier command in the normal mode When ESC printer reset power off the setting of this instruction is invalid Example 1b 40 1b 56 01 30 31 32 0d 0a 30 31 32 0d 0a...

Page 25: ...ble area Example 1b 40 1d 4c 08 00 30 31 32 0d 0a 30 31 32 0d 0a Set relative printing position Name Set relative printing position Code ASCII ESC nL nH DEC 27 92 nL nH HEX 1B 5c nL nH Function Based on the current position using horizontal or vertical motion unit set the printing start position This command sets the printing position from the current position to the distance of nL nH 256 0 125 mm...

Page 26: ... 31 32 0D 0A 1B 40 1B 61 01 30 31 32 0D 0A 1B 40 1B 61 00 30 31 32 0D 0A Select cancel user customized characters Name Select cancel user customized characters Code ASCII ESC n DEC 27 37 n HEX 1B 25 n Function Select cancel user customized characters When n LSB is 0 delete customized characters When n LSB is 1 select customized characters Range 0 n 255 Default 0 Notes When cancel customized charac...

Page 27: ...characters encoding for several characters When it need one character only make c1 c2 d is character s dot data dot mode starts from left side in the horizontal direction It is blank for the rest dots in the right side Defined user defines characters data is y x byte Set corresponding bit of printing dots as 1 or corresponding bit of no printing dots as 0 This command defines different customized ...

Page 28: ...0 H d8 40 H d3 00 H d6 00 H d9 20 H Example y 2 1B 40 1b 26 02 20 20 06 FF FF FF FF FF FF FF FF FF FF FF FF 1b 25 01 20 20 0D 0A 1b 3f 20 30 20 30 20 0d 0a y 3 1B 40 1b 26 03 20 20 06 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 1b 25 01 20 20 0D 0A ...

Page 29: ...ame Set remove quadruple angle of Chinese print Code ASCII FS W n DEC 28 87 n HEX 1C 57 n Function Set or remove quadruple angle of Chinese print When LSB of n is 0 Removequadruple angle of character mode When LSB of n is 1 Set quadruple angle of character mode Range 0 n 255 Default n 0 Notes Only the lowest bit of n is valid In quadruple angle mode printing character size is the same as set doubl...

Page 30: ...separately in standard mode In standard mode use horizontal motion units Example None Set up the Chinese characters to print mode combination Name Set up the Chinese characters to print mode combination Code ASCII FS n DEC 28 33 n HEX 1C 21 n Function Set up Chinese characters print mode the setting of n as follows Bit OFF ON HEX DEC ASB status 0 None 1 None 2 OFF 00 0 Double width mode is forbidd...

Page 31: ...mode Range None Default None Notes When the Chinese character mode is selected the printer processes all Chinese character codes ASCII code two bytes at a time The Chinese character code ASCII code is processed in the order of the first byte and the second byte Example 1b 40 1C 26 B0 AE C9 CF D7 D4 BC BA 0d 0a 1C 2E B0 AE C9 CF D7 D4 BC BA 0d 0a Exit Chinese character mode Name Exit Chinese charac...

Page 32: ...haracter the underline printing will not be performed but the previously specified underline width remains unchanged The default underline width is 1 dot t The specified slip line width remains the same even if the character size had changed Example None Selecting international character set Name Selecting international character set Code ASCII ESC R n DEC 27 82 n HEX 1B 52 n Function Selecting in...

Page 33: ... DEC 27 116 n HEX 1B 74 n Function Selects n from character code N Code Page 0 CP437 U S A Standard Europe 1 KataKana 2 CP850 Multilingual 3 CP860 Portuguese 4 CP863 Canadian French 5 CP865 Nordic 6 WCP1251 Cyrillic 7 CP866 Cyrilliec 2 8 MIK Cyrillic Bulgarian 9 CP755 East Europe Latvian 2 10 Iran 11 Reserve 12 Reserve 13 Reserve 14 Reserve 15 CP862 Hebrew 16 WCP1252 Latin I 17 WCP1253 Greek 18 CP...

Page 34: ...255 GBK Range 0 n 255 Default 0 Notes None Example 1B 40 1C 2E 1B 74 00 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED E...

Page 35: ...nm 32 33 XX80 m 0 1 32 33 1 Hl Hh 256 576 0 d 255 k Hl Hh 256 whenm 0 1 k Hl Hh 256 3 whenm 32 33 Default None Notes d k corresponding bit is 1 which means that this bit can print While it is 0 it means that this bit can not print Thepart of graphics horizontal direction which exceeds the printing area will be ignored The relations between Bit map data and printing effectsis as below The command f...

Page 36: ...FF 1B 33 00 0A Print Graphics horizontal module data Name Print Graphics horizontal module data Code ASCII GS v 0 DEC 29 118 48 m xL xH yL yH d k HEX 1D 76 30 m xL xH yL yH d k Function Print horizontal module graphic data the parametersare as below m as bitmap method m Model Horizontal scaleVertacal scale 0 48 Normal 1 1 1 49 Double width 2 1 2 50 Double height 1 2 3 51 Quadruple 2 2 xL xH were s...

Page 37: ...fect is as below This command hasthe printing function data will be transferred while printing no need to use the printing command again Example 1B 40 1d 76 30 00 03 00 09 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Define downloaded bitmap Name Define downloaded bitmap Code ASCII GS x y d1 d x y 8 DEC 29 42 x y d1 d x y 8 HEX 1D 2A x y d1 d x y 8 Function u...

Page 38: ... 1D 2A 03 03 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 1D 2F 00 Print downloaded bitmap Name Print downloaded bitmap Code ASCII GS m DEC 29 47 m HEX 1D 2F m Function Prints a downloaded bitmap using the mode specified by m Usi...

Page 39: ...rinting area then the excess data will not be printed Example No Define NV bitmap Name Define NV bitmap Code ASCII FS q n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n DEC 28 113 n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n HEX 1C 71 n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n Function Define the NV bitmapusing the specifiedn n specifies the number of the defined NV bitmap xL xH means that the defined NV bit...

Page 40: ...d in non volatile memory Define FS p printing with FS q In standard mode this command is valid only when processed at thebeginning of the line This command is valid when 7 bytes FS yH of the command areprocessed normally When the data volume exceeds the left capacity of the range defined by xL xH yL and yH the printer will process the range defined by xL xH yL and yH outside the defined range In t...

Page 41: ...define bitmap data whose total capacity bitmap data header exceeds 192K bytes The printer does not transmit ASB status or perform status detection during processing of this command even when ASB is specified Once an NV bitmap is defined it is not erased by performing ESC reset and power off This command performs only definition of an NV bitmap and does not perform printing Printing of the NV bitma...

Page 42: ... FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 1C 70 01 00 Print NV bitmap Name Print NV bitmap ...

Page 43: ...is no data in the print buffer This command is not affected by print modes Bold printing overlapping underline character size white black reverse printing or 90 rotated characters etc except upside down printing mode If the downloaded bit image to be printed exceeds one line the excess data is not printed This command feeds dots for the height n of the NV bitmap in normal and double width modes an...

Page 44: ...None Support All Notes None Example None Print MSB bitmap Name Print MSBbitmap Code ASCII DC2 V nL nH d1 dn DEC 18 86 nL nH d1 dn HEX 12 56 nL nH d1 dn Function The width of the bitmap must be the same as that of the printer Bitmap Height nL nH 256 Bitmap format Parameter range 0 m 3 48 m 51 1 n 255 Default None Support All Notes None ...

Page 45: ...Parameter range None Default None Support All Notes None Example None Tab Commands Horizontal tab Name Horizontal tab Code ASCII HT DEC 9 HEX 09 FUNCTION Move the print position to the next tab position Parameter range None Defaults None Notes Tab position set by ESC D If the tab position is not set the default is no horizontal position this command will be treated as an LF command If the tab posi...

Page 46: ...racter interval Column 9 17 25 of the font A 12 24 Support model All Notes Tab position as below Maximum support for the setting of 16 tab position Using this command the setting of previous tab position will be canceled k is for indication purpose no transmission When transport d k and come across NULL should be considered over If dk less than or equal to dk 1 should be considered over and balanc...

Page 47: ...r code Parameter range 0 n 3 or 48 n 51 Defaults n 0 Notes The command setting will be valid after ESC printer reset power off Example None 1D bar code readable character HRI font type selection Name 1D bar code readable character HRI font type selection Code ASCII GS f n DEC 29 102 n HEX 1D 66 n Function Select a font for the HRI character to be used when print the bar code The relationship betwe...

Page 48: ...1D bar code width setting Name 1D bar code width setting Code ASCII GS w n DEC 29 119 n HEX 1D 77 n Function Parameter n specifies the unit of a bar code in dots Parameter range 1 n 6 Defaults n 2 Noted The command setting will be valid after ESC printer reset power off Example None 1D bar code printing Name 1D bar code printing Code A ASCII GS k m d k NUL DEC 29 107 m d k NUL Hex 1D 6B m d k NUL ...

Page 49: ...ar code length SP show space Data lengt h k Character set Data d 0 UPC A fixed k 11 12 0 9 48 d 57 1 UPC E fixed 6 k 8 k 11 12 0 9 48 d 57 when k 7 8 11 12 d1 48 2 JAN13 EAN13 fixed k 12 13 0 9 48 d 57 3 JAN8 EAN8 fixed k 7 8 0 9 48 d 57 4 CODE39 chan geab le 1 k 0 9 A Z SP 48 d 57 65 d 90 d 32 36 37 42 43 45 46 47 5 ITF Interlea ved 2 of 5 chan geab le 2 k 255 even numbers 0 9 48 d 57 6 CODAB AR ...

Page 50: ... 2 of 5 cha nge able 2 n 255 even numbers 0 9 48 d 57 71 CODAB AR NW 7 cha nge able 1 n 0 9 A D a d 48 d 57 65 d 68 97 d 100 d 36 43 45 46 47 58 65 d1 68 65 dk 68 97 d1 100 97 dk 100 72 CODE9 3 cha nge able 1 n 255 00H 7FH 0 d 127 73 CODE1 28 cha nge able 1 n 255 00H 7FH C1H C4H FN C 0 d 127 d 193 194 195 196 74 UCC EA N128 cha nge able 1 n 255 00H 7FH C1H C4H FN C 0 d 127 d 193 194 195 196 Parame...

Page 51: ...gth is 11 or 12 the check bit is automatically inserted or corrected Initial character central split character and terminator are inserted automatically When print UPCE m 1 or 66 Please pay attention as following The system character NSC 0 will be inserted automatically when data length is 6 The first system character NSC d1 must be 0 when the data length is 7 8 11 and 12 Whatever the data length ...

Page 52: ...Initial character and terminator could not inserted automatically but manual addition by user that the range from A D or a d Check bit could not calculate and add automatically When print CODE93 m 72 please pay attention as following Initial character and terminator inserted automatically The two check code are automatically calculated and then inserted When barcode readable character HRI is set t...

Page 53: ...be wrong GS k 74 18 01 9501234567890 When user use the connection structure need to insert FNC1 C1H Decimal 193 in the middle The input example as following GS k 74 18 019501234567890 193 029501234567890 When barcode readable character HRI is set to print the control character will be replaced with space then cancel FNC1 FNC4 Example 1b 40 1d 48 02 1d 6b 41 0c 31 32 33 34 35 36 37 38 39 30 31 32 1...

Page 54: ... HEX 1D 28 6b pL pH cn fn n Function Setting error correction level of QR code Parameter range pL 3 pH 0 cn 49 fn 69 48 n 51 Default n 48 Notes Setting error correction level of QR code n Function Approximate Amount of correction 4 8 Error correction level L 7 4 9 Error correction level M 15 5 0 Error correction level Q 25 5 1 Error correction level H 30 Example None Store QR code data to QR code ...

Page 55: ...cn fn m DEC 29 40 107 pL pH cn fn m HEX 1D 28 6b pL pH cn fn m Function Printing QR code Parameter range pL 3 pH 0 cn 49 fn 81 m 48 Default None Notes Printing QR code Users must consider QR code graph space The space of up and down left and right of QR code graph is specified in the specification Example 1b 40 1d 28 6b 03 00 31 43 03 1d 28 6b 03 00 31 45 30 1d 28 6b 06 00 31 50 30 41 42 43 1b 61 ...

Page 56: ... Fixed Value 31H 49 1byte Separator 1FH 31 1byte Other Information 30H or 31H 48 or 49 1byte NUL 00H 0 1byte Parameter range pL 3 pH 0 cn 49 fn 82 m 48 Default None Notes This command do not print QR code graph Users must consider QR code graph space The space of up and down left and right of QR code graph is specified in the specification Example None Printing two dimensional code Name Printing t...

Page 57: ...de image is damaged n specify a safety and stable recovery 1 n 8 K defines horizontal and vertical ratios 2 K 5 d is the data length and contains 2 bytes dL the first byte is the low order byte dH the second byte is the high order byte d1 dn is bar code data affect PDF417 type by the bar code width command QR CODE bar code type 2 m specify version flag 1 40 0 auto size N specify EC level L 7 M 15 ...

Page 58: ...51 m n p1H p1L l1H l1L ecc1 v1 d1 dn p2H p2L 12H l2L ecc2 v2 dk dm Function Printing double QR code Range QR code numbers 0 m 3 QR code size n 1 8 P1H p1L specify the location of QR1 p1H 256 p1L L1H l1L specify the data length of QR1 l1H 256 l1L Ecc1 specify error correction level about QR1 0 7 1 15 2 25 3 30 V1 specify QR1 version of the symbol 1 40 0 auto size D1 d2 as the data of QR1 P2H p2L sp...

Page 59: ...interface When DTR DSR control is selected the printer transmits only 1 byte after confirming the host is ready to receive data DSR signal is SPACE If the host computer is not ready to receive data DSR signal is MARK the printer will wait until the host is ready When XON XOFF control is selected the printer transmits only 1 byte without confirming the status of the DSR signal This command is execu...

Page 60: ...d 4 Off 00 0 unused fixed to be Off 5 6 Undefined 7 Off 00 0 unused fixed to be Off Example None Transit the printer status to host Name Transit the printer status to host Code ASCII GS v DEC 27 118 HEX 1B 76 Function transit a byte printer status to host Only works in serial printer Send bytes are defined as follows byte function number 0 1 2 No paper 1 3 Printer failure 1 4 0 0 5 6 The heating p...

Page 61: ... cutter has been installed 2 3 unused 4 off 00 0 fixed 5 retain 6 unused 7 off 00 0 fixed Information B can be specified n Printer type Content 65 Fixed version Depends on software version 66 manufacturer Cashino 67 Printing name LPM260 or PTP II 68 Printing ID Seiral No 69 Chinese characters Simplified Chinese mode GBK Traditional Chinese mode BIG 5 Range n 1 2 49 50 printer ID 65 n 69 printer in...

Page 62: ...stant to be0 Default None Notes None Example None Allow forbid status uploading automatically Name Allow forbid status uploading automatically Code ASCII GS a n DEC 27 97 n HEX 1D 61 n Function Only works in serial printer n are defined as follows byte Function Number 0 1 0 fixed to be 0 1 2 Forbid allow status uploading automatically Forbid Allow 3 4 5 Forbid allowERROR set BUSYRTS BUSY Forbid Al...

Page 63: ...tween 2 or more bite Though printer being forbid by ESC this command still effective Printer transmit current situation each situation show by 1 bite data It is not sure host computer will receive printer transmit situation Printer executed immediately after received the command The command only effective for serial printer Printer start to work immediately after receiving this command at any situ...

Page 64: ...upper cover 1 04 4 Open upper cover 3 0 00 0 Not press feed key 1 08 8 press feed key 4 1 10 16 Fixed to be 1 5 0 00 0 Paper adequate 1 20 32 Paper shortage 6 0 00 00 No error 1 40 64 Error 7 0 00 0 Fixed to be 0 n 3 transmit error status bite 0 1 Hexadecim al decimalis m Function 0 0 00 0 Fixed to be 0 1 1 02 2 Fixed to be 1 2 Undefined 3 0 00 0 No cutter error 1 08 8 Cutter error 4 1 10 16 Fixed...

Page 65: ...time When the printing head temperature drops the error will be automatically recovered n 4 paper sensor status bite 0 1 Hexadecim al decimalis m Function 0 0 00 0 Fixed to be 0 1 1 02 2 Fixed to be 1 2 3 0 00 0 Paper 1 0C 12 Paper near end 4 1 10 16 Fixed to be 1 5 6 0 00 0 Paper 1 60 96 Paper end 7 0 00 0 Fixed to be 0 Example 10 04 01 10 04 02 10 04 03 10 04 04 Real time request Name Real time ...

Page 66: ...ngs that matchs it 2 Do not embed this command into another command Example the graphical data may contain this command Example None Real time pulse Name Real time pulse Code ASCII DLE DC4 fn m t DEC 16 20 fn m t HEX 10 14 fn m t Function T stands for the real time output pulse and m is the connection pin m Connection pin 0 drawer socket pin 2 1 drawer socket pin 2 T specifies that the starting cl...

Page 67: ...he line Example None Data print in page print mode Name Data print in page print mode Code ASCII ESC FF Decimal 27 12 Hex 1B 0C Function Performs the batch printing of data developed in the entire print area in page print mode Range None Default value None Notes Valid only when this command is input in page print mode Example None Page print mode select Name Page print mode select Code ASCII ESC L...

Page 68: ...e line The print locale set by ESC W is initialized Example None Character development angle select in page print mode Name Character development angle select in page print mode Code ASCII ESC T n Decimal 27 84 n Hex 1B 54 n Function This command sets the print direction of characters in the page print mode and the start position of data development The relationship of n print direction and start ...

Page 69: ...dyH Function X0 y0 dx dy define respectively Horizontal start point Vertical start point Horizontal length Vertical length Each parameter sets the following functions X0 xL xH 256 0 125mm y0 yL yH 256 0 125mm dx dxL dxH 256 0 125mm dy dyL dyH 256 0 125mm Range 0 xL xH yL yH dxL dxH dyL dyH 255 ExceptdxL dxH 0 or dyL dyH 0 Default value None Notes When line mode is specified only the internal set v...

Page 70: ...he vertical start position and print area height If the horizontal start point is X the vertical start point is Y the horizontal length is dX and the vertical length is dY then the printable area is as follows Example None Vertical absolute position setting in page print mode Name Vertical absolute position setting in page print mode Code ASCII GS nL nH Decimal 29 36 nL nH Hex 1D 24 nL nH Function...

Page 71: ...nH 255 Default value None Notes When the specified n is a downward motion nL nH 256 N When you specify N as the upward motion negative direction use the 65536 complement When the specified n is up motion nL nH 256 65536 N Any settings that exceed the specified print area are ignored Use vertical motion units y when you set the start position to the upper left or lower right of the print area Use h...

Page 72: ...D 56 m n Function This command executes paper cutting The relationship between parameter m and the cut mode is as follows M Mode 0 48 Full cut 1 49 Partial cut 65 66 Feed paper and cut Range m 0 48 1 49 m 66 0 n 255 Default value None Notes This command is valid only at the beginning of the line m 0 48 1 49 Printer cut paper directly m 65 66 Feeds paper to The distance between the print position a...

Page 73: ... 40 30 30 30 0D 0A 1B 69 Partial cut Name Partial cut Code ASCII ESC m Decimal 27 109 Hex 1B 6D Function Partial cut mode Range None Default value None Notes None Example 1B 40 30 30 30 0D 0A 1B 6D Specified pulse generation Name Specified pulse generation Code ASCII ESC p m t1 t2 Decimal 27 112 m t1 t2 Hex 1B 70 m t1 t2 Function Outputs the signal specified by t1 and t2 to the connector pin m Ran...

Page 74: ...urn off the signal No 5pin Example 1B 40 1B 70 00 10 32 1B 70 01 10 32 Setting up paper type Name Setting up paper type Code ASCII US A n Decimal 31 65 n Hex 1F 41 n Function Setting up paper type n 0 Thermal paper n 1 label paper Range None Default value None Notes None Example None Feed to the beginning of the next label Name Feed to the beginning of the next label Code ASCII SO Decimal 14 Hex 0...

Reviews: