Page 1
Authorize: Wang Huanyong 2017.04.11 Company: Xiamen Cashino Technology Co., Ltd. Tel: 0592-5517253 Fax: 0592-5231815 Address: 4/F,No.318,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.
Page 2
CSN-A1 user manual revision record Edited Item Date Description Desing Review page 20170406 The first draft Hu Riyu Xiaopeng 20180409 Printer parameters 6.7.8 Hu Riyu Chunyan 20180523 Modify installation port size Hu Riyu Chunyan www.cashinotech.com...
CSN-A1 user manual Content 1. Product overview..........................6 2. Features............................6 3. Dimension............................6 4. Specifications..........................7 5. Pin definition description......................8 6. Basic usage...........................9 6.1 Self-test page printing..................... 9 6.2 LED indicator........................9 6.3 Paper roll installation.....................10 7.Command Introduction......................10 7.1 Command List........................10 7.2 Commands details......................13 ①Printing and paper feed commands................13 Printing and paper feed....................13 Enter..........................
Page 4
CSN-A1 user manual Set the Angle of Chinese character word space............26 Set up the Chinese characters to print mode combination........27 Set Chinese mode......................27 Exit Chinese character mode..................28 Set and cancel under line of Chinese character mode..........28 Set and cancel under line of Chinese character mode..........28 Selecting international character set................29 Select character code....................29 ③Graphic printing command..................
Page 5
CSN-A1 user manual Character development angle select in page print mode........65 Page print mode print area setting................66 Vertical absolute position setting in page print mode..........67 Vertical relative position setting in page print mode..........68 ⑨Other commands......................68 Printer reset........................68 Print self-test page......................69...
CSN-A1 user manual Resolution 203dpi(8 dots/mm) Printing Width 48mm Feeding accuracy 0.0625mm ASCII,GBK,BIG5 etc. Character set ANK : (9*17,12*24) Traditional character Font Chesese:(24*24) Paper type Thermal paper Paper width 57.5±0.5mm Paper roll Paper roll diameter Max40mm specification Paper thickness 60-85μm Heating head temperature detection Via thermistor Paper end detection...
CSN-A1 user manual Power MH09/1.25mm Definition Ground Power RS232 MH05/1.25mm Definition Ground Data send Data receive Flow control Flow control TTL MH05/1.25mm Definition Ground Data send Data receive Flow control Flow control 6. Basic usage 6.1 Self-test page printing Method 1: first, power off, then press and hold the feed button,and then power on the printer, There will come out the self-test page along with baud rate, language and other information on it.
CSN-A1 user manual light is shown as below, Flash 1: working normally Flash 2: the mechanism is not connected or the temperature is too low Flash 3: paper end Flash 5: Mechanism is overheating 6.3 Paper roll installation 1. Open the printer upper cover; 2.
Page 11
CSN-A1 user manual ESC u Peripheral device status transmission ESC v Printer status transmission ESC i Full cuts ESC @ Printer reset ESC = Select peripherals device ESC a Setting position alignment mode ESC $ nL nH Set absolute print position ESC \ nL nH Set relative print position ESC W...
Page 12
CSN-A1 user manual GS \ nL nH Vertical relative position setting in page print mode ommand FS C FS ! n Kanji printing mode stored setting FS & Set Chinese character mode FS . Delete Chinese character mode FS q Define NV bitmap FS p n m Print NV bitmap...
CSN-A1 user manual 7.2 Commands details ①Printing and paper feed commands Printing and paper feed Name print and paper feed ASCII :LF Code DEC :10 HEX :0A Print the buffer contest,and set the paper feed as per line space,then Function adjust print position to initial position at the next line.
CSN-A1 user manual 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 ASCII :ESC d n Code DEC :27 100 n HEX :1B 64 n Function Print the contents in printing buffer and paper feed n lines.
CSN-A1 user manual times of normal. This command doesn’t affect the setting of Chinese characters. This command sets the standard values independently in each mode. Example None Set line space as n dots Name Set line space as n dots ASCII :ESC 3 n Code :27 51 n...
CSN-A1 user manual Notes None Example None Set line space to default Name Set line space to default ASCII :ESC 2 Code DEC :27 50 HEX :1B 32 Function Set line space to default 30 dots Range None Default None Line space in details pls check ESC 3 command.
CSN-A1 user manual 0 Font Normal Small character 1 Undefined 2 Undefined 3 Bold Cancel Setting 4 Double hight Cancel Setting 5 Double width Cancel Setting 6 Undefined 7 Underline Cancel Setting Range None Default n = 0 The command is effective with Chinese and foreign languages. Notes The command is disabled when ESC@, printer reset or power off 1B 40 1B 21 01 30 31 32 0D 0A...
CSN-A1 user manual Range None Default n = 0 This command is effective with Chinese and other foreign languages, Notes except for HRI character. The command setting is disable when ESC@, printer reset or power off. 1b 40 1d 21 11 Example 30 31 32 0d 0a 30 31 32 0d 0a...
CSN-A1 user manual This command is disabled when ESC@, printer reset or power off. 1b 40 1d 42 01 Example 30 31 32 0d 0a 30 31 32 0d 0a remove underline 、 Name Set、 remove underline ASCII :ESC - n Code :27 45 n :1B 2D n...
CSN-A1 user manual set and remove bold print When LSB of n is 0, remove bold print mode When MSB of n is 1, set bold print mode Range 0 ≤ n ≤ 255 Default n = 0 Notes Only allow to use when LSB of n Example None remove overlapping...
CSN-A1 user manual When n is equal to 1 or 49,set 90°revolving printing. Range 0 ≤ n ≤ 1, 48 ≤ n ≤ 49 Default n = 0 Support Model When it is setted to underline mode, the printer is not underlined for characters rotated 90°.
CSN-A1 user manual Use the maximum value of the printable unit,if the setting is beyond the printable area. 1b 40 1d 4c 08 00 Example 30 31 32 0d 0a 30 31 32 0d 0a Set relative printing position Name Set relative printing position ASCII :ESC \ nL nH Code...
CSN-A1 user manual Range 0 ≤ n ≤ 2 or 48 ≤ n ≤ 50 Default n = 0 Notes This command setting is disabled when ESC@,printer resets or power off. 1B 40 1B 61 02 30 31 32 0D 0A 1B 40 1B 61 01 Example 30 31 32 0D 0A...
Page 24
CSN-A1 user manual characters)。 It can define continuous 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.
CSN-A1 user manual In the font selected with ESC !, the command removes the style defined for the specified encoding. If a user customized character is not defined, the printer ignores the command. Example None Set / remove quadruple angle of Chinese print Name Set / remove quadruple angle of Chinese print ASCII :FS W n...
CSN-A1 user manual 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 ASCII :FS ! n Code :28 33 n :1C 21 n Set up Chinese characters print mode, the setting of n as follows:...
CSN-A1 user manual Range None Default None When the Chinese character mode is selected, the printer processes all Chinese character codes(ASCII code) , two bytes at a time. Notes The Chinese character code(ASCII code) is processed in the order of the first byte and the second byte.
CSN-A1 user manual Example None Selecting international character set Selecting international character set Name ASCII :ESC R n Code :27 82 n HEX:1B 52 n Selecting international character set n from the following table: Character U.S.A France Germany Denmark I Sweden Italy Function...
CSN-A1 user manual ISO-8859-15 [Latin 9] Thai2 CP856 Cp874 CP932 SHIFT_JIS UNICODE UCS-2 BIG5 Range 0 ≤ n ≤ 255 Default Notes None 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 Example AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2...
Page 32
CSN-A1 user manual 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 None [d]k corresponding bit is 1,which means that this bit can print.
CSN-A1 user manual Print Graphics horizontal module data Name Print Graphics horizontal module data ASCII :GS v 0 :29 118 48 m xL xH yL yH [d]k Code :1D 76 30 m xL xH yL yH [d]k Print horizontal module graphic data,the parameters are as below: m as bitmap method:...
CSN-A1 user manual This command has the printing function, data will be transferred while printing, no need to use the printing command again 1B 40 1d 76 30 00 03 00 09 00 Example 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...
CSN-A1 user manual Default None this command will be ignored if the bitmap data has not been defined. In standard mode, this command is effective only when there is no data in the buffer area. This command has no effect in the print modes (emphasized, Notes double-strike, downloadedline, character size, or white/black reverse printing), except for upsidedown printing mode.
Page 37
CSN-A1 user manual after completing this command. The printer clears the receiving and printing buffers and resets the printer to the mode that workable when power on. (hardware reset interface is not supported ) This command cancels all NV bitmaps that have already been defined by this command.
Page 38
CSN-A1 user manual 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.
CSN-A1 user manual bitmap) in double height 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...
Page 41
CSN-A1 user manual 0 ≤ m ≤ 3 Parameter 48 ≤ m ≤ 51 range 1 ≤ n ≤ 255 Default None Support Notes None Example None Print LSB bitmap Name Print LSB bitmap ASCII : DC2 v nL nH [d1…dn] Code :...
CSN-A1 user manual ④Tab Commands Horizontal tab Name Horizontal tab ASCII :HT Code :9 HEX :09 FUNCTION Move the print position to the next tab position Parameter None range Defaults None Tab position set by ESC D If the tab position is not set(the default is no horizontal position),this Notes command will be treated as an LF command If the tab position exceeds the print area,the coordinates will move to the...
CSN-A1 user manual 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 balance data is treated as normal data processing TAB position could be changed by HT command When the left margin changes, the TAB position changes simultaneously...
CSN-A1 user manual Parameter n =0,1,48,49 range Defaults n = 0 Notes None Example None bar code height setting Name bar code height setting ASCII :GS h n Code :29 104 n DEX :1D 68 n Parameter n specifies the height of a bar code in dots: Function Parameter 1 ≤...
CSN-A1 user manual Noted The command setting will be valid after ESC @、printer reset、power off Example None bar code printing Name bar code printing (A) ASCII :GS k m [d]k NUL :29 107 m [d]k NUL Hex :1D 6B m [d]k NUL Code (B) ASCII :GS k m n [d]k...
Page 46
CSN-A1 user manual (NW-7) 97≤d≤100, d = 36, 43, 45, 46,47,58 (65≤d1≤68, 65≤dk≤68, 97≤d1≤100, 97≤dk≤100) (Command B) Bar code length(SP show space) Coding system Character set Data(d) leng fixe UPC-A n = 11,12 48≤d≤57 48≤d≤57 fixe 6≤n≤8, [when n = UPC-E n = 11,12 7,8,11,12,...
Page 47
CSN-A1 user manual able 00H~7FH 0≤d≤127 CODE1 1≤n≤255 C1H~C4H(FN d = 193, able 194,195,196 00H~7FH 0≤d≤127 UCC/EA d = 193, 1≤n≤255 C1H~C4H(FN N128 able 194,195,196 Parameter (A) 0 ≤ m ≤ 6 range (B) 65 ≤ m ≤ 74 Defaults None If the bar code width exceed the printable area,the printer does not perform barcode printing...
Page 48
CSN-A1 user manual When d6 is 1~9,be sure d7,d8,d9,d10 are 0,and d11 is 5~9 Initial character,terminator automatically inserted When print EAN13(m = 2 or 67),Please pay attention as following: Whatever the input data length is 12 or 13,check bit is automatically inserted or corrected Initial character,central split character and terminator inserted automatically...
Page 49
CSN-A1 user manual character will be replaced with space When print CODE128(m = 73),please pay attention as following: The encoding system intelligently identifies data and implements minimum length encoding without the user set character (include starting character set) or switch character Function character FNC1~FNC4 use C1H~C4H and input it The check bit could calculate and add automatically When barcode readable character(HRI) is set to print,the control...
CSN-A1 user manual Error correction level (M) Error correction level(Q) Error correction level (H) Example None Name Setting error correction level of QR code Store QR code data to data buffer Name Store QR code data to data buffer ASCII :GS ( pL pH cn fn m d1…dk Code...
CSN-A1 user manual Printing QR code. Notes 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.) 1b 40 1d 28 6b 03 00 31 43 03 1d 28 6b 03 00 31 45 30 Example 1d 28 6b 06 00 31 50 30 41 42 43...
Page 53
CSN-A1 user manual fn=82 m=48 Default None This command do not print QR code graph. Notes Users must consider QR code graph space. Example None Name Setting QR code graph information Printing two dimensional code Name Printing two dimensional code ASCII :GS k m v r nL nH d1…dk...
Page 54
CSN-A1 user manual 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%, Q: 25%, H:30%) K specify component type.
CSN-A1 user manual p2H p2L 12H l2L ecc2 v2 dk…dm :1F 51 m n p1H p1L l1H l1L ecc1 v1 d1…dn p2H p2L 12H l2L ecc2 v2 dk…dm Function Printing double QR code 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)...
CSN-A1 user manual 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.
Double-byte character code is not supported Double-byte character code can be supported Function Automatic paper cutter has been installed 2,3 unused fixed retain unused fixed Information B can be specified Printer type Content Fixed version Depends on software version manufacturer “Cashino”...
CSN-A1 user manual Printing name “LPM260”or“PTP-II” Printing ID Seiral No. Simplified Chinese mode:GBK Chinese characters Traditional Chinese mode:BIG-5 n=1,2,49,50 [printer ID] Range 65 ≤ n ≤ 69[printer information B] Default None Notes None Example None Select peripherals Name Select peripherals ASCII :ESC=N Code...
CSN-A1 user manual Allow, forbid status uploading automatically Name Allow, forbid status uploading automatically ASCII :GS a n Code :27 97 n HEX :1D 61 n Only works in serial printer n are defined as follows: byte Function Number fixed to be 0 Function Forbid, allow status uploading automatically Forbid...
Page 60
CSN-A1 user manual •Printer return to the relative status immediately after receiving the command • this command try not to put in command list between 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.
Page 61
CSN-A1 user manual 1 04 Open upper cover 0 00 Not press feed key 1 08 press feed key 1 10 Fixed to be 1 0 00 Paper adequate 1 20 Paper shortage 0 00 No error 1 40 Error 0 00 Fixed to be 0 n=3:transmit error status...
Page 62
CSN-A1 user manual n=4:paper sensor status bite Hexadecim decimalis Function 0 00 Fixed to be 0 1 02 Fixed to be 1 2, 3 0 00 Paper 1 0C Paper near-end 1 10 Fixed to be 1 5, 6 0 00 Paper 1 60 Paper end...
CSN-A1 user manual the command receiving buffer and printing buffer, which is ignored unless a failure is too lazy to occur Range N=1,2 Default None This command valids only when the cutter goes wrong Consider the following: 1. If the printer data contains the same data as the command, the data will Notes be executed as the command.
CSN-A1 user manual ASCII :FF Code Decimal :12 :0C The FF command prints the data already contained in the print buffer, then Function sets the next-data receive position at the leftmost column on the next page. Range None Default value None Valid only when this command is input in page print mode.
CSN-A1 user manual Line print mode select. Name Line print mode select. ASCII :ESC S Code Decimal :27 83 :1B 53 Function The ESC S command selects line print mode. Range None Default value None Valid only when this command is input in page print mode. Data developed in page print mode is erased.
CSN-A1 user manual Range 0 ≤ n ≤ 3, 48≤ n ≤ 51 Default value When line mode is specified, only the internal set values are changed, Notes printing in line mode is not influenced by this command. If page area is changed by ESC W, the start point of character development is changed according to the area size Example None...
CSN-A1 user manual command processing and follows the following data to normal processing; This command sets the area of the data buffer, which is the area specified by the ESC T in the Print area range ; If the (horizontal start point+width of print area)exceed the print area,then the print area width is automatically set to (horizontal printable area-horizontal start point);...
CSN-A1 user manual If start area is set to upper left or lower right,then this command sets absolute area in vertical direction If start area is set to upper right or lower left,then this command sets absolute area in horizontal direction Example None Vertical relative position setting in page print mode...
CSN-A1 user manual Default value None Notes None Example None Print self-test page Name Print self-test page ASCII :DC2 T Code Decimal :18 84 :12 54 Printing self-test page which including firmware Function version,interface,codepage and other some information Range None Default value None Notes...
Need help?
Do you have a question about the CSN-A1K and is the answer not in the manual?
Questions and answers