background image

CSN-58III user manual

36

0 ≤ d ≤ 255

k = (xL+xH*256)*(yL+yH*256)*8
Area = 64 k bytes of data

Default

No

Support

All

Notes

Frequent write command executions may damage the NV

memory.
Therefore, it is recommended to write the NV memory 10 times or less
a day.

The printer performs a hardware reset after the procedure to place

the image into the NV memory. Therefore, user-defined characters,
downloaded bit images should be defined only after completing this
command. The printer clears the receive and print buffers and resets
the mode to the mode that was in effect at power on. (this version is
not support hardware reset )

This command cancels all NV bit images that have already been

defined by this command.

From the beginning of the processing of this command till the

finish of hardware reset, mechanical operations (including initializing
the position of the print head when the cover is open, paper feeding
using the FEED button, etc.) cannot be performed.

During processing of this command, the printer is BUSY when

writing data to the user NV memory and stops receiving data.
Therefore it is prohibited to transmit the data, including real-time
commands, during the execution of this command.

NV bit image is a bit image defined in non-volatile memory by FS

q and printed by FS p.

In standard mode, this command is effective only when processed

at thebeginning of the line.

This command is effective when 7 bytes <FS yH> of the

command areprocessed normally.

When the amount of data exceeds the capacity left in the range

defined by xL, xH, yL, yH, the printer processes xL, xH, yL, yH out of
the defined range.

In the first group of NV bit images, when any of the parameters xL,

xH, yL, yH is out of the definition range, this command is disabled.

In groups of NV bit images other than the first one, when the

printer encounters xL, xH, yL, yH out of the defined range, it stops
processing this command and starts writing into the NV images. At this
time, NV bit images that haven’t been defined are disabled
(undefined), but any NV bit images before that are enabled.

The d indicates the definition data. In data (d) a 1 bit specifies a

dot to be printed and a 0 bit specifies a dot not to be printed.

This command defines n as the number of a NV bit image.

Summary of Contents for CSN-58III

Page 1: ...CSN 58III user manual 1 CSN 58III Thermal Receipt printer Protocol Lin Xiaopeng 2017 04 06 Audit Hu Riyu 2017 04 08 Standardize Liu Zhonghua 2017 04 09 ...

Page 2: ... 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 2 20180409 Printer parameters 6 7 8 Zhu Chunyan Hu Riyu 3 20180523 Modify installation port size 6 Zhu Chunyan Hu Riyu ...

Page 3: ...CSN 58III user manual 3 www cashinotech ...

Page 4: ...ine space 15 Set the character print mode 16 Set character size 16 Set and cancel white printing 17 Set and delete underline 18 Set and delete bold print 19 Set and delete overstriking 19 Set and cancel character upside down 19 Set and delete clockwise 90 revolving printing 20 Allow and forbid key switch 20 Set the left margin 20 Set relative to print position 21 Set justification 22 Choose and de...

Page 5: ...2 Print One dimension bar code 42 2 D bar code printing commands 48 Mode type of 2 D bar code 48 Horizontal error correction of 2 D bar code 48 Stored 2 D bar code data to data buffer 49 Printing two dimension bar code 49 Setting two dimension bar code graph information 50 Printing Two dimension bar code 51 Printing two dimension bar code 52 Print double QR CODE 53 Status Commands 54 Transmit stat...

Page 6: ...uctuation 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: ...printing Paper width 57 5 0 5mm Exfective printing width 48mm Resolution 8 dots mm 384dots line Max Printing speed 90mm sec Reliability Print head life 50km Character size ANK Character Font A 12 24 dots Font B 9x17dots Simplity Traditional 24 24 dots Barcode type UPC A UPC E JAN13 EAN13 JAN8 EAN8 CODE39 ITF CODABAR C ODE93 CODE128 Print command Compatible with ESC POS Paper roll thinkness 0 06 0 ...

Page 8: ...rmal paper roll easy to load paper Thermal paper load as below shows 1 Open printer upper cover 2 Put paper into cabinet as picture 2 shows 3 Pull paper a little then close the cover 4 tear off the extra paper Store environment requirements Temperature 10 60 Relative humidity 10 90 ...

Page 9: ... if continue this button is connected to send paper 2 Status Status Happens when the printer paper errors of the blade and the print head overheat mistakes such as the lights flashing 3 Power light Power The light said the printer power on the lights went out said printer power shut down 3 4 Self test Page Printing 1 Make sure the printer is power off and installed printing paper as described 2 Pr...

