BIXOLON SLP-D420 Programming Manual

BIXOLON SLP-D420 Programming Manual

Hide thumbs Also See for SLP-D420:
Table of Contents

Advertisement

Programming Manual
SLCS
Rev. 1.02
http://www.bixolon.com
SLP-D420 / D420E
SLP-D423 / D423E

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SLP-D420 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for BIXOLON SLP-D420

  • Page 1 Programming Manual SLCS SLP-D420 / D420E Rev. 1.02 SLP-D423 / D423E http://www.bixolon.com...
  • Page 2: Table Of Contents

    SLCS Programming Manual ■ Table of Contents 1. Foreword ........................4 1-1 Image Buffer Configuration ..................5 1-2 Information for calculating position on image buffer ..........6 1-3 Command List ......................8 1-4 Programming Considerations ................10 2. Detail Description ......................11 2-1 Commands for Designing a Label .................
  • Page 3 SLCS Programming Manual 2-6 Image Related Commands ..................59 2-6-1 IS (Image Store) ....................60 2-6-2 IR (Image Recall) ....................60 2-6-3 ID (Image Delete) ....................61 2-6-4 II (Image Information) ..................61 2-6-5 LD ........................62 2-6-6 LC ........................64 2-6-7 BMP ........................
  • Page 4: Foreword

    SLCS will be explained. Please read this part before starting programming for efficient and easy use of BIXOLON Label Printers.. We at BIXOLON maintain ongoing efforts to enhance and upgrade the functions and quality of all our products. In following, product specifications and/or user manual content may be changed without prior notice.
  • Page 5: Image Buffer Configuration

    SLCS Programming Manual 1-1 Image Buffer Configuration 1) Maximum size A) When using Double Buffering Function 832dots × 1216dots (104mm × 152mm) = 4 inch × 6 inch B) When using Single Buffering Function 832dots × 2432dots (104mm × 304mm) = 4 inch × 12 inch 2) Dot size : 0.125mm(W) ×...
  • Page 6: Information For Calculating Position On Image Buffer

    SLCS Programming Manual 1-2 Information for calculating position on image buffer 1) Relation between position and number of dots Inch dots Resolution 0.04 0.40 10.00 1.00 25.40 1.25 31.75 1.50 38.10 1.75 44.45 203 dpi 2.00 50.80 2.25 57.15 2.50 63.50 2.75 69.85...
  • Page 7 SLCS Programming Manual 3) Example of text and barcode Direction of x axis (0.0) (124 , 160) (503 , 160) BIXONOL SLPD420 (124 , 356) 4) Example of rotation Direction of x axis (0.0) Start Position 0° ABCD Start Position 90°...
  • Page 8: Command List

    SLCS Programming Manual 1-3 Command List Command Description Remarks Page 1. Commands for Designing Label Text Draw text string on the image buffer Text (Vector Font) Draw text string on the image buffer 1d barcode Draw 1D Barcode on the image buffer 2d barcode Draw 2D Barcode on the image buffer Special barcode...
  • Page 9 SLCS Programming Manual Command Description Remarks Page 5. Template Related Commands Template store Start All contents between these commands are saved in printer memory Template store End Template Recall Load and reuse the stored Template Delete stored Template from printer Template Delete memory Template Information...
  • Page 10: Programming Considerations

    SLCS Programming Manual 1-4 Programming Considerations 1) All commands are case-sensitive and some commands require one or more parameters and „Data‟. 2) Command Conventions Tp1,p2,p3,p4,p5,p6,p7,p8,p9,‟TEXT DATA‟ Parameters Command Specific Data Command 3) Each command line must be terminated with a „CR‟(0Dh, 13) + „LF‟(0Ah,10). 4) The commands which draw text, barcode, lines…...
  • Page 11: Detail Description

    SLCS Programming Manual 2. Detail Description 2-1 Commands for Designing a Label These commands are used to design a label by providing text, barcode, line, box… and to print content of image buffer on media. 1) T Draw Text String on the image buffer. Draw Text (Vector Font) String on the image buffer.
  • Page 12: T (Text String)

    SLCS Programming Manual 2-1-1 T (Text String) Description Draw text string on the image buffer Syntax Tp1,p2,p3,p4,p5,p6,p7,p8,p9(,p10),‟DATA‟ Parameters p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : Font selection Width  Height(dots) Value Font Size(pt) 9 ...
  • Page 13 2) Variables declared in template by SV command : Vnn 3) Counters declared by the SC command : Cn  1) , 2) and 3) can be mixed together Example T50,100,3,1,1,0,0,N,N,‟ BIXOLON Label Printer‟ T50,100,3,1,1,0,0,N,N,‟Manufacturer :‟V00 T50,100,3,1,1,0,0,N,N,V00 T50,100,3,1,1,0,0,N,N,‟Manufacturer :‟C0 T50,100,3,1,1,0,0,N,N,C0 ‟...
  • Page 14 SLCS Programming Manual 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,‟Font - 10 pt‟ T26,117,3,0,0,0,0,N,N,‟Font - 12 pt‟ T26,156,4,0,0,0,0,N,N,‟Font - 15 pt‟ T26,200,5,0,0,0,0,N,N,‟Font - 20 pt‟ T26,252,6,0,0,0,0,N,N,‟Font - 30 pt‟ Result Font – 6 pt Font – 8 pt Font –...
  • Page 15: Text String Vector Font)

    SLCS Programming Manual 2-1-2 V (Text String Vector Font) Description Draw text (Vector Font) string on the image buffer Syntax Vp1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12, ‟DATA‟ Parameters p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : Font selection U: ASCII (1Byte code) K: KS5601 (2Byte code) B: BIG5 (2Byte code) G: GB2312 (2Byte code)
  • Page 16 SLCS Programming Manual p12: Text string write direction 0: Write text string form left to right (BIXOLON) 1: Write text string form right to left (NOLOXIB) „DATA‟: The various data types can be used in the data field as follows.
  • Page 17 SLCS Programming Manual 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,'Vector Font Test' V50,300,U,35,35,+1,B,R,I,0,L,0,'Vector Font Test ' V50,400,U,45,25,+1,N,N,N,0,L,0,'Vector Font Test' V50,500,U,25,45,+1,N,N,N,0,L,0,'Vector Font Test' V50,700,U,65,65,+1,N,N,N,0,L,0,'ABCDEFGHIJKLMNO' V50,900,U,65,65,+1,N,N,N,0,L,0,'abcdefghijklmno' Result Rev. 1.02 - 17 -...
  • Page 18: B1 (1 Dimensional Bar Code)

    SLCS Programming Manual 2-1-3 B1 (1 Dimensional bar code) Description Draw 1D Barcode on the image buffer Syntax B1p1,p2,p3,p4,p5,p6,p7,p8(,p9),‟DATA‟ Parameters p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : Barcode selection Barcode Barcode Code39 UPC-A Code128 UPC-E I2of5...
  • Page 19 SLCS Programming Manual  Quiet zone is added to the front and end of the barcode for safe scanning. Because of the quiet zone, the barcode seems to be seen drawn in incorrect position. If p9 is not used, the printer automatically sets parameter to 0. ...
  • Page 20 SLCS Programming Manual Example SM20,20 B178,196,0,2,6,100,0,0,‟1234567890‟ //Caution:The position is not (178,196) but (78,196) B150,468,0,4,10,200,0,0,‟1234567890‟ Result Rev. 1.02 - 20 -...
  • Page 21: B2 (2 Dimensional Bar Code)

    SLCS Programming Manual 2-1-4 B2 (2 Dimensional bar code) Description Draw 2D Barcode on the image buffer Syntax B2p1,p2,p3……‟DATA‟ Parameters p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : 2D barcode selection 2D Barcode MaxiCode PDF417 QR Code Data Matrix...
  • Page 22 B2200,200,M,0,‟999,840,06810,7317,THIS IS A TEST OF MODE 0 STRUCTURED CARRIER MESSAGE ENCODING. THIS IS AN 84 CHAR MSG‟ 2)Mode 2 B2200,200,M,2,‟999,840,06810,7317,THIS IS A TEST OF BIXOLON LABEL PRINTER SLPD420. MODE 2 ENCODING. THIS IS AN 84 CHAR.‟ 3)Mode3 B2200,200,M,3,‟999,056,B1050,7317,THIS IS A TEST OF BIXOLON LABEL PRINTER SLPD420.
  • Page 23 : Bar Height : 4 ~ 99 p12 : Rotation Value Rotation No Rotation 90 degrees 180 degrees 270 degrees „DATA‟ : ASCII data or Binary data. Example B2100,750,P,30,5,0,0,1,1,3,10,0,‟ BIXOLON Label Printer SLPD420‟ // The position is (100,750) Rev. 1.02 - 23 -...
  • Page 24 R: Reverse(or Inverse) – Reverse Video or Negative image (P6) : Rotation Value Rotation No Rotation 90 degrees 180 degrees 270 degrees „DATA‟ : ASCII data or Binary data. Example B2200,100,D,2,N,'BIXOLON Label Printer' // The position is (200,100) Rev. 1.02 - 24 -...
  • Page 25: B3 (Special Barcode)

    SLCS Programming Manual 2-1-5 B3 (Special Barcode) Description Draw Special Barcode on the image buffer Syntax B3p1,p2,p3……‟DATA‟ Parameters p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : Special barcode selection Special Barcode IMB(Intelligent Mail Barcode) ...
  • Page 26: Bd (Block Draw)

    SLCS Programming Manual 2-1-6 BD (Block Draw) Description Draw Line, Block, Box & Slope on the image buffer Syntax BDp1,p2,p3,p4,p5(,p6) Parameters p1 : Horizontal start position (X) [dot] p2 : Vertical start position (Y) [dot] p3 : Horizontal end position (X) [dot] p4 : Vertical end position (Y) [dot] p5 : Options Type...
  • Page 27 SLCS Programming Manual Example 1) Start and end position (p1,p2) (p3,p4) 2) Overwriting mode(when p5 is O) 3) Exclusive OR mode(when p5 is E) 4) Delete block mode(when p5 is D) Rev. 1.02 - 27 -...
  • Page 28 SLCS Programming Manual 5) Slope block mode(when p5 is S) (p1,p2 p6 : Thickness (p3,p4) 6) Draw box mode(when p5 is B) (p1,p2 p6 : Thickness (p3,p4) Rev. 1.02 - 28 -...
  • Page 29: Cd (Circle Draw)

    SLCS Programming Manual 2-1-7 CD (Circle Draw) Description Draw Circle on the image buffer Syntax CDp1,p2,p3,p4 Parameters p1 : Horizontal start position (X) [dot] p2 : Vertical start position (Y) [dot] p3 : Circle Size Selection Width  Height(dots) Value Diameter (mm) 40 ...
  • Page 30: Cs (Character Set Selection)

    SLCS Programming Manual 2-1-8 CS (Character Set selection) Description To select international character set and code table Syntax CSp1,p2 Parameters p1 : International Character Set Country U.S.A France Germany Denmark I Sweden Italy Spain I Norway Denmark II Japan Spain II Latin America Korea Slovenia/Croatia...
  • Page 31 SLCS Programming Manual p2 : Code Pages Code Table Language CP437 U.S.A CP850 Latin1 CP 852 Latin2 CP 860 Portuguese CP 863 Canadian French CP 865 Nordic WCP 1252 Latin I European CP 865 + WCP 1252 Combined CP 857 Turkish CP 737 Greek...
  • Page 32 SLCS Programming Manual International Character Set Country Hex 23h 40h 5Bh 5Eh 60h 7Bh 125 126  $ U.S.A  $ France à ° ç § é ù è ¨  $ β Germany § Ä Ö Ü ä ö ü...
  • Page 33: P (Print)

    SLCS Programming Manual 2-1-9 P (Print) Description Let the printer start printing the content of image buffer Syntax Pp1,[p2] Parameters p1 : Number of label sets : 1 ~ 65535 p2 : Number of copies of each label : 1 ~ 65535 ...
  • Page 34 SLCS Programming Manual Example (1) In case of Using P ( P is used outside of template sequence) TS’TPL_TST1’ // Start Template Store SV00,15,N,‟Model Name :‟ // Declare variable V00 T50,100,3,1,1,0,0,N,N,‟Model Name :‟V00 // T command with variable // End Template Store TR’TPL_TST1”...
  • Page 35: Media & Buffer Related Commands

    SLCS Programming Manual 2-2 Media & Buffer Related Commands 1) ST Select Thermal Direct/Transfer Printing. 2) SM Set marginal value in label(Image buffer). 3) SF Set back-feed option. 4) SL Set label(Image buffer) length. 5) SW Set label(Image buffer) width. 6) SB Set buffer mode(Enable or disable Double Buffering).
  • Page 36: St (Set Printing Type)

    SLCS Programming Manual 2-2-1 ST (Set Printing Type) Description Select Thermal Direct Printing or Thermal Transfer Printing Syntax STp1 Parameters p1 : Direct Thermal / Thermal Transfer - d : Direct Thermal - t : Thermal Transfer 2-2-2 SM (Set Margin) Description Set marginal value of the image buffer This command moves the origin point (0,0) to (p1,p2) and make (p1,p2) become the new...
  • Page 37 SLCS Programming Manual ** When printing orientation is from top to bottom Image Buffer New Image Buffer (0,0) : Origin (p1,p2) : New Origin virtual (0,0) Label Feeding Direction ** When printing orientation is from bottom to top. Label Feeding Direction virtual (0,0) New Origin : (p1,p2)
  • Page 38: Sf (Set Back-Feed Option)

    SLCS Programming Manual 2-2-3 SF (Set Back-Feed Option) Description Set back-feed option This command decides whether printer does back-feed action before starting printing. Syntax SFp1(,p2) Parameters p1 : Enable/Disable - 0 : Disable back-feed option. - 1 : Enable back-feed option(Default) p2 : Back feeding step quantity.
  • Page 39: Sl (Set Length)

    SLCS Programming Manual 2-2-4 SL (Set Length) Description Set length of label and gap(or Black Mark) and specify media type Syntax SLp1,p2(,p3)(,p4) Parameters p1 : Label length [dots] : Maximum 2432 dots(12 inch)  Double buffering feature can be used only when label length(p1) is less than 1216(2432/2, 6inch) dots.
  • Page 40 SLCS Programming Manual  In the Gap Mode, the printer will form feed until meeting the next gap.  In the Continuous Mode, the printer will form feed as much as label length set by SL.  In the B/M Mode, the printer will form feed until meeting the next B/M. Example –...
  • Page 41 SLCS Programming Manual Example – p3(Media Type) 1. Gap Type 2. Continuous Type 3. Black Mark Type Example – p4(Offset Lenght) Black Mark p4 : Offset Length Perforation Line Rev. 1.02 - 41 -...
  • Page 42: Sw (Set Width)

    : Label width [dots]  The default value of label width is 4.1 inch( 832 dots) and that is the maximum printable width.  SLP-D420 is the center aligned printer and media is positioned in the center of the head. Example...
  • Page 43: Sb (Set Buffer Mode)

    SLCS Programming Manual 2-2-6 SB (Set Buffer mode) Description Set double buffer mode Syntax SBp1 Parameters p1 : Enable „Double Buffering‟ function. 0 : Disable double buffer mode 1 : Enable double buffer mode(Default)  Double buffering feature enables the printer to construct the image buffer for the next label while printing the current label.
  • Page 44: Printer Setting Commands

    SLCS Programming Manual 2-3 Printer Setting Commands 1) SS Set printer speed 2) SD Set printing density 3) SO Set printing orientation 4) SP Set serial port 5) SA Set Offset 6) TA Set Tear-off/Cut Rev. 1.02 - 44 -...
  • Page 45: Ss (Set Speed)

    SLCS Programming Manual 2-3-1 SS (Set Speed) Description Set print speed Syntax SSp1 Parameters p1 : Speed set value Value Speed 2.5 ips 3.0 ips 4.0 ips 5.0 ips 6.0 ips 7.0 ips 8.0 ips 2-3-2 SD (Set Density) Description Set printing density Syntax SDp1...
  • Page 46: So (Set Orientation)

    SLCS Programming Manual 2-3-3 SO (Set Orientation) Description Set printing direction Syntax SOp1 Parameters p1 : Printing direction T : Print from top to bottom(default) B : Print from bottom to top Example // Print from top of the image buffer to bottom. // Print from bottom of the image buffer to top.
  • Page 47: Sp (Set Port)

    SLCS Programming Manual 2-3-4 SP (Set Port) Description Set serial port Syntax SPp1,p2,p3,p4 Parameters p1 : Baud rate Value Baud Rate(bps) 9,600 19,200 38,400 57,600 115,200 p2 : Parity Value Parity Odd parity Even parity No parity(Default) p3 : Number of data bits Value Data bits 7 bit...
  • Page 48: Sa (Set Offset)

    SLCS Programming Manual 2-3-5 SA (Set Offset) Description Save (set) offset length between black marks (or gap) and dotted lines [dots] Syntax SAp1 Parameters p1 : -100~100  Offset values saved via the use of SA commands are stored permanently on the printer. (Offset values saved via the cf.
  • Page 49: Variable Related Commands

    SLCS Programming Manual 2-4 Variable Related Commands 1) SC Counters which is used in template sequence 2) AC(Auto Counter) Counters which is used in normal commands sequence (outside of template sequence) 3) SV Set variable 4) ? Get data for counter and variable 5) PV Print with variables Rev.
  • Page 50: Sc (Set Counter)

    SLCS Programming Manual 2-4-1 SC (Set Counter) Description Define one counter of total 10 counters Counters must be used in Template sequence and execute consecutive auto-numbering function. Syntax SCp1,p2,p3,p4,‟Prompt‟ Parameters p1: Identity of Counter : 0 ~ 9  Total 10 counters, from C0 to C9, are provided. p2: The size of the field which displays the content of counter : 1 ~ 27 p3: Justification in field(Field size is p2) Value...
  • Page 51: Ac (Auto Counter)

    SLCS Programming Manual 2-4-2 AC (Auto Counter) Description Define one counter of total 10 counters Counters can be used in normal mode(not in Template) and execute consecutive auto- numbering Syntax ACp1,p2,p3,‟Start Value‟ Parameters p1 : Identity of Counter : 0 ~ 9 ...
  • Page 52: Sv (Set Variable)

    SLCS Programming Manual 2-4-3 SV (Set Variable) Description Define variables for the text or barcode „data‟ fields Syntax SVp1,p2,p3,‟Prompt‟ Parameters p1 : Identity of Variables : 00 ~ 99 p2 : Maximum number of characters : 1 ~ 99 p3 : Justification in field(Field size is p2) Value Justification Right...
  • Page 53: (Get Variables)

    SLCS Programming Manual 2-4-4 ? (Get Variables) Description Use this command to get the content of variables or counters Syntax Content of variable  Data must be entered in ascending order Example TS‟Template1‟ // Template Store Start SV00,20,N‟Enter Company Name : ‟ // Declare(Set) variable V00 SV01,15,N‟Enter Product Code :‟...
  • Page 54: Pv (Print With Variables)

    SLCS Programming Manual 2-4-5 PV (Print with Variables) Description This command is used in template sequence. The parameters are given by variables. Syntax PVp1,[p2] Parameters p1 : Number of label sets : 1 ~ 65535 p2 : Number of copies of each label : 1 ~ 65535 Example TS‟Template1‟...
  • Page 55: Template Related Commands

    SLCS Programming Manual 2-5 Template Related Commands Template(a certain format of label, sequence of SLCS commands) related commands 1) TS Indicate start of template sequence store. 2) TE Indicate end of template sequence store. 3) TR Recall and reuse stored template. 4) TD Delete stored template.
  • Page 56: Ts (Template Store Start)

    SLCS Programming Manual 2-5-1 TS (Template store Start) Description Start template sequence storing. All the contents following „TS‟ are stored in memory until meeting „TE‟ Command. Syntax TS‟Template name’ Parameters „Template name‟: This name will be used when „Recall‟ the stored template. ...
  • Page 57: Tr (Template Recall)

    SLCS Programming Manual 2-5-3 TR (Template Recall) Description Recall the stored template from memory to make a label and print that Syntax TR’Template name’ Parameters „Template name‟ : Indicate the template to be recalled.  The name is allowed to be up to 10 characters long. ...
  • Page 58: Td (Template Delete)

    SLCS Programming Manual 2-5-4 TD (Template Delete) Description Delete stored template from memory Syntax TD’Template name’ Parameters „Template name‟ : Indicate the template to be deleted.  The name is allowed to be up to 10 characters long.  The „Template name‟ is Case Sensitive. ...
  • Page 59: Image Related Commands

    SLCS Programming Manual 2-6 Image Related Commands These commands provide functions to download and print graphic data. PCX and BMP format file are supported and bitmap image data can be printed directly. 1) IS Download PCX format image data to NV(Non Volatile) area of memory. 2) IR Recall and print downloaded image data.
  • Page 60: Is (Image Store)

    SLCS Programming Manual 2-6-1 IS (Image Store) Description Download PCX format Image file into the Printer Memory Syntax ISp1,‟Image name‟DATA OF *.PCX Parameters p1 : The size of image file in unit of byte. „Image name‟ : This is the name that will be used when recalling the stored image data. ...
  • Page 61: Id (Image Delete)

    SLCS Programming Manual 2-6-3 ID (Image Delete) Description Delete stored image from memory Syntax ID’Image name’ Parameters „Image name‟ : Indicate the Image in memory to be deleted.  The name is allowed to be up to 10 characters long. ...
  • Page 62 SLCS Programming Manual 2-6-5 LD Draw bitmap image data on specific position of image buffer Syntax LDxL xH yL yH dhL dhH dvL dvH d1~dk Parameters xL : Low byte of horizontal start position (X) [dot] xH : High byte of horizontal start position (X) [dot] →...
  • Page 63 SLCS Programming Manual Example LD 0x11 0x02 0x40 0x02 0x08 0x00 0x20 0x00 0xFF ~ 0xFF ① ② ③ ④ ⑤ ① x position : 0x02 * 0x100(256) + 0x11 = 0x211(529) ② y position : 0x02 * 0x100(256) + 0x40 = 0x240(576) ③...
  • Page 64 SLCS Programming Manual 2-6-6 LC Draw compression bitmap image data on specific position of image buffer Syntax LCp1p2xL xH yL yH dhL dhH dvL dvH d1~dk Parameters p1: Compression type R: RLE p2: Color 0x00: black 0x01: Color(red or blue) xL : Low byte of horizontal...
  • Page 65 SLCS Programming Manual Example LC R 0x00 0x11 0x02 0x40 0x02 0x08 0x00 0x20 0x00 0xFF ~ 0xFF ○ ○ ○ ○ ○ ○ ○ ①Compression type : R =RLE ②Color : 0x00 = Black ③x position : 0x02 * 0x100(256) + 0x11 = 0x211(529) ④y position : 0x02 * 0x100(256) + 0x40 = 0x240(576) ⑤horizontal data number : 0x00 * 0x100(256) + 0x08 = 0x08(8) ○...
  • Page 66: Bmp

    SLCS Programming Manual 2-6-7 BMP Send BMP format file directly to printer. Just white/black BMP file is supported Syntax BMPp1,p2↓ Data string of *.bmp Parameters p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] ↓ means „CR(+LF)‟ 2.
  • Page 67: Downloadable Font Related Commands

    SLCS Programming Manual 2-7 Downloadable font Related Commands Download fonts into the printer memory. Users can download special size or special design of ASCII font and use this font with T command. 1) DT Download True Type Font into Printer Memory 2) DD Delete downloaded fonts from memory 3) DI...
  • Page 68: Dt (Download True Type Font)

    SLCS Programming Manual 2-7-1 DT (Download True Type Font) Description Download windows system font into printer memory Syntax DTp1,p2,‟Font Name‟ a (DATA (DATA )…a (DATA Parameters p1 : Total number of characters to be downloaded: 0~255 p2 : Font Height: 0~255 Font name : A ~ Z : Character position in ASCII Table(0~255) : Font width(dots)
  • Page 69: Dd (Downloaded Font Delete)

    SLCS Programming Manual 2-7-2 DD (Downloaded font Delete) Description Delete downloaded font from memory Syntax DD’font name’ Parameters „font name‟ : Indicate the Image in memory to be deleted.(A~Z)  This name is Case Sensitive.  By using *, all images in memory will be deleted. ...
  • Page 70: Di (Downloaded Font Information)

    SLCS Programming Manual 2-7-3 DI (Downloaded font Information) Description Print list of downloaded font Syntax Example Result Download Font Information ============================= Name Size ============================= 6400 10752 Free Memory 179419 =============================  w : font width, h : font height, c: total number of characters Rev.
  • Page 71: The Others

    SLCS Programming Manual 2-8 The Others Commands not included in 1 to 7 categories. 1) @ Printer initialization. 2) PI Print information of printer configuration. 3) CUT Enable/Disable Cutting Action 4) ^cp Check printer status and report 2bytes status data to host. 5) ^cu Check printer status and report 1byte status data to host.
  • Page 72: (Initialize Printer)

    SLCS Programming Manual 2-8-1 @ (Initialize Printer) Description Initialize the printer Syntax 2-8-2 PI (Printer Information) Description Print current printer setting Syntax Rev. 1.02 - 72 -...
  • Page 73: Cut (Auto-Cutter Enable/Disable)

    SLCS Programming Manual 2-8-3 CUT (Auto-cutter Enable/Disable) Description Enable or Disable Auto-cut action after printing by „P‟ command Syntax CUTp1(,p2) Parameters p1 : Cutting Action Enable/Disable y : Enable cutter to act after printing is finished. n : Disable cutter. p2 : Cutting Period ...
  • Page 74: Cp (Check Printer Status And Report 2 Bytes)

    SLCS Programming Manual 2-8-4 ^cp (Check Printer Status and Report 2 bytes) Description Check printer status and report 2bytes status data to host Syntax Return Value 1. Format <1 Byte> <2 Byte> 2. Table Return Values Description Byte Paper Empty 0x80 Cover Open 0x40...
  • Page 75: Cu (Check Printer Status And Report 1 Byte)

    SLCS Programming Manual 2-8-5 ^cu (Check Printer Status and Report 1 byte) Description Check printer status and report 1 byte status data to host Syntax Return Value 1. Format <1 Byte> 2. Table Return Values Description Byte Paper Empty 0x80 Cover Open 0x40 Cutter jammed...
  • Page 76: Pi (Send Printer Information To Host)

    SLCS Programming Manual 2-8-6 ^PI (Send Printer information to host) Description Send various printer information such as model name, firmware version, statistics data or so to host Syntax ^PIp1(,p2)(,p3) Parameters p1 : items to be reported. 0 : Model Name 1 : Model Type : Disabled 2 : F/W Version 3: None...
  • Page 77: Mbz (Power Save Mode Setting)

    SLCS Programming Manual 2-8-7 ^MBZ (Power Save mode setting) Description Power save mode setting Syntax ^MBZp1,p2 Parameters p1 : Power save mode enable/disable 0: Disable 1: Enable p2 : Power save mode penetration timely set (unit: seconds) 0 < p2 < 256 p2 sec.
  • Page 78: Programming Example

    SLCS Programming Manual 3. Programming Example 3-1 Example) T_resident // Set Speed to 4 ips SD20 // Set Density level to 20 SW800 // Set Label Width 800 // Set Printing Orientation from Top to Bottom T26,20,0,1,1,0,0,N,N,‟Font - 6 pt‟ T26,49,1,1,1,0,0,N,N,‟Font - 8 pt‟...
  • Page 79: Example) T_Rotate4

    SLCS Programming Manual 3-2 Example) T_Rotate4 SW832 T300,500,4,1,1,0,0,N,N,‟ABCDEFG‟ T300,500,4,1,1,0,1,N,N,‟ABCDEFG‟ T300,500,4,1,1,0,2,N,N,‟ABCDEFG‟ T300,500,4,1,1,0,3,N,N,‟ABCDEFG‟ Result Rev. 1.02 - 79 -...
  • Page 80: Example) V_Resident

    SLCS Programming Manual 3-3 Example) V_resident // Set speed to 4 ips SD20 // Set density to 20 SW800 // Set label width to 800 // Set printing direction to from top to bottom 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,'Vector Font Test' V50,300,U,35,35,+1,B,R,I,0,L,0,'Vector Font Test ' V50,400,U,45,25,+1,N,N,N,0,L,0,'Vector Font Test' V50,500,U,25,45,+1,N,N,N,0,L,0,'Vector Font Test'...
  • Page 81: Example) V_Rotate4

    SLCS Programming Manual 3-4 Example) V_Rotate4 SW832 V400,500,U,45,40,+1,N,N,N,0,L,0,'VECTOR FONT' V400,500,U,45,40,+1,N,N,N,1,L,0,'VECTOR FONT' V400,500,U,45,40,+1,N,N,N,2,L,0,'VECTOR FONT' V400,500,U,45,40,+1,N,N,N,3,L,0,'VECTOR FONT' Result Rev. 1.02 - 81 -...
  • Page 82: Example) Code39

    SLCS Programming Manual 3-5 Example) Code39 SM10,0 B178,196,0,2,6,100,0,0‟1234567890‟ // Caution : The position is not (178,196) but (78,196). B150,468,0,4,10,200,0,0‟1234567890‟ Result Rev. 1.02 - 82 -...
  • Page 83: Example) Bd1

    SLCS Programming Manual 3-6 Example) BD1 // Set Speed to 4 ips SD20 // Set Density level to 20 SW800 // Set Label Width to 800 BD50,50,750,500,B,20 T100,150,5,1,1,0,0,N,N,‟Normal Mode‟ T100,300,5,1,1,0,0,R,N,‟Reverse Mode‟ Result Normal Mode Reverse Mode Rev. 1.02 - 83 -...
  • Page 84: Example) Bd3

    SLCS Programming Manual 3-7 Example) BD3 // Set Printing Speed to 4 ips SD20 // Set Printing Density level to 20 SW800 // Set Label Width to 800 BD50,100,400,150,O // Draw a block in Overwriting Mode BD50,200,400,250,O BD50,300,400,350,O BD100,50,150,400,E // Draw a block in Exclusive OR mode BD200,50,250,400,E BD300,50,350,400,E BD500,200,700,400,O...
  • Page 85 SLCS Programming Manual Result TEST NORMAL NORMAL Rev. 1.02 - 85 -...
  • Page 86: Example) Bd4

    SLCS Programming Manual 3-8 Example) BD4 SW800 SM10,0 BD100,300,550,330,O // Overwrite mode BD200,200,250,430,O // Overwrite mode BD400,200,450,430,E // Exclusive OR mode Result Rev. 1.02 - 86 -...
  • Page 87: Example) Bd5

    SLCS Programming Manual 3-9 Example) BD5 SW800 SM10,0 BD100,300,300,500,O BD400,300,700,500,B,30 // Box mode, additional parameter follows Result Rev. 1.02 - 87 -...
  • Page 88: Example) Slope

    SLCS Programming Manual 3-10 Example) Slope SD20 SW8000 BD100,300,300,800,S,100 // Slope mode, additional parameter follows BD600,300,400,800,S,100 Result Rev. 1.02 - 88 -...
  • Page 89: Example) Sw&Sl

    SLCS Programming Manual 3-11 Example) SW&SL SD20 SW800 // Set Label Width to 800 SL300,10,C // Continuous type BD0,0,800,300,B,10 T30,40,4,1,1,0,0,N,N,'SW=800, SL=300, Continuous' SW600 SL500,10,C BD0,0,600,500,B,10 T30,40,4,1,1,0,0,N,N,'SW=600, SL=500' T30,100,4,1,1,0,0,N,N,'Continuous' SW400 SL800,10,C BD0,0,400,800,B,10 T30,40,4,1,1,0,0,N,N,'SW=400' T30,90,4,1,1,0,0,N,N,'SL=800' T30,140,4,1,1,0,0,N,N,'Continuous' Rev. 1.02 - 89 -...
  • Page 90 SLCS Programming Manual Result SW = 800, SL=300, Continuous SW = 600, SL=500, Continuous SW= 400, SL = 800, Continuous Rev. 1.02 - 90 -...
  • Page 91: Example) Test00_Ts

    SLCS Programming Manual 3-12 Example) TEST00_TS TD‟Test00‟ // Template Delete TS‟ Test00‟ // Start Template Store SV00,15,N,‟Manufacturer :‟ // Declare variable V00, field size:15, No justification SV01,15,R,‟Model Name :‟ // Declare variable V01, field size:15, Right justification T50,100,3,1,1,0,0,N,N,‟Manufacturer :‟V00 // Print variable V00 with some text string T50,150,3,1,1,0,0,N,N,‟Model Name :‟V01 // Print variable V01 with some text string T50,300,3,1,1,0,0,N,N,V00 // Print variable V00 only...
  • Page 92: Example) Test00_Tr

    SLCS Programming Manual 3-13 Example) TEST00_TR TR‟Test00‟ // Recall Stored template „Test00‟ // To get contents for variables used in „Test00‟ // Content for V00 SLPD420 // Content for V01 // Print Result Manufacturer : SEM No Justification Model Name : SLPD420 Right Justification Right Justification...
  • Page 93: Example) Test04_Ts

    SLCS Programming Manual 3-14 Example) TEST04_TS TS‟Test04‟ // Start Template Store // Clear Image Buffer // Set Speed to 4 ips SD20 // Set Density level 20 SW800 // Set Label Width to 800 // Set Printing Orientation from Top to Bottom(Default) SV00,15,L,‟prompt‟...
  • Page 94: Example) Test04_Tr

    // data for variable V07 SLPD420 : H // Start Printing 3-16 Example) IR1 IR130,400,‟BIXOLON‟ // Recall stored image data // Printing !!! Use the PCXDown utility when you download the pcx image file to printer memory. Refer to IS command.
  • Page 95: Example) Test10_Ts

    IR130,400,V02 // Use V02 as Image Name // End Template Store 3-18 Example) TEST10_TR (File location : CD\Testfile\Template\Test10\TEST10_TR.txt) TR‟Test10‟ // Recall Template BIXOLON // Start Get data for variables BIXOLON // data for V00 SLPD420 // data for V01 BIXOLON...
  • Page 96: Example) Test11_Ts

    SLCS Programming Manual 3-19 Example) TEST11_TS TS‟Test11‟ // Start Template Store // Clear Image Buffer // Set Printing Speed to 4 ips SD20 // Set Density to 20 SW800 // Set Label Width to 800 // Set Printing Orientation from Top to Bottom SC0,4,L,+1,‟COUNTER1‟...
  • Page 97: Example) Slcs_Bixolon

    T25,798,1,1,1,0,0,N,N,'WEIGHT:' T259,798,1,1,1,0,0,N,N,'DELIVERY NO:' T23,630,1,1,1,0,0,N,N,'AWB:' BD241,783,246,932,O BD486,784,491,933,O T274,841,5,1,1,0,0,N,B,'425518' T104,627,3,1,1,0,0,N,N,'8741493121' T565,841,5,1,1,0,0,N,B,'ICN' B1127,672,4,4,8,90,0,0,0,'8741493121' B2560,180,M,0,'999,840,06810,7317,THIS IS A TEST OF MODE 0 STRUCTURED CARRIER MESSAGE ENCODING. THIS IS AN 84 CHAR MSG' B280,960,P,30,10,0,0,0,1,3,14,0,'BIXOLON Label Printer SLPD420, This is Test Printing.' Rev. 1.02 - 97 -...
  • Page 98 SLCS Programming Manual Result Rev. 1.02 - 98 -...

Table of Contents