ABLE OF CONTENTS Setup and System Commands ....................1 SIZE ................................1 CASHDRAWER............................2 GAP ................................3 OFFSET ............................... 4 SPEED ................................. 5 DENSITY ..............................5 DIRECTION and Mirror Image ........................6 REFERENCE ............................... 7 SHIFT ................................8 CODEPAGE .............................. 9 CLS .................................
Page 3
MOVE ..............................40 RUN ................................ 40 BASIC Commands and Functions ..................41 ABS( ) ..............................41 ASC( ) ..............................42 CHR$( ) ..............................43 END ................................ 44 EOF( ) ..............................45 OPEN ..............................46 READ ..............................48 SEEK ..............................49 LOF( )..............................
Page 4
Document Conventions This manual uses the following typographic conventions. Convention Description [expression list] Items inside square brackets are optional, expression maximum length 2*1024 bytes; <ESC> ESCAPE (ASCII 27), control code of status polling command, which returns the printer status immediately, no matter the printer is ready or not.
Setup and System Commands 1. SIZE Description This command defines the label width and length. Syntax (1) English system (inch) SIZE m, n (2) Metric system (mm) SIZE m mm, n mm Parameter Description Label width (inch or mm) Label length (inch or mm) Note: 203 DPI: 1 mm = 8 dots For metric system, there must be a space between parameter and “mm”.
2. CASHDRAWER Description Generate pulse Syntax CASHDRAWER m,t1,t2 Parameter Description Connector pin m = 1,2; 0 ≦ t1 ≦ 255 0 ≦ t2 ≦ 255. Connector pin Drawer kick-out connector pin2. Drawer kick-out connector pin5. The pulse ON time is[t1 x 2 ms]and the OFF time is[t2 x 2ms]. if t2<t1,the OFF time is [t1 x 2 ms].
3. GAP Description Define the gap distance between two labels Syntax (1). English system (inch) GAP m,n (2) Metric system (mm) GAP m mm, n mm Parameter Description The gap distance between two labels 0 ≤ m ≤ 1 (inch), 0 ≤ m ≤ 25.4 (mm) The offset distance of the gap n ≤...
4. OFFSET Description This command defines the selective, extra label feeding length each form feed takes, which, especially in peel-off mode, is used to adjust label stop position, so as for label to register at proper places for the intended purposes. The printer backtracks the extra feeding length before the next run of printing.
5. SPEED Description This command defines the print speed. Syntax SPEED n Parameter Description printing speed in inch per second Example SPEED 10 See Also DENSITY 6. DENSITY Description This command designates the level of darkness of printing. Syntax DENSITY n Parameter Description 0~15...
7. DIRECTION and Mirror Image Description This command defines the printout direction and mirror image. And this will be memorized in EEPROM. Syntax DIRECTION n[,m] Parameter Description 0 or 1. Please refer to the illustrations below: 0: Print normal image. 1: Print mirror image. DIRECTION 1,0 DIRECTION 0,0 DIRECTION 0,1...
8. REFERENCE Description This command defines the reference point of the label. The reference (origin) point varies with the print direction, as shown: Direction 0 Syntax REFERENCE x, y Parameter Description Horizontal coordinate, with “dot” as the unit. Vertical coordinate, with “dot”as the unit. Note: 203 DPI: 1 mm = 8 dots Example...
9. SHIFT Description This command can be used to fine-tune the entire label up or down from its current position. The position relates to the top edge of the label. A negative value moves the entire label away from the top of the label; a positive value moves the entire label to the top of label.
CODEPAGE Description This command defines the code page of international character set. Syntax CODEPAGE n Parameter Description name or number of code page, which can be divided into 8-bit code page further. 8-bit code page number 437: United States 850: Multilingual 852: Slavic 860: Portuguese 863: Canadian/French...
Description This command clears the image buffer. Syntax Parameter Description None Note: This command must be placed after SIZE command. Example See Also SIZE, GAP FEED Description This command feeds label with the specified length. The length is specified by dot. Syntax FEED n Parameter...
BACKFEED Description To back feed label with the specified length. The length is specified by dot. Syntax BACKFEED n Parameter Description unit: dot 1 ≤ n ≤ 9999 Example BACKFEED 40 CAUTION: Impropriety back feed value may cause paper jam or wrinkle. Note: 203 DPI: 1 mm = 8 dots See Also...
FORMFEED Description This command feeds label to the beginning of next label. Syntax FORMFEED Parameter Description None Example SIZE 3,2.5 GAP 0 mm,0 SPEED 4 DENSITY 7 DIRECTION 0 OFFSET 0.00 REFERENCE 0,0 SET PEEL OFF SET COUNTER @0 +1 @0="000001"...
HOME Description It is not expected the first label will be printed on the right position when the printer power is turned on. This command will feed label to the beginning of next label .The size and gap of the label should be setup in advance. Syntax HOME Parameter...
PRINT Description This command prints the label format stored in the image buffer. Syntax PRINT m [,n] Parameter Description Specifies how many sets of labels will be printed. 1 ≤ m ≤ 999999999 If m=-1, printer will print the last label content for n copies.
SOUND Description This command is used to control the sound frequency of the beeper. There are 10 levels of sounds. The timing control the sound can be set by the “interval” parameter. Syntax SOUND level,interval Parameter Description level Sound level: 0~9 interval Sound interval: 1~4095 Example...
LIMITFEED Description When feeding labels, if the gap sensor is not set to a suitable sensitivity, the printer will not be able to locate the correct position of the gap. This command is used stop label feeding and make the red LED flash if the printer does not locate gap after feeding the length of one label plus one preset value.
Label Formatting Commands Description This command is used to draw a line or a bar on the label format. Syntax BAR x, y, width, height Parameter Description The upper left corner x-coordinate in dot The upper left corner y-coordinate in dot width The width of bar in dot height...
BARCODE Description This command is used to print 1D barcodes on label form. The available bar codes are listed below: n Code 128 n Code 128M n EAN 128 n Interleaved 2 of 5 n Interleaved 2 of 5 with check digit n Code 39 standard n Code 39 full ASCII n Code 39 full ASCII with check digit...
Page 23
Control code FNC3 FNC3 NONE FNC2 FNC2 NONE SHIFT SHIFT NONE CODE C NONE CODE C CODE B FNC4 CODE B FNC4 CODE A CODE A FNC1 FNC1 FNC1 Start (CODE A) Start (CODE B) Start (CODE C) Use “!” as a starting character for the control code followed by three control codes.
Page 24
Ø rotation Rotate bar code clockwise in degrees non rotation rotate 90 degrees clockwise rotate 180 degrees clockwise rotate 270 degrees clockwise narrow width of narrow element in dot wide width of wide element in dot narrow : wide narrow : wide narrow : wide narrow : wide narrow : wide 1:1 1:2 1:3...
Page 25
code number the maximum number of digits of bar code content Maximum bar Maximum bar Barcode type Barcode type Code length Code length — POST 5,9,11 — UPCA EAN128 — UPCA + 2 UPCA + 5 — — UPCE — UPCE +2 —...
BITMAP Description This command is used to draw bitmap images (Not BMP graphic file). Syntax BITMAP X, Y, width, height, mode, bitmap data… Parameter Description Specify the x-coordinate of the bitmap image Specify the y-coordinate of the bitmap image width The width of the image in bytes height The height of the image in dot...
Description This command is used to draw rectangles on the label. Syntax BOX X_start, Y_start, X_end, Y_end, line thickness Parameter Description X_start Specify x-coordinate of upper left corner in dot Y_start Specify y-coordinate of upper left corner in dot X_end Specify x-coordinate of lower right corner in dot Y_end Specify y-coordinate of lower right corner in dot...
ERASE Description This command is used to clear a specified region in image buffer. Syntax ERASE X_start, Y_start, X_width, Y_height Parameter Description X_start The x-coordinate of the starting point in dot Y_start The y-coordinate of the starting point in dot X_width The region width in x-axis direction in dot Y_height...
PUTBMP Description This command is used to print BMP format image. Syntax PUTBMP X, Y, ”filename” Parameter Description The x-coordinate of the BMP format image The y-coordinate of the BMP format image filename The downloaded BMP filename. Example See Also DOWNLOAD, BITMAP, PUTPCX THERMAL BARCODE PRINTER SERIES...
PUTPCX Description This command is used to print PCX format image. Syntax PUTPCX X, Y, ”filename” Parameter Description The x-coordinate of the PCX image The y-coordinate of the PCX image filename The downloaded PCX filename. Case sensitive Example See Also DOWNLOAD, BITMAP, PUTPCX THERMAL BARCODE PRINTER SERIES...
REVERSE Description This command is used to reverse a region in image buffer. Syntax REVERSE X_start, Y_start, X_width, Y_height Parameter Description X_start The x-coordinate of the starting point in dot Y_start The y-coordinate of the starting point in dot X_width The region width in x-axis direction in dot Y_height The region height in y-axis direction in dot...
TEXT Description This command is used to print text on label Syntax TEXT X, Y, ”font”, rotation, x-multiplication, y-multiplication, “content” Parameter Description The x-coordinate of the text The y-coordinate of the text font Font name Monotye CG Triumvirate Bold Condensed, font width and height is stretchable 8 x 12 fixed pitch dot font 12 x 20 fixed pitch dot font...
Example SIZE 3,2 GAP 0,0 TEXT 100,100,”5”,0,1,1,”\[“]DEMO FOR TEXT\[“]” TEXT 100,200,”0,1,20,”\[“]True Type Font Test Print\[“]” PRINT 1,1 Status Polling Commands (RS-232) <ESC>!? Description This command is used to obtain the printer status. An inquiry request is solicited by sending an <ESC> (ASCII 27, escape character) as the beginning control character to the printer.
Syntax <ESC>!? See Also <ESC>!R <ESC>!R Description This command is used to reset the printer. It can be sent at any time as long as the printer is powered on and not in the dump mode. The beginning of the command is an ESCAPE character (ASCII 27). The files downloaded in memory will be deleted.
Page 36
Description This command is used to inquire the mileage of the printer. The integer part of mileage is returned (the decimal part of mileage is not return). It is returned to 0x0D. PC in ASCII characters. The ending character of mileage is Syntax Parameter Description...
Page 37
Description This command is used to enter DUMP mode. Syntax Parameter Description None Example Description This command is used to inquire about files resident in the printer memory and fonts installed in the memory module. The filename is returned in ASCII characters. Each file name ends with 0x0D.
Page 38
Description The command is used to inquire the code page setting of the printer. The returned information is given in the following format codepage,code ex: 8 bit: 437, 001 please refer to the Regarding the code pages supported by the printer, CODEPAGE command respectively.
File Management Commands DOWNLOAD Description “DOWNLOAD” is a header of the file that is to be saved in the printer's memory. data The downloaded files can be divided to two categories: program file and file (including text data file, PCX graphic files and bitmap font file) The detailed descriptions regarding the download syntax for different files are shown below: Maximum numbers of file saved in DRAM:...
Page 40
2. Download a data file DOWNLOAD [n,]“FILENAME”, DATA SIZE, DATA CONTENT…where Parameter Description Specify the memory location to save the download files. ignored Download files to DRAM only. If you would like to n is save the files from DRAM to Flash memory before turning off power, you can issue MOVE command to printer to move the files from DRAM to Flash memory.
2. Use Run command to start the program C:\>COPY CON LPT1<ENTER> RUN “EXAMPLE.BAS”<ENTER> <CTRL><Z> C:\> Below is an example of downloading data file. DOWNLOAD “DATA”,20,COMPUTER<Enter> 2001<Enter> 21<Enter> Note: <ENTER> stands for keyboard “ENTER” key. In the above example, please press “ENTER” key instead of typing <ENTER> in the above example.
FILES Description This command prints out the filenames (or lists the files through RS-232) that remained in the printer memory (both FLASH memory and DRAM). The total memory size and available memory size are printed out or lists as well. Syntax FILES Example...
KILL Description This command deletes a file in the printer memory. The wild card (*) will delete all files resident in specified DRAM or FLASH memory. Syntax KILL [n],”FILENAME” Parameter Description Specify the memory location that files will be deleted. n is ignored Kill files saved in DRAM.
MOVE Description This command is used to move downloaded files from DRAM to the FLASH memory. Syntax MOVE Parameter Description See Also DOWNLOAD, EOP Description This command is used to execute a program that resident in printer memory Syntax RUN “FILENAME.BAS” Example C:\>COPY CON LPT1<ENTER>...
BASIC Commands and Functions ABS( ) Description This function returns the absolute value of an integer, floating point or variable. Syntax ABS (-100) ABS (-99.99) ABS (VARIABLE) Example DOWNLOAD “TEST.BAS” SIZE 3,4 GAP 0,0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF A=ABS(-100)
ASC( ) Description This function returns the ASCII code of the character. Syntax ASC (“A”) Example DOWNLOAD “TEST.BAS” SIZE 3,4 GAP 0,0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF CODE1=ASC(“A”) TEXT 100,100,”3”,0,1,1,STR$(CODE1) PRINT 1 See Also DOWNLOAD, EOP, STR$() THERMAL BARCODE PRINTER SERIES...
CHR$( ) Description This function returns the character that has the specified ASCII code. Syntax CHR$(n) Parameter Description The ASCII code Example DOWNLOAD “TEST.BAS” SIZE 3,4 GAP 0,0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF A=65 WORD$=CHR$(A) TEXT 100,100,”3”,0,1,1,WORD$ PRINT 1...
Description This command states the ending of program. Syntax Example DOWNLOAD "DEMO.BAS" SIZE 3,2 GAP 0,0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF TEXT 200,60,"4",0,1,1,"END COMMAND TEST" X=300 Y=200 X1=500 Y1=400 GOSUB DR_LINE PRINT 1 :DR_LINE FOR I=1 TO 100 STEP 10 BOX X+I,Y+I,X1-I,Y1-I,5 NEXT...
EOF( ) Description This function is used to detect an opened download file to see whether it has reached the end of file. Syntax EOF (File Handle) Parameter Description File handle Either 0 or 1 Parameter Description None-zero End of file Not end of file Example DOWNLOAD "DATA",16,COMPUTER...
OPEN Description This command is used to open a downloaded file and establish the file handle. Up to 2 files can be opened at the same time. The file to be opened should be downloaded prior to using this command. Syntax OPEN “Filename”, File handle Parameter...
Page 51
DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF Y=100 GOSUB OpenData :Start TEXT 10,10,"3",0,1,1,"*****OPEN COMMAND TEST*****" ITEM$="" READ 0,ITEM$,P,Q TEXT 10,Y,"2",0,1,1,ITEM$+"$"+STR$(P)+"[EOF(0)="+STR$(EOF(0))+"]" BARCODE 10,Y+25,"39",40,1,0,2,4,"PRICE*"+STR$(Q)+"="+STR$(P*Q) Y=Y+100 PRINT 1 Y=100 IF EOF(0)=1 THEN GOSUB OpenData IF EOF(0)=0 THEN GOTO Start :OpenData IF I=1 THEN OPEN "DATA1",0 IF I=2 THEN OPEN "DATA2",0...
READ Description This command is used to read data from downloaded data file Syntax READ file handle, variables Parameter Description File handle 0 or 1. string, integer or float point variable variables Example DOWNLOAD "DATA1",20,COMPUTER 2000 DOWNLOAD "DATA2",16,Mouse DOWNLOAD "DEMO.BAS" SIZE 3,1 GAP 0,0 DENSITY 8...
TEXT 10,10,"3",0,1,1,"*****READ COMMAND TEST*****" TEXT 10,50,"3",0,1,1,"OPEN-READ DATA"+STR$(I+1) ITEM$="" READ I,ITEM$,P,Q TEXT 10,Y,"2",0,1,1,ITEM$+"$"+STR$(P) BARCODE 10,Y+25,"39",40,1,0,2,4,"PRICE*"+STR$(Q)+"="+STR$(P*Q) Y=Y+100 PRINT 1 Y=100 IF I<=1 THEN IF EOF(I)=1 THEN I=I+1 GOTO Start ELSE GOTO Start ENDIF ELSE ENDIF DEMO See Also DOWNLOAD, EOP, OPEN, EOF, LOF, SEEK, FREAD$() SEEK Description This command is used to shift the specified file pointer to a certain position.
Page 54
Example DOWNLOAD "DATA",12,1234567890 DOWNLOAD "TEST.BAS" SIZE 3,1 GAP 0,0 DENSITY 8 SPEED 3 DIRECTION 1 REFERENCE 0,0 OPEN "DATA",0 SEEK 0,4 READ 0,Num$ TEXT 100,10,"3",0,1,1,"SEEK COMMAND TEST" BAR 100,40,300,4 TEXT 100,60,"3",0,1,1,"SHIFT 4 CHARACTERS" TEXT 100,110,"3",0,1,1,Num$ BAR 100,140,300,4 SEEK 0,0 READ 0,Num$ TEXT 100,160,"3",0,1,1,"SHIFT 0 CHARACTERS"...
LOF( ) Description This function returns the size of the specified file. Syntax LOF (“FILENAME”) Parameter Description FILENAME The file downloaded in the printer memory. Example DOWNLOAD "DATA1",10,1234567890 DOWNLOAD "DATA2",15,ABCDEFGHIJKLMNO DOWNLOAD "LofTest.BAS" SIZE 3,3 GAP 0.08,0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF...
FREAD$( ) Description This function reads a specified number of bytes of data from a file. Syntax FREAD$ (file handle, byte) Parameter Description Either 0 or 1 file handle byte Number of bytes to be read Example DOWNLOAD "DATA1",10,1234567890 DOWNLOAD "DATA2",15,ABCDEFGHIJKLMNO DOWNLOAD "OPEN2.BAS"...
FOR…NEXT LOOP Description Loop is used to execute one or more lines of program repetitively. Before anything, a value should be assigned the loop counter to specify the execution times. Nested loop is allowed (up to 39 nested loops) in this printer. Jumping out in the middle of the FOR…NEXT loop is prohibited because it is not a good programming skill .
Page 58
IF…THEN…ELSE…ENDIF LOOP Description Use IF…THEN block to execute one or more statements conditionally. You can use either a single-line syntax or multiple-line “block” syntax: Syntax IF condition THEN statement Notice that the single-line form of IF …THEN does not use an ENDIF statement.
Page 59
SET PEEL OFF FOR I=1 TO 100 IF I-INT(I/1)*1=0 THEN A=A+I IF I-INT(I/2)*2=1 THEN B=B+I ELSE C=C+I IF I-INT(I/3)*3=0 THEN D=D+I ENDIF IF I-INT(I/5)*5=0 THEN E=E+I ELSE F=F+I ENDIF IF I-INT(I/7)*7=0 THEN G=G+I ELSEIF I-INT(I/17)*17=0 THEN H=H+I ELSEIF I-INT(I/27)*27=0 THEN J=J+I ELSEIF I-INT(I/37)*37=0 THEN K=K+I...
Page 60
SIZE 3,4 GAP 0,0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF A=50 C$="" D$="" IF A>100 THEN GOTO L1 ELSE A=A+10 C$=STR$(A)+" IS SMALLER THAN 100" TEXT 100,10,"4",0,1,1,C$ PRINT 1 A=A+B D$=STR$(A)+" IS LARGER THAN 100" TEXT 100,100,"4",0,1,1,D$ PRINT 1 GOTO L1...
GOSUB…RETURN Description Branch to and return from a subroutine. Branch to the specified label and execute subroutines until “RETURN” is reached and then go back to the statement following the GOSUB statement. Syntax GOSUB LABEL statement :LABEL statement RETURN Parameter Description LABEL Beginning of the subroutine.
GOTO Description This command is used to branch to a specified label. The label cannot exceed 8 characters in length. Syntax GOTO LABEL :LABEL Parameter Description None Example DOWNLOAD "GOTO1.BAS" SIZE 3,3 GAP 0.08,0 DENSITY 8 SPEED 4 DIRECTION 1 REFERENCE 0,0 SET PEEL OFF TOTAL=0...
Description Comment. Prefix is “REM” that will be ignored by the printer. Syntax Example REM ******************************** REM This is a demonstration program* REM ******************************** DOWNLOAD "REMARK.BAS" SIZE 3,3 GAP 0.08,0 DENSITY 8 SPEED 4 DIRECTION 1 REFERENCE 0,0 SET PEEL OFF TEXT 50,50,"3",0,1,1,"REMARK DEMO PROGRAM"...
INT( ) Description This function is used to truncate a floating point number. Syntax INT (n) Parameter Description n can be positive or negative integer, floating point number or mathematical expression. Example DOWNLOAD "DEMO.BAS" SIZE 3,2 GAP 0,0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0,0...
LEFT$( ) Description This function returns the specified number of characters down from the initial character of a string. Syntax LEFT$ (X$, n) Parameter Description The string to be processed The number of characters to be returned Example DOWNLOAD "STR1.BAS" SIZE 3.00,3.00 GAP 0.08,0.00 SPEED 4.0...
LEN( ) Description This function returns the length of a string. Syntax LEN (string) Parameter Description string The string whose length is to be measured. Example DOWNLOAD "DEMO.BAS" SIZE 3.00,3.00 GAP 0.08,0.00 SPEED 4.0 DENSITY 8 DIRECTION 0 REFERENCE 0,0 A$="TAIWAN SEMICONDUCTOR CO., LTD"...
MID$( ) Description This function is used to get the specified number of characters down from the mth character of a string. Syntax MID$(string, m, n) Parameter Description string The string to be processed. The beginning of mth characters in the string. 1 <= m <= string length The number of characters to return.
RIGHT$( ) Description This function returns the specified number of characters up from the end of a string. Syntax RIGHT$ (X$, n) Parameter Description The string to be processed The number of characters to be returned from the right side (end) of the string Example DOWNLOAD "DEMO.BAS"...
STR$( ) Description This function converts a specified value or expression into corresponding string of characters. Syntax STR$ (n) Parameter Description An integer, floating point number or mathematical expression Example DOWNLOAD "DEMO.BAS" SIZE 3.00,3.00 GAP 0,0.00 SPEED 4.0 DENSITY 8 DIRECTION 0 REFERENCE 0,0 A$="TAIWAN SEMICONDUCTOR CO., LTD"...
VAL( ) Description This function is used to convert numeric character into corresponding integer or floating point number. Syntax VAL (“numeric character”) Parameter Description “0~9”, “.” numeric character Example DOWNLOAD "DEMO.BAS" SIZE 3.00,3.00 GAP 0.00,0.00 SPEED 4.0 DENSITY 8 DIRECTION 0 REFERENCE 0,0 A$="TAIWAN SEMICONDUCTOR CO., LTD"...
BEEP Description This command is used to issue a beep sound on portable keyboard. Syntax BEEP Parameter Description None Example DOWNLOAD “DEMO.BAS” SIZE 3,4 GAP 0,0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF BEEP INPUT “Text1 =”,TEXT1$ TEXT 100,100,”3”,0,1,1,TEXT1$ PRINT 1 THERMAL BARCODE PRINTER SERIES...
Device Reconfiguration Commands SET COUNTER Description Counter can be a real counter or a variable. This setting sets the counter number in program and their increments. There are three different kind of counters: digit (0~9~0), lower case letter (a~z~a) and upper case letter (A~Z~A). Syntax SET COUNTER @n step @n = “Expression”...
SET KEY1, SET KEY2 Description This setting is used to enable/disable the KEY1/KEY2 function. The default function of KEY1 is “FEED” key, KEY2 is “PAUSE” key .Before setting KEY1 /KEY2 function otherwise, please disable KEY1/KEY2 first. The setting will remain resident in the printer even when the printer is power off.
SET KEY1 ON SET KEY2 ON ENDIF GOTO START DEMO See Also OFFEST, PRINT SET PEEL Description This setting is used to enable/disable the self-peeling function. The default setting for this function is off. When this function is set on, the printer stops after each label printing, and does not print the next label until the peeled label is taken away.
SET TEAR & SET STRIPPER Description This command is used to enable/disable feeding label to gap/black mark position for tearing off. This setting will be saved in printer memory when turning off the power. Syntax SET TEAR ON/OFF Parameter Description The label gap will stop at the tear off position after print.
Parameter Description Turn on the “HEAD OPEN” sensor Turn off the “HEAD OPEN” sensor Example SET HEAD ON SET HEAD OFF SET COM1 Description This setting defines communication parameters for printer serial port. Syntax SET COM1 baud, parity, data, stop Parameter Description baud...
SET PRINTKEY Description This command will print one label and feed label gap to tear bar position for tearing away. Press FEED button to print the next label or batch of labels. If label content includes serial text or barcode, it will change the serial number accordingly.
Page 78
Execute: Receive “PRINT m” Syntax Print Out 1.) PRINT 2 Label 1~2 SET PRINTKEY ON or SET PRINTKEY AUTO 2.) Press FEED key Label 3~4 Receive “PRINT m,n” Syntax Print Out 1.) PRINT 1,2 Label 1, Label 1 SET PRINTKEY ON or SET PRINTKEY AUTO 2.) Press FEED key Label 2, Label 2...
SET REPRINT Description This command will disable/enable reprint the label when the “no paper” or “no ribbon” or “carriage open” error is occurred. Syntax SET REPRINT OFF/ON Parameter Description Disable this function Enable this function Example SET REPRINT ON PEEL Description This command is used to obtain status of the peel-off sensor.
KEY1, KEY2 Description This command is used to read the status of KEY1 ,KEY2 . Syntax KEYm=n Return Value KEY1 (FEED) 0: released 1: pressed KEY2 (PAUSE) 0: released 1: pressed Example DOWNLOAD "DEMO.BAS" SIZE 3,1 GAP 0,0 SPEED 4 DENSITY 8 DIRECTION 1 REFERENCE 0,0...
Printer Global Variables @LABEL Description This variable is used to count how many pieces of labels have been printed. It can’t be initialized if the printer is reset. It will be memorized if the printer power is turned off. Syntax Write attribute: @LABEL=n or @LABEL=”n”...
Need help?
Do you have a question about the GP-2120T and is the answer not in the manual?
Questions and answers