Cashino CSN-A1X User Manual

Cashino CSN-A1X User Manual

Micro panel printer
Table of Contents

Advertisement

Quick Links

CSN-A1 user manual
CSN-A1X Micro panel printer
User Manual
Protocol: Lin Xiaopeng 2017.04.06
Audit
: Hu Riyu 2017.04.08
Standardize:Liu Zhonghua 2017.04.09
Authorize: Wang Huanyong 2017.04.11
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CSN-A1X and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Cashino CSN-A1X

  • Page 1 CSN-A1 user manual CSN-A1X Micro panel printer User Manual 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 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. revision record Edited...
  • Page 3: Table Of Contents

    CSN-A1 user manual Content 1. Product overview..........................6 2. Features............................6 3. Dimension............................6 4. Specifications.........................7 5. Pin definition description......................8 7.Command Introduction......................10 7.1 Command List........................10 7.2 Commands details......................12 ①Printing and paper feed commands................12 Printing and paper feed....................12 Enter..........................13 Print and paper feed dots..................... 13 Print and paper feed n line...................
  • Page 4 CSN-A1 user manual Set and cancel under line of Chinese character mode..........27 Set and cancel under line of Chinese character mode..........27 Selecting international character set................28 Select character code....................29 ③Graphic printing command..................30 Fill Graphics vertical module data................30 Print Graphics horizontal module data............... 32 Define downloaded bitmap...................33 Print downloaded bitmap....................
  • Page 5 CSN-A1 user manual ⑨Other commands......................68 Printer reset........................68 Print self-test page......................69...
  • Page 6: Product Overview

    CSN-A1 user manual 1. Product overview Name Micro panel printer Model: CSN-A1X Mounting port size: 73.1 (wide) *73.55 (high) mm Embedding depth: 34.65mm Application: medical printing equipment, measuring equipment, Safety equipment, on-board printing equipment, ID automation equipment, catering and retail, EFTs POS machines, tax control printers, gas stations 2.
  • Page 7: Specifications

    CSN-A1 user manual Suggested installation port size : 73±0.1X73.45±0.1MM 4. Specifications Printing Method Thermal line printing Printing speed Max 90mm/s Printing Resolution 203dpi(8 dots/mm)
  • Page 8: Pin Definition Description

    CSN-A1 user manual Printing Width 48mm Feeding accuracy 0.0625mm Character set ASCII,GBK,BIG5 etc. 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 specificati Paper thickness 60-85μm Heating head temperature detection Via thermistor Photoelectric detection Paper end detection...
  • Page 9 CSN-A1 user manual Power XH03/2.54mm Definiton power null ground RS232 PH04/2.0mm Deifinition Flow control Data send Data receive Ground TTL PH04/2.0mm Definiton Flow control Data send Data receive Ground 6. Basic usage 6.1 Self-test page printing Press the K1 button on the control board to print a self - test page. 6.2 LED indicator After power on, the red status indicator light on the control board will be on and off twice, with an interval of 1 second, indicating that the start is normal.
  • Page 10: 7.Command Introduction

    CSN-A1 user manual 7.Command Introduction 7.1 Command List Command Set character printing method ESC ! Set and delete underline ESC - n ESC E n Set and delete bold printing Set and delete ESC G n overlapping printing Set and delete inversion printing ESC{...
  • Page 11 CSN-A1 user manual Partly cuts ESC m ESC q Undefined ESC Q Undefined ommand GS C Set character size GS ! n GS * Define download bitmap Print download bitmap GS / m GS : Start or end macro definition GS ^ r t m Run macros Choose cut mode and cut...
  • Page 12: 7.2 Commands Details

    CSN-A1 user manual ommand US C US Q Print double QR CODE US A Set paper type ommand DLE C DLE EOT n Real-time transmission status DLE ENQ n Real-time request DLE DC4 fn m t Real- time pulse ommand DC2 c Printing self-test page DC2 T...
  • Page 13: Enter

    CSN-A1 user manual Example None Enter Name Enter ASCII :CR DEC :13 Code HEX :0D Function Adjust print position to initial position of the same line. Range None Default None After executing, R command, the new printing data will cover old data Notes in the printing buffer.
  • Page 14: ②Printing Set Commands

    CSN-A1 user manual ②Printing set commands Set print position Name Set print position ASCII :ESC $ nL nH Code DEC :27 36 nL nH HEX :1B 24 nL nH Set left side blank area as(nL + nH × 256)dots Function 0 ≤...
  • Page 15: Set Horizontal And Vertical Movement Units

    CSN-A1 user manual Default n = 33 Line space as below: Notes If the line space setted is less than the highest character in that line,then this line space is equal to the height of the highest character. If ESC2,ESC@,reset the printer, the printer blackout,and the line space turns to default.
  • Page 16: Set Character Print Font

    CSN-A1 user manual It can use ESC 3 to define line space. Example None Set character print font Name set character print font ASCII :ESC M n Code DEC :27 77 n HEX :1B 4D n set character print font parameter n bit definition as below Function n = 0,font 12*24...
  • Page 17: Set Character Size

    CSN-A1 user manual 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 80 30 31 32 0D 0A Set character size...
  • Page 18: Set、Remove Underline

    CSN-A1 user manual :1d 42 n Set and remove white printing Function When the LSB of n is 0,white printing mode is off. When the LSB of n is 1,white printing mode is on. Range None Default n = 0 It is only effective for LSB of n.
  • Page 19: Set、Remove Bold Print

    CSN-A1 user manual It is not effective with underline coarseness to change character size. Using ESC! can also set and remove underline mode.However be aware that the last received command must be effective. 1b 40 1b 2d 01 30 31 32 0d 0a 1b 40 1b 2d 02 Example 30 31 32 0d 0a...
  • Page 20: Set、Remove 90°Revolving Printing

    CSN-A1 user manual :27 123 n :1B 7B n n=1:set character upside down Function n=0:cancel character upside down Default Notes None Example None remove 90°revolving printing 、 Name Set 、 remove 90°revolving printing ASCII :ESC V n Code :27 86 n :1B 56 n Set or remove 90°...
  • Page 21: Set The Left Margin

    CSN-A1 user manual Set the left margin Name Set the left margin ASCII :GS L nL nH Code :29 76 nL nH :1D 4C nL nH Function Set the left margin as(nL + nH × 256)dots Range 0 ≤ nL ≤ 255,0 ≤ nH ≤ 255 Default None Support...
  • Page 22: Set Printing Alignment

    CSN-A1 user manual In standard mode, use level of motor unit Example None Set printing alignment Set print alignment(Left, middle, right) Name ASCII :ESC a n Code :27 97 n :1B 61 n Align all data in one line,the meaning of n value as below: mode Function 0, 48...
  • Page 23 CSN-A1 user manual :1B 26 y c1 c2 [x1 d1...d(y x1)]...[xk d1...d(yxk)] Define user customized characters. y specifies vertical direction bytes. c1 specifies the starting character encoding,c2 specifies the ending Function character encoding xk specifies horizontal direction dots. The range of x 、y,are correspond with internal fonts. If choosing Font 6*12,y = 2,...
  • Page 24 CSN-A1 user manual d1= <0F>H d4 = <30>H d7 = <40>H ..d2 = <03>H d5 = <80>H d8 = <40>H ..d3 = <00>H d6 =<00>H d9 = <20>H ..①y = 2 1B 40 1b 26 02 20 20 06 FF FF FF FF FF FF FF FF FF FF FF FF...
  • Page 25: Cancel User Customized Characters

    CSN-A1 user manual 1b 3f 20 30 20 30 20 0d 0a Cancel user customized characters Name Cancel user customized characters ASCII :ESC ? n :27 63 n Code :1B 3F n Function Cancel user customized characters of specified code by n Range 32 ≤...
  • Page 26: Set The Angle Of Chinese Character Word Space

    CSN-A1 user manual Set the Angle of Chinese character word space Name Set the Angle of Chinese character word space ASCII :FS S n1 n2 Code :28 83 n1 n2 :1C 53 n1 n2 Set the left and right Chinese character space to n1 and n2 respectively. Function The left character space is [n1*0.125 mm], and the right character space is [n2*0.125 mm]...
  • Page 27: Set Chinese Mode

    CSN-A1 user manual The printer can underline all characters (including the right and left character space), but not the spaces set by the HT command, and clockwise 90°rotation characters underlined; When some characters in a line are double height or higher, all characters in the line will be aligned along the baseline;...
  • Page 28: Selecting International Character Set

    CSN-A1 user manual Set/cancel under line mode,based on n value as below: Function 0,48 Cancel underline mode Function 1,49 Set underline mode(1 dot coarse) 2,50 Set underline mode(2 dot coarse) 0 ≤ n ≤2,48≤ n ≤ 50 Range Default Printer can print underline for all characters(including characters space in left and right),but expect for setted blank by HT and Clockwise 90°...
  • Page 29: Select Character Code

    CSN-A1 user manual Notes None 1B 40 1B 52 00 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 Example 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 60 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 78 79 7A 7B 7C 7D 7E 0D 0A Select character code...
  • Page 30: ③Graphic Printing Command

    CSN-A1 user manual CP855 CP857[Turkish] WCP1250[Central Europe] CP775 WCP1254[Turkish] WCP1255[Hebrew] WCP1256[Arabic] WCP1258[Vietnam] ISO-8859-2[Latin 2] ISO-8859-3[Latin 3] ISO-8859-4[Baltic] ISO-8859-5[Cyrillic] ISO-8859-6[Arabic] ISO-8859-7[Greek] ISO-8859-8[Hebrew] ISO-8859-9[Turkish] 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...
  • Page 31 CSN-A1 user manual HEX :1B 2A m Hl Hh [d]k Print vertical module graphic data,the parameters are as below: m is bit map format: mode horizontal scale vertical scale 8dots single density ×2 ×3 8dots double density ×1 ×3 Function 32 24dots single density ×2 ×1 33 24dots double density ×1 ×1 Hl、Hh is horizontal direction dots(Hl+256×Hh)...
  • Page 32: Print Graphics Horizontal Module Data

    CSN-A1 user manual 0、1)or 24(m = 32、33)dots graphics to print. After filling graphic data,you can continue to fill other information to make graphic and other information print simultaneously. After filling bitmap,you can use ESC J(n=24) command to print, and also can use LF command to print.But using LF command will cause paper feeding(feeding paper according to the line space ),and make graphic continuous between different lines.And can set line space as 0 to avoid feeding too much.(Dot matrix printer may drift when it starts,pls...
  • Page 33: Define Downloaded Bitmap

    CSN-A1 user manual 0 ≤ yL ≤ 255,0 ≤ yH ≤ 255 0 ≤ d ≤ 255 k = (Hl + Hh×256)×(yL + yH×256) Default None [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.
  • Page 34: Print Downloaded Bitmap

    CSN-A1 user manual and the not printing bit as 0. The downloaded bitmap definition will be cleared when: ESC @ is executed. ESC & is executed. Printer is reset or the power is turned off. The following figure shows the relationship between the downloaded bitmap and the printed data 1B 40 1D 2A 03 03...
  • Page 35: Define Nv Bitmap

    CSN-A1 user manual Model 0, 48 Normal 1, 49 Double-width 2, 50 Double-height 3, 51 Quadruple Parameter 0 ≤ m ≤ 3 range 48 ≤ m ≤ 51 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.
  • Page 36 CSN-A1 user manual Model Frequent writing command executions may damage the NV memory. Therefore, it is recommended to write the NV memory no more than 10 times per day. The printer performs a hardware reset operation after the procedure of placing the image into the NV memory. Therefore, user-defined characters, downloaded bitmaps should be defined only after completing this command.
  • Page 37 CSN-A1 user manual The definition data for an NV bitmap consists of [xL xH yL yH d1...dk]. Therefore, when only one NV bitmap is defined n=1, the printer processes a data group [xL xH yL yH d1...dk] once. The printer uses ([data: xH×...
  • Page 38: Print Nv Bitmap

    CSN-A1 user manual 1B 40 1C 71 01 03 00 03 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 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 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF...
  • Page 39: Print Bitmap

    CSN-A1 user manual ASCII :FS p n m :28 112 n m Code HEX :1C 70 n m Print NV bitmap n using the mode specified by m. Mode 0, 48 Normal Function 1, 49 Double-width 2, 50 Double-height 3, 51 Quadruple 0 ≤...
  • Page 40: Print Msb Bitmap

    CSN-A1 user manual r:Stands for height of bitmap n:Stands for width of bitmap Bitmap format Function Parameter None range Default None Support Notes None Example None Print MSB bitmap Name Print MSB bitmap ASCII DC2 V nL nH [d1…dn] : Code 18 86 nL nH [d1…dn] :...
  • Page 41: ④Tab Commands

    CSN-A1 user manual Example None Print LSB bitmap Name Print LSB bitmap ASCII DC2 v nL nH [d1…dn] : Code 18 118 nL nH [d1…dn] : HEX : 12 76 nL nH [d1…dn] The width of the bitmap must be the same as that of the printer Bitmap Height: nL+nH*256 Bitmap format...
  • Page 42: Horizontal Tab Position Setting

    CSN-A1 user manual If the tab position exceeds the print area,the coordinates will move to the star position of the next line(as the data is full,print and wrap) Example none Horizontal tab position setting Name horizontal tab position setting ASCII :ESC D [d]k NUL Code :27 68 [d]k 0...
  • Page 43: ⑤Bar Code Command

    CSN-A1 user manual ⑤bar code command bar code readable character(HRI) print position setting Name bar code readable character(HRI)print position setting ASCII :GS H n Code :29 72 n HEX :1D 48 n Set bar code readable character(HRI)print position,n parameter meaning as below:...
  • Page 44: Bar Code Width Setting

    CSN-A1 user manual 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 ≤ n ≤ 255 range Defaults n = 64 Notes The command setting will be valid after ESC @、printer reset、power off Example None bar code width setting...
  • Page 45 CSN-A1 user manual :29 107 m n [d]k Hex :1D 6B m n [d]k bar code printing,the parameters meaning as below: m is encoding n is code data length,only for (command B),the difference between (A) and (B)is that the data (A) end with NULL,but (B) indicates the data length [d]k is bar code data K is the length of the bar code data,for sign,no transmission Parameters relationship as below:...
  • Page 46 CSN-A1 user manual system Data(d) Character set leng fixe UPC-A n = 11,12 48≤d≤57 48≤d≤57 6≤n≤8, fixe [when n = UPC-E n = 11,12 7,8,11,12, d1 = 48 ] JAN13 fixe n = 12,13 48≤d≤57 (EAN13) JAN8 fixe n = 7,8 48≤d≤57 (EAN8) 48≤d≤57,...
  • Page 47 CSN-A1 user manual If the bar code width exceed the printable area,the printer does not perform barcode printing Paper feed as needed when the command is carried out,that not affected by ESC2,ESC3 line space settings,and do not influence line space settings The command is not affected by ESC !...
  • Page 48 CSN-A1 user manual 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 When print EAN8(m = 3 or 68),please pay attention as following: Whatever input data length is 7 or 8,the check bit is automatically inserted or corrected Initial character,central split character and terminator inserted...
  • Page 49: ⑥ Printing Qr Code

    CSN-A1 user manual er set Inserted Inserted (d1...dk) automatically automatically Connection structure as below: Initi char acte part bit A part bit A ator r set Inserted Inserted automatica automatica (d1...dk) 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 User input data AI,which do not need “(“”)”...
  • Page 50: Setting Error Correction Level Of Qr Code

    CSN-A1 user manual Decimal 107 pL pH cn fn n :29 Hexadecimal :1D 28 6b pL pH cn fn n Function Setting mode type of QR code to [n dot × n dot]. pL=3, pH=0 Parameter cn=49 range fn=67 0 ≤ n ≤ 16 Default Notes Setting mode type of QR code to [n dot ×...
  • Page 51: Store Qr Code Data To Data Buffer

    CSN-A1 user manual 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 107 pL pH cn fn m d1…dk :29 HEX :1D 6b pL pH cn fn m d1…dk Function Store QR code data to data buffer 4 ≤...
  • Page 52: Setting Qr Code Graph Information

    CSN-A1 user manual Setting QR code graph information Name Setting QR code graph information ASCII :GS ( pL pH cn fn m Code 107 pL pH cn fn m :29 HEX :1D 28 6b pL pH cn fn m Setting QR code graph information The detailed graph information is as follows: Transmit data Hexadecim...
  • Page 53 CSN-A1 user manual ASCII :GS k m v r nL nH d1…dk Code :29 107 97 v r nL nH d1…dk HEX :1D 6B 61 v r nl nH d1…dk Printing two dimensional code. v: describes two dimensional code specification v=0: describes automatically select two dimensional code specification Function r: describes e...
  • Page 54 CSN-A1 user manual L:7% M:15% Q:25% H:30% Range None Default None Notes None Example None Name Printing two dimensional code Printing double QR code Name Printing double QR code ASCII :US Q m n p1H p1L l1H l1L ecc1 v1 d1…dn p2H p2L 12H l2L ecc2 v2 dk…dm :27 81 m n p1H p1L l1H l1L ecc1 v1 d1…dn Code...
  • Page 55: ⑦Status Querying Commands

    CSN-A1 user manual P2H,p2L specify the location of QR2:(p2H*256+p2L) L2H,l2L specify the data length of QR2:(l2H*256+l2L) Ecc2 specify error correction level about QR2 : ( 0:7%, 1:15%,2:25%,3:30%) V2 specify QR2 version of the symbol.(1~40, 0:auto size) Dk…dm as the data of QR2 Default None If module size is bigger than printing width, the QR data will be treated as...
  • Page 56: Transit Theprinter Status To Host

    CSN-A1 user manual command and sending status, depending on the status of the receiving buffer. When Auto Status Back (ASB) is enabled using GS a, the status transmitted by GS r and the ASB status must be differentiated using. The status types to be transmitted are shown as below: Off/On Decima Status for ASB...
  • Page 57: Transit Printer Id

    Function fixed retain unused fixed Information B can be specified Printer type Content Fixed version Depends on software version manufacturer “Cashino” Printing name “LPM260”or“PTP-II” Printing ID Seiral No. Chinese characters Simplified Chinese mode:GBK Traditional Chinese mode:BIG-5 n=1,2,49,50 [printer ID] Range 65 ≤...
  • Page 58: Select Peripherals

    CSN-A1 user manual Select peripherals Name Select peripherals ASCII :ESC=N Code :27 61 n HEX :1B 3D n Select host device to transit the data function Function Enable printer Forbid printer 0 ≤ n ≤ 255 Range Default Notes None Example None Transit the status of peripherals to host...
  • Page 59: Real-Time Transmission Status

    CSN-A1 user manual Default None When effective, printer found status changed, the status will be Notes automatically sent to the host Example None Real-time transmission status Real-time transmission status Name ASCII :DLE EOT n DEC :16 4 n Code HEX :10 04 n According to below parameters, transit the real-time status of printer,n stands for printer status: N=1:transmit printer status...
  • 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...
  • Page 63: Real-Time Pulse

    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.
  • Page 64: ⑧Commands In Page Print Mode

    CSN-A1 user manual ⑧Commands in page print mode Forms feed Name Forms feed 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.
  • Page 65: Line Print Mode Select

    CSN-A1 user manual command is input in the beginning of the line After turning on power,or resetting printer printing by ESC@ ,page print mode is returned to line print mode. Example None Line print mode select. Name Line print mode select. ASCII :ESC S Code...
  • Page 66: Page Print Mode Print Area Setting

    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...
  • Page 67: Vertical Absolute Position Setting In Page Print Mode

    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);...
  • Page 68: Vertical Relative Position Setting In Page Print Mode

    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...
  • Page 69 CSN-A1 user manual Range None 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...

Table of Contents