Hide thumbs Also See for L-1:
Table of Contents

Advertisement

Programming(SLCS) Manual
Label Printer
Rev. 1.00
Metapace L-1
Metapace L-2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the L-1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Metapace L-1

  • Page 1 Programming(SLCS) Manual Label Printer Metapace L-1 Rev. 1.00 Metapace L-2...
  • Page 2: Table Of Contents

    Metapace L-1 / L-2 ■ 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................. 11 2-1-1 T (Text String) .....................12...
  • Page 3 Metapace L-1 / L-2 2-6 Image Related Commands ..................58 2-6-1 IS (Image Store) ....................59 2-6-2 IR (Image Recall)....................59 2-6-3 ID (Image Delete) ....................60 2-6-4 II (Image Information) ..................60 2-6-5 LD........................61 2-6-6 BMP........................63 2-7 Downloadable font Related Commands ...............64 2-7-1 DT (Download True Type Font) ................65 2-7-2 DD (Downloaded font Delete)................66...
  • Page 4: Foreword

    In this chapter, the basic concept of SLCS and some information necessary for the programmer to use SLCS will be explained. Please read this part before starting programming for efficient and easy use of METAPACE Label Printers.. - 4 -...
  • Page 5: Image Buffer Configuration

    Metapace L-1 / L-2 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

    Metapace L-1 / L-2 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...
  • Page 7 Metapace L-1 / L-2 3) Example of text and barcode Direction of x axis (0.0) (124 , 160) (503 , 160) METAPACE Metapace L-1 (124 , 356) 4) Example of rotation Direction of x axis (0.0) Start Position 0° ABCD...
  • Page 8: Command List

    Metapace L-1 / L-2 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...
  • Page 9 Metapace L-1 / L-2 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...
  • Page 10: Programming Considerations

    Metapace L-1 / L-2 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).
  • Page 11: Detail Description

    Metapace L-1 / L-2 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.
  • Page 12: T (Text String)

    Metapace L-1 / L-2 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 Metapace L-1 / L-2 p9 : Bold N : Normal B : Bold p10 : Text Alignment(Optional) F : p1 means the position of the first character in text string - Left alignment L : p1 means the position of the last character in text string - Right alignment R: Write text sting form right to left.
  • Page 14 Metapace L-1 / L-2 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)

    Metapace L-1 / L-2 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...
  • Page 16 Metapace L-1 / L-2 p12: Text string write direction 0: Write text string form left to right (METAPACE) 1: Write text string form right to left (ECAPATEM) ‘DATA’: The various data types can be used in the data field as follows.
  • Page 17 Metapace L-1 / L-2 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 - 17 - Rev. 1.00...
  • Page 18: B1 (1 Dimensional Bar Code)

    Metapace L-1 / L-2 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...
  • Page 19 Metapace L-1 / L-2 ♣ 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: B2 (2 Dimensional Bar Code)

    Metapace L-1 / L-2 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...
  • Page 21 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 METAPACE LABEL PRINTER Metapace L-1. MODE 2 ENCODING. THIS IS AN 84 CHAR.’ 3)Mode3 B2200,200,M,3,’999,056,B1050,7317,THIS IS A TEST OF METAPACE LABEL PRINTER Metapace L-1. MODE 3 ENCODING. THIS IS AN 84 CHAR.’...
  • Page 22 : 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,’ METAPACE Label Printer Metapace L-1’ // The position is (100,750) - 22 - Rev. 1.00...
  • Page 23 Metapace L-1 / L-2 QR Code(When p3 is Q) p1 : Horizontal position (X) [dot] p2 : Vertical position (Y) [dot] p3 : Q (means ‘QR Code’) p4 : MODEL selection 1 : MODEL1 2 : MODEL2 p5 : ECC Level...
  • Page 24: B3 (Special Barcode)

    Metapace L-1 / L-2 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 25: Bd (Block Draw)

    Metapace L-1 / L-2 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]...
  • Page 26 Metapace L-1 / L-2 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) - 26 - Rev. 1.00...
  • Page 27 Metapace L-1 / L-2 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) - 27 - Rev. 1.00...
  • Page 28: Cd (Circle Draw)

    Metapace L-1 / L-2 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)
  • Page 29: Cs (Character Set Selection)

    Metapace L-1 / L-2 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...
  • Page 30 Metapace L-1 / L-2 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...
  • Page 31 Metapace L-1 / L-2 International Character Set Country Hex 23h 40h 5Bh 5Eh 60h 7Bh 125 126 U.S.A $ France à ° ç § é ù è ¨ $ Germany § Ä Ö Ü ä ö ü β $ U.K.
  • Page 32: P (Print)

    Metapace L-1 / L-2 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 33 Metapace L-1 / L-2 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 34: Media & Buffer Related Commands

    Metapace L-1 / L-2 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...
  • Page 35: St (Set Printing Type)

    Metapace L-1 / L-2 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.
  • Page 36 Metapace L-1 / L-2 ** 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...
  • Page 37: Sf (Set Back-Feed Option)

    Metapace L-1 / L-2 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 38: Sl (Set Length)

    Metapace L-1 / L-2 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 39 Metapace L-1 / L-2 ♣ 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.
  • Page 40 Metapace L-1 / L-2 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 - 40 - Rev. 1.00...
  • Page 41: 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. ♣ Metapace L-1 is the center aligned printer and media is positioned in the center of the head. Example...
  • Page 42: Sb (Set Buffer Mode)

    Metapace L-1 / L-2 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 43: Printer Setting Commands

    Metapace L-1 / L-2 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 - 43 - Rev. 1.00...
  • Page 44: Ss (Set Speed)

    Metapace L-1 / L-2 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)
  • Page 45: So (Set Orientation)

    Metapace L-1 / L-2 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.
  • Page 46: Sp (Set Port)

    Metapace L-1 / L-2 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...
  • Page 47: Sa (Set Offset)

    Metapace L-1 / L-2 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.
  • Page 48: Variable Related Commands

    Metapace L-1 / L-2 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...
  • Page 49: Sc (Set Counter)

    Metapace L-1 / L-2 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.
  • Page 50: Ac (Auto Counter)

    Metapace L-1 / L-2 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 51: Sv (Set Variable)

    Metapace L-1 / L-2 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...
  • Page 52: (Get Variables)

    Metapace L-1 / L-2 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 : ’...
  • Page 53: Pv (Print With Variables)

    Metapace L-1 / L-2 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 54: Template Related Commands

    Metapace L-1 / L-2 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.
  • Page 55: Ts (Template Store Start)

    Metapace L-1 / L-2 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 56: Tr (Template Recall)

    Metapace L-1 / L-2 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 57: Td (Template Delete)

    Metapace L-1 / L-2 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 58: Image Related Commands

    Metapace L-1 / L-2 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.
  • Page 59: Is (Image Store)

    Metapace L-1 / L-2 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 60: Id (Image Delete)

    Metapace L-1 / L-2 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 61 Metapace L-1 / L-2 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...
  • Page 62 Metapace L-1 / L-2 Example LD 0x11 0x02 0x40 0x02 0x08 0x00 0x20 0x00 0xFF ~ 0xFF ① ② ③ ④ ⑤ x position : 0x02 * 0x100(256) + 0x11 = 0x211(529) ① y pos ition : 0x02 * 0x100(256) + 0x40 = 0x240(576) ②...
  • Page 63: Bmp

    Metapace L-1 / L-2 2-6-6 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)’...
  • Page 64: Downloadable Font Related Commands

    Metapace L-1 / L-2 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...
  • Page 65: Dt (Download True Type Font)

    Metapace L-1 / L-2 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...
  • Page 66: Dd (Downloaded Font Delete)

    Metapace L-1 / L-2 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 67: Di (Downloaded Font Information)

    Metapace L-1 / L-2 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 - 67 - Rev.
  • Page 68: The Others

    Metapace L-1 / L-2 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.
  • Page 69: (Initialize Printer)

    Metapace L-1 / L-2 2-8-1 @ (Initialize Printer) Description Initialize the printer Syntax 2-8-2 PI (Printer Information) Description Print current printer setting. Syntax - 69 - Rev. 1.00...
  • Page 70: Cut (Auto-Cutter Enable/Disable)

    Metapace L-1 / L-2 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.
  • Page 71: Cp (Check Printer Status And Report 2 Bytes)

    Metapace L-1 / L-2 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...
  • Page 72: Cu (Check Printer Status And Report 1 Byte)

    Metapace L-1 / L-2 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...
  • Page 73: Pi (Send Printer Information To Host)

    ℃ Return Value Format Items Return Format Example Model Name Character String + 0x0d + 0x0a “Metapace L-1” + 0x0d + 0x0a Model Type Disabled F/W Version Character String + 0x0d + 0x0a “1.23” + 0x0d + 0x0a TPH temperature Character String + 0x0d + 0x0a “85”...
  • Page 74: Programming Example

    Metapace L-1 / L-2 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’...
  • Page 75: Example) T_Rotate4

    Metapace L-1 / L-2 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 - 75 - Rev. 1.00...
  • Page 76: Example) V_Resident

    Metapace L-1 / L-2 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'...
  • Page 77: Example) V_Rotate4

    Metapace L-1 / L-2 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 - 77 - Rev. 1.00...
  • Page 78: Example) Code39

    Metapace L-1 / L-2 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 - 78 - Rev. 1.00...
  • Page 79: Example) Bd1

    Metapace L-1 / L-2 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 - 79 -...
  • Page 80: Example) Bd3

    Metapace L-1 / L-2 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...
  • Page 81 Metapace L-1 / L-2 Result TEST NORMAL NORMAL - 81 - Rev. 1.00...
  • Page 82: Example) Bd4

    Metapace L-1 / L-2 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 - 82 - Rev. 1.00...
  • Page 83: Example) Bd5

    Metapace L-1 / L-2 3-9 Example) BD5 SW800 SM10,0 BD100,300,300,500,O BD400,300,700,500,B,30 // Box mode, additional parameter follows Result - 83 - Rev. 1.00...
  • Page 84: Example) Slope

    Metapace L-1 / L-2 3-10 Example) Slope SD20 SW8000 BD100,300,300,800,S,100 // Slope mode, additional parameter follows BD600,300,400,800,S,100 Result - 84 - Rev. 1.00...
  • Page 85: Example) Sw&Sl

    Metapace L-1 / L-2 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' - 85 - Rev. 1.00...
  • Page 86 Metapace L-1 / L-2 Result SW = 800, SL=300, Continuous SW = 600, SL=500, Continuous SW= 400, SL = 800, Continuous - 86 - Rev. 1.00...
  • Page 87: Example) Test00_Ts

    Metapace L-1 / L-2 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...
  • Page 88: Example) Test00_Tr

    Metapace L-1 / L-2 3-13 Example) TEST00_TR TR’Test00’ // Recall Stored template ‘Test00’ // To get contents for variables used in ‘Test00’ // Content for V00 Metapace L-1 // Content for V01 // Print Result Manufacturer : SEM No Justification...
  • Page 89: Example) Test04_Ts

    Metapace L-1 / L-2 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 90: Example) Test04_Tr

    Metapace L-1 / L-2 3-15 Example) TEST04_TR TR’Test04’ // Recall Template // Start Get values for variables // data for variable V00 // data for variable V00 Metapace L-1 : E Metapace L-1 : Metapace L-1 : // data for variable V07...
  • Page 91: Example) Test10_Ts

    Metapace L-1 / L-2 3-17 Example) TEST10_TS TS’Test10’ // Start Template Store // Clear Image Buffer // Set Speed to 5 ips SD20 // Set Density to 20 SW800 // Set Label Width to 800 // Set Printing Orientation from Top to bottom SV00,15,C,’prompt’...
  • Page 92: Example) Test11_Ts

    Metapace L-1 / L-2 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’...

This manual is also suitable for:

L-2

Table of Contents