Page 10: ...completely 3 Should dip in with soft cloth anhydrous ethanol dry erase the print head thermal dust and stains on the surface 4 Waiting for anhydrous ethanol completely evaporated close up and cover commissioning print again Note 1 Ensure the power off when maintaining the printer 2 Don t touch the surface of the print head with the hand and metal items Should not use tweezers and other tools to hu...

Page 11: ...d print ESC G n set and delete overstriking ESC n set and cancel character upside down ESC V n set and delete clockwise 90 revolving printing ESC c 5 n allow and forbid key switch ESCL nL nH set the left margin ESC nL nH set relative to print position ESC a set justification ESC n choose and delete customized characters ESC define customized characters ESC n cancel user defined characters FS W n s...

Page 12: ...mmands GS 2 D bar code printing commands ESC Z 2 D bar code printing commands US Q print double QR CODE GS r n transmission status status commands GS v to pass the host the printer status ESC u transfer to the host state of peripheral devices GS a n allow banning state upload automatically DLE EOT n real time transmission status ESC initialize printer other commands DC2 T print self test page ESC ...

Page 13: ... feed dots Name Print and paper feed dots Code ASCII ESC J n DEC 27 74 n HEX 1B 4A n Function Print the buffer content and paper feed Parameter range 0 n 255 Default No Notes Paper feed n dots when printing buffer is empty After executing this command printing position is moved to initial position in next line Example 1b 40 30 31 32 1b 4a 10 Print and paper feed n line Name Print and paper feed n ...

Page 14: ... 125 mm Designated areas outside print Settings are ignored Example No Set the right character spacing Name Set the right character spacing Code ASCII ESC SP n DEC 27 32 n HEX 1B 20 n Function Set the characters on the right side of the gap is n 0 125 mm Parameter range 0 n 255 Default n 0 Notes For times wider pattern character spacing on the right side is twice the general mode When the characte...

Page 15: ...ter blankout and the line space turns to default Example 1b 40 1b 33 30 30 31 32 0d 0a 30 31 32 0d 0a 1b 32 30 31 32 0d 0a 30 31 32 0d 0a Set default line space Name Set default line space Code ASCII ESC 2 DEC 27 50 HEX 1B 32 Function Set line space to default 30 dots Parameter range No Default No Notes Line space in details pls check ESC 3 command If the setted line space is less than the height ...

Page 16: ...ancel Setting Parameter range No Default n 0 Notes The command is effective with Chinese and foreign languages The command is disabled when ESC printer reset or blank out Example 1B 40 1B 21 01 30 31 32 0D 0A 1B 40 1B 21 02 30 31 32 0D 0A 1B 40 1B 21 04 30 31 32 0D 0A 1B 40 1B 21 08 30 31 32 0D 0A 1B 40 1B 21 10 30 31 32 0D 0A 1B 40 1B 21 20 30 31 32 0D 0A 1B 40 1B 21 40 30 31 32 0D 0A 1B 40 1B 21...

Page 17: ...racter The command setting is disable when ESC printer reset or blankout Example 1b 40 1d 21 11 30 31 32 0d 0a 30 31 32 0d 0a Set and cancel white printing Name Set and cancel white printing Code ASCII GS B n DEC 29 66 n HEX 1d 42 n Function Set or cancel white printing mode When the LSB is 0 white printing mode is off When the LSB is 1 white printing mode is on Parameter range No Default n 0 Note...

Page 18: ...erline mode 1 49 Set underline mode 1 dot coarse 2 50 Set underline mode 2 dot coarse Parameter range 0 n 2 48 n 50 Default n 0 Notes Printer can print underline for all characters including spacing in characters left side but expect for setted blank by HT Printer can not print underline for clockwise rotated 90 characters and white printing characters When n is setted as 0 or 48 delete underline ...

Page 19: ...Set and delete overstriking Code ASCII ESC G n DEC 27 71n HEX 1B 47 n Function set and delete overstriking When n the least significant bit is 0 delete overstriking When n the most significant bit is 1 set overstriking Parameter range 0 n 255 Default n 0 Notes N only the least significant bit allows you to use In the overstriking pattern and bold pattern printer output is the same Example No Set a...

Page 20: ...ine for clockwise 90 revolved characters Under clockwise 90 revolving mode double height and double width commands zoomed characters direction is the opposite of double width and double height zoomed characters direction in normal mode The command setting is disabled after ESC resetting the printer and power off Example 1b 40 1b 56 01 30 31 32 0d 0a 30 31 32 0d 0a Allow and forbid key switch Name ...

