Programming Manual SLCS Rev. 1.24 SRP-770 / 770II / 770IIE SLP-T400 / T400E SLP-T403 / T403E SLP-D400 / D400E SLP-D403 / D403E SLP-T400R / T403R
SLCS Programming Manual Rev. 1.24 - 10 -1-4 Programming Considerations 1) All commands are case-sensitive and some commands require one or more param
SLCS Programming Manual Rev. 1.24 - 11 -2. Detail Description 2-1 Commands for Designing a Label These commands are used to design a label by provid
SLCS Programming Manual Rev. 1.24 - 12 -2-1-1 T (Text String) Description Draw text string on the image buffer Syntax Tp1,p2,p3,p4,p5,p6,p7,p8,p9(,p1
SLCS Programming Manual Rev. 1.24 - 13 -p9 : Bold N : Normal B : Bold p10 : Text Alignment(Optional) F : p1 means the position of the first chara
SLCS Programming Manual Rev. 1.24 - 14 -Example SM20,20 T26,20,0,0,0,0,0,N,N,’Font- 6 pt’ T26,49,1,0,0,0,0,N,N,’Font - 8 pt’ T26,81,2,0,0,0,0,N,N,’Fo
SLCS Programming Manual Rev. 1.24 - 15 -2-1-2 V (Text String Vector Font) Description Draw text (Vector Font) string on the image buffer Syntax Vp1,p
SLCS Programming Manual Rev. 1.24 - 16 -p12: Text string write direction 0: Write text string form left to right (BIXOLON) 1: Write text string form r
SLCS Programming Manual Rev. 1.24 - 17 -Example V50,100,U,25,25,+1,N,N,N,0,L,0,'Vector Font Test' V50,200,U,35,35,-1,N,N,N,0,L,0,'Vect
SLCS Programming Manual Rev. 1.24 - 18 -2-1-3 B1 (1 Dimensional bar code) Description Draw 1D Barcode on the image buffer Syntax B1p1,p2,p3,p4,p5,p6,
SLCS Programming Manual Rev. 1.24 - 19 -♣ Quiet zone is added to the front and end of the barcode for safe scanning. Because of the quiet zone, the
SLCS Programming Manual Rev. 1.24 - 2 - Table of Contents 1. Foreword ...
SLCS Programming Manual Rev. 1.24 - 20 -Example SM20,20 B178,196,0,2,6,100,0,0,’1234567890’ //Caution:The position is not (178,196) but (78,196) B1
SLCS Programming Manual Rev. 1.24 - 21 -2-1-4 B2 (2 Dimensional bar code) Description Draw 2D Barcode on the image buffer Syntax B2p1,p2,p3……’DATA’ P
SLCS Programming Manual Rev. 1.24 - 22 -Maxicode(When p3 is M) p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : M (means ‘Ma
SLCS Programming Manual Rev. 1.24 - 23 -PDF417(When p3 is P) p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : P (means ‘PDF4
SLCS Programming Manual Rev. 1.24 - 24 -QR Code(When p3 is Q) p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : Q (means ‘QR
SLCS Programming Manual Rev. 1.24 - 25 -2-1-5 B3 (Special Barcode) Description Draw Special Barcode on the image buffer Syntax B3p1,p2,p3……’DATA’ Par
SLCS Programming Manual Rev. 1.24 - 26 -2-1-6 BD (Block Draw) Description Draw Line, Block, Box & Slope on the image buffer Syntax BDp1,p2,p3,p4
SLCS Programming Manual Rev. 1.24 - 27 -Example 1) Start and end position (p1,p2) (p3,p4) 2) Overwriting mode(when p5 is O) 3) Exclusive
SLCS Programming Manual Rev. 1.24 - 28 -5) Slope block mode(when p5 is S) 6) Draw box mode(when p5 is B) (p1,p2) (p3,p4) p
SLCS Programming Manual Rev. 1.24 - 29 -2-1-7 CD (Circle Draw) Description Draw Circle on the image buffer Syntax CDp1,p2,p3,p4 Parameters p1 : Ho
SLCS Programming Manual Rev. 1.24 - 3 - 2-6 Image Related Commands...
SLCS Programming Manual Rev. 1.24 - 30 -2-1-8 CS (Character Set selection) Description To select international character set and code table. Syntax
SLCS Programming Manual Rev. 1.24 - 31 - p2 : Code Pages p2 Code Table Language 0 CP437 U.S.A 1 CP850 Latin1 2 CP 852 Latin2 3 CP 860 Portuguese
SLCS Programming Manual Rev. 1.24 - 32 - International Character Set Hex 23h 24h 40h 5Bh5Ch 5Dh 5Eh 60h 7Bh 7Ch 7Dh 7ECountry Dec 35 36 64 91 92 93 94
SLCS Programming Manual Rev. 1.24 - 33 -2-1-9 P (Print) Description Let the printer start printing the content of image buffer Syntax Pp1,[p2] Para
SLCS Programming Manual Rev. 1.24 - 34 -Example (1) In case of Using P ( P is used outside of template sequence) TS’TPL_TST1’ // Start Template
SLCS Programming Manual Rev. 1.24 - 35 -2-2 Media & Buffer Related Commands 1) ST Select Thermal Direct/Transfer Printing. 2) SM Set margin
SLCS Programming Manual Rev. 1.24 - 36 -2-2-1 ST (Set Printing Type) Description Select Thermal Direct Printing or Thermal Transfer Printing. Synta
SLCS Programming Manual Rev. 1.24 - 37 -** When printing orientation is from top to bottom ** When printing orientation is from bott
SLCS Programming Manual Rev. 1.24 - 38 -2-2-3 SF (Set Back-Feed Option) Description Set back-feed option. This command decides whether printer does
SLCS Programming Manual Rev. 1.24 - 39 -2-2-4 SL (Set Length) Description Set length of label and gap(or Black Mark) and specify media type. Syntax S
SLCS Programming Manual Rev. 1.24 - 4 - 1. Foreword In this chapter, the basic concept of SLCS and some information necessary for the programmer to u
SLCS Programming Manual Rev. 1.24 - 40 -Example – p1 & p2(Length) SL406,20 // Set label length to 406 dots (2 inch, 50mm) and gap length to 20
SLCS Programming Manual Rev. 1.24 - 41 -Example – p3(Media Type) 1. Gap Type 2. Continuous Type 3. Black Mark Type
SLCS Programming Manual Rev. 1.24 - 42 -2-2-5 SW (Set Width) Description Set label width. Resize the image buffer to match the label size. Syntax S
SLCS Programming Manual Rev. 1.24 - 43 -2-2-6 SB (Set Buffer mode) Description Set double buffer mode Syntax SBp1 Parameters p1 : Enable ‘Double Buff
SLCS Programming Manual Rev. 1.24 - 44 -2-3 Printer Setting Commands 1) SS Set printer speed 2) SD Set printing density 3) SO Set printing orien
SLCS Programming Manual Rev. 1.24 - 45 -2-3-1 SS (Set Speed) Description Set print speed Syntax SSp1 Parameters p1 : Speed set value Value Speed 0 2
SLCS Programming Manual Rev. 1.24 - 46 -2-3-3 SO (Set Orientation) Description Set printing direction Syntax SOp1 Parameters p1 : Printing direction
SLCS Programming Manual Rev. 1.24 - 47 -2-3-4 SP (Set Port) Description Set serial port. Syntax SPp1,p2,p3,p4 Parameters p1 : Baud rate Value Baud R
SLCS Programming Manual Rev. 1.24 - 48 -2-3-5 SA (Set Offset) Description Save (set) offset length between black marks (or gap) and dotted lines [dot
SLCS Programming Manual Rev. 1.24 - 49 -2-4 Variable Related Commands 1) SC Counters which is used in template sequence 2) AC(Auto Counter) Counter
SLCS Programming Manual Rev. 1.24 - 5 - 1-1 Image Buffer Configuration 1) Maximum size A) When using Double Buffering Function 832dots × 1216dots (
SLCS Programming Manual Rev. 1.24 - 50 -2-4-1 SC (Set Counter) Description Define one counter of total 10 counters. Counters must be used in Templa
SLCS Programming Manual Rev. 1.24 - 51 -2-4-2 AC (Auto Counter) Description Define one counter of total 10 counters. Counters can be used in normal
SLCS Programming Manual Rev. 1.24 - 52 -2-4-3 SV (Set Variable) Description Define variables for the text or barcode ‘data’ fields. Syntax SVp1,p2,p3
SLCS Programming Manual Rev. 1.24 - 53 -2-4-4 ? (Get Variables) Description Use this command to get the content of variables or counters Syntax ? C
SLCS Programming Manual Rev. 1.24 - 54 -2-4-5 PV (Print with Variables) Description This command is used in template sequence. The parameters are g
SLCS Programming Manual Rev. 1.24 - 55 -2-5 Template Related Commands Template(a certain format of label, sequence of SLCS commands) related commands
SLCS Programming Manual Rev. 1.24 - 56 -2-5-1 TS (Template store Start) Description Start template sequence storing. All the contents following ‘TS’
SLCS Programming Manual Rev. 1.24 - 57 -2-5-3 TR (Template Recall) Description Recall the stored template from memory to make a label and print that.
SLCS Programming Manual Rev. 1.24 - 58 -2-5-4 TD (Template Delete) Description Delete stored template from memory Syntax TD’Template name’ Parameters
SLCS Programming Manual Rev. 1.24 - 59 -2-6 Image Related Commands These commands provide functions to download and print graphic data. PCX and BMP f
SLCS Programming Manual Rev. 1.24 - 6 - 1-2 Information for calculating position on image buffer 1) Relation between position and number of dots
SLCS Programming Manual Rev. 1.24 - 60 -2-6-1 IS (Image Store) Description Download PCX format Image file into the Printer Memory Syntax ISp1,’Image
SLCS Programming Manual Rev. 1.24 - 61 -2-6-3 ID (Image Delete) Description Delete stored image from memory Syntax ID’Image name’ Parameters ‘Image
SLCS Programming Manual Rev. 1.24 - 62 -2-6-5 LD Draw bitmap image data on specific position of image buffer. Syntax LDxL xH yL yH dhL dhH dvL dvH
SLCS Programming Manual Rev. 1.24 - 63 -Example LD 0x11 0x02 0x40 0x02 0x08 0x00 0x20 0x00 0xFF ~ 0xFF ①②③④ ⑤ x position : 0x02 * 0x100(256) +
SLCS Programming Manual Rev. 1.24 - 64 -2-6-6 LC Draw compression bitmap image data on specific position of image buffer Syntax LCp1p2xL xH yL yH dhL
SLCS Programming Manual Rev. 1.24 - 65 -Example LC R 0x00 0x11 0x02 0x40 0x02 0x08 0x00 0x20 0x00 0xFF ~ 0xFF ○1 ○2 ○3 ○4 ○5
SLCS Programming Manual Rev. 1.24 - 66 -2-6-7 BMP Send BMP format file directly to printer. Just white/black BMP file is supported Syntax BMPp1
SLCS Programming Manual Rev. 1.24 - 67 -2-7 Downloadable font Related Commands Download fonts into the printer memory. Users can download special siz
SLCS Programming Manual Rev. 1.24 - 68 -2-7-1 DT (Download True Type Font) Description Download windows system font into printer memory. Syntax DTp
SLCS Programming Manual Rev. 1.24 - 69 -2-7-2 DD (Downloaded font Delete) Description Delete downloaded font from memory Syntax DD’font name’ Paramet
SLCS Programming Manual Rev. 1.24 - 7 - 3) Example of text and barcode 4) Example of rotation BIXONOL SRP770 (0.0)
SLCS Programming Manual Rev. 1.24 - 70 -2-7-3 DI (Downloaded font Information) Description Print list of downloaded font. Syntax DI Example DI
SLCS Programming Manual Rev. 1.24 - 71 -2-8 The Others Commands not included in 1 to 7 categories. 1) @ Printer initialization 2) PI Print inform
SLCS Programming Manual Rev. 1.24 - 72 -2-8-1 @ (Initialize Printer) Description Initialize the printer Syntax @ 2-8-2 PI (Printer Informati
SLCS Programming Manual Rev. 1.24 - 73 -2-8-3 CUT (Auto-cutter Enable/Disable) Description Enable or Disable Auto-cut action after printing by ‘P’ co
SLCS Programming Manual Rev. 1.24 - 74 -2-8-4 ^cp (Check Printer Status and Report 2 bytes) Description Check printer status and report 2bytes status
SLCS Programming Manual Rev. 1.24 - 75 -2-8-5 ^cu (Check Printer Status and Report 1 byte) Description Check printer status and report 1 byte status
SLCS Programming Manual Rev. 1.24 - 76 -2-8-6 ^PI (Send Printer information to host) Description Send various printer information such as model name,
SLCS Programming Manual Rev. 1.24 - 77 -3. Programming Example 3-1 Example) T_resident SS3 // Set Speed to 4 ips SD20 // Set Densi
SLCS Programming Manual Rev. 1.24 - 78 -3-2 Example) T_Rotate4 SS3 SW832 T300,500,4,1,1,0,0,N,N,’ABCDEFG’ T300,500,4,1,1,0,1,N,N,’ABCDEFG’ T300,500,4
SLCS Programming Manual Rev. 1.24 - 79 -3-3 Example) V_resident SS3 // Set speed to 4 ips SD20 // Set density to 20 SW800
SLCS Programming Manual Rev. 1.24 - 8 - 1-3 Command List Command Description Remarks Page 1. Commands for Designing Label T Text Draw text string
SLCS Programming Manual Rev. 1.24 - 80 -3-4 Example) V_Rotate4 SS3 SW832 V400,500,U,45,40,+1,N,N,N,0,L,0,'VECTOR FONT' V400,500,U,45,40,+1,
SLCS Programming Manual Rev. 1.24 - 81 -3-5 Example) Code39 SM10,0 B178,196,0,2,6,100,0,0’1234567890’ // Caution : The position is not (178,196) bu
SLCS Programming Manual Rev. 1.24 - 82 -3-6 Example) BD1 SS3 // Set Speed to 4 ips SD20 // Set Density level to 20 SW800 /
SLCS Programming Manual Rev. 1.24 - 83 -3-7 Example) BD3 SS3 // Set Printing Speed to 4 ips SD20 // Set Printing Density level to
SLCS Programming Manual Rev. 1.24 - 84 -Result NORMAL NORMAL TEST
SLCS Programming Manual Rev. 1.24 - 85 -3-8 Example) BD4 SW800 SM10,0 BD100,300,550,330,O // Overwrite mode BD200,200,250,430,O // Overwrite
SLCS Programming Manual Rev. 1.24 - 86 -3-9 Example) BD5 CB SW800 SM10,0 BD100,300,300,500,O BD400,300,700,500,B,30 // Box mode, additional pa
SLCS Programming Manual Rev. 1.24 - 87 -3-10 Example) Slope CB SS3 SD20 SW8000 BD100,300,300,800,S,100 // Slope mode, additional parameter follo
SLCS Programming Manual Rev. 1.24 - 88 -3-11 Example) SW&SL CB SS3 SD20 SW800 // Set Label Width to 800 SL300,10,C // Continuous
SLCS Programming Manual Rev. 1.24 - 89 -Result SW = 800, SL=300, Continuous SW = 600, SL=500, Continuous SW= 400, SL = 800, Continuo
SLCS Programming Manual Rev. 1.24 - 9 - Command Description Remarks Page 5. Template Related Commands TS Template store Start TE Template store
SLCS Programming Manual Rev. 1.24 - 90 -3-12 Example) TEST00_TS TD’Test00’ // Template Delete TS’ Test00’ // Start Template Store SV00,15,N,
SLCS Programming Manual Rev. 1.24 - 91 -3-13 Example) TEST00_TR TR’Test00’ // Recall Stored template ‘Test00’ ? // To get contents f
SLCS Programming Manual Rev. 1.24 - 92 -3-14 Example) TEST04_TS TS’Test04’ // Start Template Store CB // Clear Image Buffer SS3 //
SLCS Programming Manual Rev. 1.24 - 93 -3-15 Example) TEST04_TR TR’Test04’ // Recall Template ? // Start Get values for variables A // data fo
SLCS Programming Manual Rev. 1.24 - 94 -3-17 Example) TEST10_TS TS’Test10’ // Start Template Store CB // Clear Image Buffer SS3 // S
SLCS Programming Manual Rev. 1.24 - 95 -3-19 Example) TEST11_TS TS’Test11’ // Start Template Store CB // Clear Image Buffer SS2
SLCS Programming Manual Rev. 1.24 - 96 -3-21 Example) SLCS_BIXOLON SM10,21 SS3 SD20 SW832 SOT CS0,0 BD18,14,798,164,O T400,62,4,2,2,0,0,R,B,'BI
SLCS Programming Manual Rev. 1.24 - 97 -Result
Kommentare zu diesen Handbüchern