Page 21: ...tive to print position Name Set relative to print position Code ASCII ESC nL nH DEC 27 92 nL nH HEX 1B 5c nL nH Function Based on the current position by using horizontal or vertical motion unit set the print starting position This command sets the print position from the current position to nL nH 256 0 125mm distance Parameter range 0 nL 255 0 nH 255 Default No Notes Any out of the printable area...

Page 22: ...01 30 31 32 0D 0A 1B 40 1B 61 00 30 31 32 0D 0A Choose and delete customized characters Name Choose and delete customized characters Code ASCII ESC n DEC 27 37 n HEX 1B 25 n Function choose or delete customized characters When n the least significant bit is 0 delete customized characters When n the least significant bit is 1 choose customized characters Parameter range 0 n 255 Default 0 Notes When...

Page 23: ...rs It can define continuous character encoding for several characters When it need one character 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 is 1 or corresponding bit of no printing dots is 0 The command can defi...

Page 24: ...0 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 1b 3f 20 30 20 30 20 0d 0a Cancel user defined characters Name Cancel user defined characters Code ASCII ESC n DEC 27 63 n HEX 1B 3F n ...

Page 25: ...le of Chinese print When n the LSB of the least significant digit is 0 remove four times the angle of Chinese print When n the LSB of the least significant digit is 1 set four times the angle of Chinese print Parameter range 0 n 255 Default n 0 Notes Only n lowest effective Four times in the Angle of mode print character size is the same as set double width and double height mode to print characte...

Page 26: ...twice the normal mode Can be in standard mode use this command to set the spacing In standard mode use level of motor unit Example No 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 the n is as follows bit off on HEX DEC ASB statu...

Page 27: ...e mode Name Set Chinese mode Code ASCII FS DEC 28 38 HEX 1C 26 Function Set Chinese mode Parameter range No Default No Notes When the Chinese mode selected all characters are ASCII code It deals with one character per time According to the first byte and the second byte order processing code of ASCII code 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 Set and...

Page 28: ... coarseness is 1 dot It is not effective with underline coarseness to chang character size Using ESC can also set and delete underline mode But pls note the last received command must be effective Example No Select an international character set Name Select an international character set Code ASCII ESC R n DEC 27 82 n HEX 1B 52 n Function Selects international character set n from the following ta...

Page 29: ...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 CP852 Lati...

Page 30: ...312 Parameter range 0 n 255 Default 0 Notes 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 ...

Page 31: ...rameter range XX58 m 0 1 32 33 1 Hl Hh 256 384 0 d 255 k Hl Hh 256 when m 0 1 k Hl Hh 256 3 when m 32 33 XX80 m 0 1 32 33 1 Hl Hh 256 576 0 d 255 k Hl Hh 256 when m 0 1 k Hl Hh 256 3 when m 32 33 Default No Notes d k corresponding bit is 1 which means this bit can print While it is 0 it means this bit can not print The printing area parts of exceeding graphics horizontal direction will be ignored ...

Page 32: ...tinuously if it breaks line Example 1B 40 1b 2a 00 0C 00 FF FF FF FF FF FF FF FF FF FF FF FF 1B 33 00 0A Print raster bit image Name Print raster bit image 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 the transverse modulus image data Parameter as follows m as bit image method m Model VerticalDot Density HorizontalDot Density 0 48 Normal 1 1 1 49 ...

Page 33: ...argin position and image content is cleared the bitmap data relationship with the printing effect is as follows This command with a printing function data transfer and print don t need to use the print command 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 bit image Name Define downloaded bit image Code ASCII...

Page 34: ... executed Printer is reset or the power is turned off The following figure shows the relationship between the downloaded bit image and the printed data Example 1B 40 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 ...

Page 35: ...rse printing except for upsidedown printing mode If the downloaded bit image to be printed exceeds the printable area the excess data is not printed Example No Define NV bit image Name Define NV bit image 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 bit image...

Page 36: ...ing data to the user NV memory and stops receiving data Therefore it is prohibited to transmit the data including real time commands during the execution of this command NV bit image is a bit image defined in non volatile memory by FS q and printed by FS p In standard mode this command is effective only when processed at thebeginning of the line This command is effective when 7 bytes FS yH of the ...

Page 37: ...ter uses data xL xH 256 yL yH 256 8 header 4 bytes of NV memory The definition area in this printer is a maximum of 192K bytes This command can define several NV bit images but cannot define bit image data whose total capacity bit image 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 On...

Page 38: ...F 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 bit image Name Print NV bit image ...

Page 39: ...d is effective only when there is no data in the print buffer This command is not affected by print modes emphasized 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 bit image in normal and do...

Page 40: ... current line and horizontal tab processing from the beginning of the next line Example No Set horizontal tab positions Name Set horizontal tab positions Code ASCII ESC D d k NUL DEC 27 68 d k 0 HEX 1B 44 d k 00 Function Set horizontal tab positions Parameter as follows d1 dk Horizontal TAB position take 8 dots as unit end with NULL Parameter range XX58 1 d 46 d1 d2 dk 1 k 16 XX80 1 d 70 d1 d2 dk ...

Page 41: ...ting Name Set barcode HRI printing setting Code ASCII GS H n DEC 29 72 n HEX 1D 48 n Function Set barcode HRI printing position n parameter meanings as below n printing position 0 48 dont print 1 49 barcode upside 2 50 barcode down side 3 51 barcode upside and down side Parameter range 0 n 3 或 48 n 51 Default n 0 Notes When ESC printer resets power off the command setting is disabled Example No Se...

Page 42: ...d will failure Example No Print One dimension bar code Name Print One dimension bar code Code A ASCII GS k m d k NUL DEC 29 107 m d k NUL HEX 1D 6B m d k NUL B ASCII GS k m n d k DEC 29 107 m n d k HEX 1D 6B m n d k Function Print One dimension bar code the meaning of all parameters as follows m is encode mode n is the length of encode data only for B the difference between A and B is A end with N...

Page 43: ...en 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 CODE3 9 chan geabl e 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 geabl e 2 k 255 even number 0 9 48 d 57 6 CODAB AR NW 7 chan geabl e 1 k 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 Command B ...

Page 44: ... when n 7 8 11 12 d1 48 67 JAN13 EAN13 fixed n 12 13 0 9 48 d 57 68 JAN8 EAN8 fixed n 7 8 0 9 48 d 57 69 CODE3 9 chan geabl e 1 n 0 9 A Z SP 48 d 57 65 d 90 d 32 36 37 42 43 45 46 47 70 ITF Interlea ved 2 of 5 chan geabl e 2 n 255 even number 0 9 48 d 57 71 CODAB AR NW 7 chan geabl e 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 ...

Page 45: ...ack to starting location Parameter m 0 6 A and 65 71 B choose the same encode system the same effect When m 0 6 A bar code data end up with NULL When m 65 74 B n stands for data length k use for sign not transmission When printing UPCA m 0 or 65 pay attention Regardless of the input data length is 11 or 12 check digit automatically insert or error correction The starting character middle separator...

Page 46: ... is 7 or 8 check digit automatically insert or error correction The starting character middle separator terminators automatically inserted Print CODE39 m 4 or 69 pay attention to When d1 or not as the starting character dn terminator encoder automatically inserted into the When the data center meet with encoder as the terminator the rest of the data as a common data processing Check digit does not...

Page 47: ...FNC4 will use Spaces instead Printing EAN128 m 74 pay attention to Basic construction Starting character set FNC1 AI Data part Check bit A Check bit B End mark Automatical inserted d1 dk Automatical inserted Linking construction Star ting char acte r set FN C1 AI Dat a part Che ck bitA FN C1 AI Dat a part Che ck bitA Che ck bitB End mar k Automatic al inserted d1 dk Automatic al inserted Intellige...

Page 48: ...8 41 32 33 34 35 36 30 41 1d 6b 48 08 41 30 32 33 34 35 36 41 1d 6b 49 08 41 30 32 33 34 35 36 41 2 D bar code printing commands Mode type of 2 D bar code Name Mode type of 2 D bar code Code ASCII GS k pL pH cn fn n Decimal 29 40 107 pL pH cn fn n Hexadecimal 1D 28 6b pL pH cn fn n Function Setting mode type of two dimension bar code to n dot n dot Parameter range pL 3 pH 0 cn 49 fn 67 0 n 16 Defa...

Page 49: ...wo dimension bar code data to data buffer Code ASCII GS k pL pH cn fn m d1 dk DEC 29 40 107 pL pH cn fn m d1 dk HEX 1D 28 6b pL pH cn fn m d1 dk Function Stored two dimension bar code data to data buffer Parameter range 4 pL pH 256 7092 0 pL 255 0 pH 28 cn 49 fn 80 m 48 0 d 255 k pL pH 256 3 Default No Notes Stored two dimension bar code data d1 dk to data buffer pL pH 256 3 bytes after the m d1 d...

Page 50: ... graph information Name Setting two dimension bar code graph information Code ASCII GS k pL pH cn fn m DEC 29 40 107 pL pH cn fn m HEX 1D 28 6b pL pH cn fn m Function Setting two dimension bar code graph information Parameter range ASCII GS k pL pH cn fn m Decimal 29 40 107 pL pH cn fn m Hexadecimal 1D 28 6b pL pH cn fn m Default Setting two dimension bar code graph information The detailed graph ...

Page 51: ...sider two dimension bar code graph space Example No Printing Two dimension bar code Name Printing Two dimension bar code Code ASCII GS k m v r nL nH d1 dk DEC 29 107 97 v r nL nH d1 dk HEX 1D 6B 61 v r nl nH d1 dk Function Printing Two dimension bar code V of the specifications of the qr code v 0 means automatic selection of the specifications of the qr code R represents the level of error correct...

Page 52: ...ber the first byte is low dH the second byte is superior d1 dn is data of bar code By the bar code width GS w n command to influence the PDF417 type QR CODE bar code type is 2 M the specified version of the mark 1 40 0 auto size n to specify the CE level L 7 M 15 Q 25 H 30 K to specify component types 1 8 d is the length of the data and it contains 2 bytes dL number the first byte is low dH the se...

Page 53: ...L to specify QR1 position p1H 256 p1L L1H l1L to specify QR1 length of data l1H 256 l1L Ecc1 to specify QR1 Error correction level error 0 7 1 15 2 25 3 30 V1 to specify QR1 version of the symbol 1 40 0 auto size D1 d2 is QR1data P2H p2L to specify QR2 position p2H 256 p2L L2H l2Lto specify QR2 length of data l2H 256 l2L Ecc2to specify QR2 Error correction level error 0 7 1 15 2 25 3 30 V2 to spec...

Page 54: ...ceive data DSR signal is SPACE If the host computer is not ready to receive data DSR signal is MARK the printer waits until the host is ready When XON XOFF control is selected the printer transmits only 1 byte without confirming the condition of the DSR signal This command is executed when the data in the receive buffer is developed Therefore there may be a time lag between receiving this command ...

Page 55: ...ndefined 7 Off 00 0 Not used Fixed to Off Example No To pass the host the printer status Name To pass the host the printer status Code ASCII GS v DEC 27 118 HEX 1B 76 Function Delivering a byte to host printer status Only the serial printer effectively Send bytes are defined as follows byte function number 0 1 2 No paper 1 3 Printer faults 1 4 0 0 5 6 The heating temperature is too high 1 7 Defaul...

Page 56: ...ASCII GS a n DEC 27 97 n HEX 1D 61 n Function Only the serial printer effectively n are defined as follows byte function Number 0 1 0 Fixed 0 1 2 Allow banning state upload automatically Ban Allow 3 4 5 Banning and allwo ERROR set BUSY RTS BUSY Ban Allow 6 7 Default No Notes When effective printer found state changes the state automatically sent to the host Example No Real time transmit status Nam...

Page 57: ...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 situation n 1 printer status Bit 0 1 Hexadecim al decimalis m Function 0 ...

Page 58: ...ixed 1 5 0 00 0 Paper enough 1 20 32 Paper shortage 6 0 00 00 Correction 1 40 64 Mistake 7 0 00 0 Fixed 0 n 3 transmit error situation bite 0 1 Hexadecim al decimalis m Function 0 0 00 0 Fixed 0 1 1 02 2 Fixed 1 2 Undefined 3 0 00 0 No cutting mistake 1 08 8 Cutting mistake 4 1 10 16 Fixed 1 5 0 00 0 No unrecoverable mistake 1 20 32 Unrecoverable mistake 6 0 00 00 Printer head temp and voltage nor...

Page 59: ...ed 1 2 3 0 00 0 Paper 1 0C 12 Paper near end 4 1 10 16 Fixed 1 5 6 0 00 0 Paper 1 60 96 Without paper 7 0 00 0 Fixed 0 Example 10 04 01 10 04 02 10 04 03 10 04 04 Other Command Initialize printer Name Initialize printer Code ASCII ESC DEC 27 64 HEX 1B 40 Function Initialize printer Eliminate printing buffer All data recover to default Parameter range No ...

Page 60: ...le 1B 40 12 54 A cashbox impulse Name A cashbox impulse Code ASCII ESC p m t1 t2 DEC 27 112 m t1 t2 HEX 1B 70 m t1 t2 Function Output pulse designated by the t1 and t2 to m the specified pin Parameter range m 0 1 48 49 0 t1 255 0 t2 255 Default No Notes 1 Cashbox pin designated by m 2 Open cashbox is t1 2ms and close cashbox is t2 2ms 3 When the t2 t1 printer doesn t deal with this command m Funct...

Page 61: ...CSN 58III user manual 61 ...

Reviews: