Rongta Technology RP400 Instruction Manual

Rongta Technology RP400 Instruction Manual

Thermal transfer barcodeprinter

Advertisement

Thermal Transfer Barcode Printer
RP400\RP500 Command Set
Ro n g t a Te ch n o l o g y (X i a m e n ) Gr o u p Co . , Lt d.
www.rongtatech.com
V1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RP400 and is the answer not in the manual?

Questions and answers

Summary of Contents for Rongta Technology RP400

  • Page 1 Thermal Transfer Barcode Printer RP400\RP500 Command Set Ro n g t a Te ch n o l o g y (X i a m e n ) Gr o u p Co . , Lt d. www.rongtatech.com V1.0...
  • Page 2: Table Of Contents

    Command Set Table of Contents Document Conventions...................4 Setup and System Commands................4 SIZE..............................4 GAP..............................5 BLINE..............................6 OFFSET............................. 8 SPEED............................... 9 DENSITY............................9 DIRECTION............................ 10 REFERENCE..........................10 CODEPAGE............................11 CLS..............................12 FEED..............................12 BACKFEED.............................13 FORMFEED............................ 13 HOME.............................. 14 PRINT.............................. 14 SOUND............................15 LIMITFEED............................16 SELFTEST............................17 Label Formatting Commands................
  • Page 3 Command Set ~!@ ..........................33 ~!A..............................33 ~!C..............................34 ~!D..............................34 ~!F..............................34 ~!I..............................35 ~!T..............................35 FileManagement Commands................35 DOWNLOAD............................35 EOP..............................38 FILES..............................39 KILL..............................39 MOVE............................... 40 RUN..............................40 BASIC Commands and Functions..............41 ABS( )............................... 41 ASC( )............................... 41 CHR$( )............................42 END..............................42 EOF( )...............................
  • Page 4 Command Set MID$( )..............................56 RIGHT$( )............................57 STR$( )............................57 VAL( )............................... 58 BEEP..............................59 Device Reconfiguration Commands..............59 SET COUNTER..........................59 SET KEY1, SET KEY2........................60 SET PEEL............................61 SET TEAR............................62 SET HEAD............................63 SET RIBBON..........................63 SET COM1............................64 SET PRINTKEY..........................65 SET REPRINT..........................
  • Page 5: Document Conventions

    Command Set Document Conventions his manual uses the following typographic conventions. Convention Description [expression list] Items inside square brackets are optional, expression maximum length 2*1024bytes. <ESC> ASCII 27, control code of status polling command returns/runs the printerstatus immediately. ASCII 126, control code of status polling command returns the printer statusonly when the printer is ready.
  • Page 6: Gap

    Command Set LABEL m:Label Width n: Label Height [See Also] GAP,BLINE [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 1(inch), 0 25.4 (mm)
  • Page 7: Bline

    Command Set Special gap (1).English system (inch) GAP 0.30,0.10 (2).Metric system (mm) GAP 7.62 mm, 2.54 mm Feed Direction Sensor poit [See Also] SIZE,BLINE BLINE [Description] This command sets the height of the black line and the user-defined extra label feeding length each form feed takes. [Syntax] (1)English system (inch) BLINE m,n...
  • Page 8 Command Set (2))Metric system (mm) BLINE m mm,n mn Parameter Description The height of black line either in inch or mm 0 ≤ m ≤ 1 (inch), 0 ≤ m ≤ 25.4 (mm) The extra label feeding length 0 ≤ n ≤ label length Continuous label Note: For metric system, there must be a space between parameter and mm.
  • Page 9: Offset

    Command Set OFFSET [Description] This command defines the selective, extra label feeding length each form feed takes, which, especially in peel-off mode cutter mode , is used to adjust label stop position, so as for label to register at proper places for the intended purposes. The printer back tracks the extra feeding length before the next run of printing.
  • Page 10: Speed

    Command Set SPEED [Description] This command defines the print speed. [Syntax] SPEED n Parameter Description printing speed in inch per second [Example] SPEED 4 [See Also] DENSITY DENSITY [Description] This command sets the printing darkness. [Syntax] DENSITY n Parameter Description 0~15 0, specifies the lightest level 15, specifies the darkest level...
  • Page 11: Reference

    Command Set DIRECTION 0,0 DIRECTION 1,0 Feed Direction 123456 ABCDEF TEST PRINT Feed Direction REFERENCE [Description] This command defines the reference point of the label. The reference (origin) point varies with the print direction, as shown: Reference x,y Direction 1 Reference x,y Direction 0 Feed direction...
  • Page 12: Codepage

    Command Set [See Also] DIRECTION 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. 437: United States 850: Multilingual 852: Slavic 860: Portuguese 863: Canadian/French...
  • Page 13: Backfeed 40

    Command Set Unit: dot 9999 [Example] FEED 40 Note: 200 DPI: 1 mm = 8 dots 300 DPI: 1 mm = 12 dots BLINE, HOME, FORMFEED [See Also] BACKFEED, SIZE, GAP, BACKFEED &BACKUP This command feeds the label in reverse [Description] [Syntax] BACKFEED n...
  • Page 14: Home

    Command Set BOX 1,1,360,65,12 TEXT 25,25,"3",0,1,1,"FORMFEED COMMAND TEST" TEXT 25,80,"3",0,1,1,@0 PRINT 3,1 FEED, SIZE, GAP, BLINE, HOME, FORMFEED [See Also] HOME [Description] This command will feed label until the internal sensor has determined the origin. Size and gap of the label should be defined before using this command.
  • Page 15: Sound

    Command Set TEXT 10,10,”3”,0,1,1,@1 PRINT 3,2 [See Also] SET COUNTER, INPUT, DOWNLOAD 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”...
  • Page 16: Selftest

    Command Set 3、For metric system, there must be a space between parameter n and mm. SELFTEST [Description] At this command, the printer will print out the printer information. [Syntax] SELFTEST [Example] SELFTEST Label Formatting Commands [Description] This command draws a bar on the label format. [Syntax] BAR x, y, width, height Parameter...
  • Page 17: Barcode

    Command Set BARCODE This command prints 1D barcodes [Description] The available barcodes are listed below: Code 128  Code 128M  EAN 128  Interleaved 2 of 5  Interleaved 2 of 5 with check digit  Code 39 standard ...
  • Page 18 Command Set FNC2 FNC2 NONE SHIFT SHIFT NONE CODE C CODE NONE CODE FNC4 CODE FNC4 CODE CODE 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. If the start subset is not set, the default starting subset is B.
  • Page 19 Command Set rotate 180 degrees clockwise rotate 270 degrees clockwise Narrow Wide Width of narrow element (in dots) Width of wide element (indots) narrow:wide narrow: wide narrow: wide narrow: wide EAN128 EAN13 EAN13+2 EAN13+5 EAN8 EAN8+2 EAN8+5 CODA POST UPCA UPCA+2 UPCA+5 UPCE...
  • Page 20: Bitmap

    Command Set — UPCA+5 — UPCE — UPCE+2 — UPCE+5 — EAN13 CPOST — EAN13+2 — EAN13+5 MSIC — EAN8 PLESSY EAN8+2 ITF14 EAN8+5 EAN14 — CODA [Example] BARCODE 100,100,”39”,96,1,0,2,4,”1000” BARCODE 10,10,”128M”,48,1,0,2,2,”!104!096ABCD!101EFGH” (The above example of code 128M encoded with CODE B start character.
  • Page 21 Command Set L-Byte R-Byte (Y- axis) Binary Hexadecimal Binary Hexadecimal 00000000 00000000 00000000 00000000 00000000 00000000 00000111 11111111 00000011 11111111 00010001 11111111 00011000 11111111 00011100 01111111 00011110 00111111 00011111 00011111 00011111 10001111 00011111 11000111 00011111 11100011 00011111 11110111 00011111 11111111 00011111 11111111 [Example]...
  • Page 22: Box

    Command Set Hexadecimal ASCII 53 49 5A 45 20 34 2C 32 0D 0A 47 SIZE 4,2 41 50 20 GAP 0,0 30 2C 30 0D 0A 43 4C 53 0D 0A 42 49 54 4D BITMAP 200,200,2,16,0 41 50 20 32 30 30 2C 32 30 30 2C ???? 32 2C 31 PRINT 1,1...
  • Page 23: Erase

    Command Set ERASE [Description] This command clear a specified region in image buffer. [Syntax] ERASE X_start, Y_start, X_width, Y_height Parameter Description The x-coordinate of the starting point (in X_start dots) Y_start The y-coordinate of the starting point (in dots) X_width The region width in x-axis direction (in dots) The region height in y-axis direction (in dots) Y_height...
  • Page 24: Putpcx

    Command Set Optional. Bits per pixel of grayscale graphic. Default is 1. *Since V6.91EZ. 1: 1-bit (monochrome) graphic 8: 8-bit (256-color) graphic contrast Optional. Contrast of grayscale graphic. Default is 80. Suggested range is from 60 to 100. *Since V6.91EZ. [Example] [See Also] DOWNLOAD, BITMAP, PUTPCX...
  • Page 25 Command Set [Example] [See Also] DOWNLOAD, BITMAP, PUTPCX...
  • Page 26: Qrcode

    Command Set QRCODE [Description] This command prints QR code. [Syntax] QRCODE X, Y, ECC Level, cell width, mode, rotation, *model, mask,+"Data string” Parameter Description The upper left corner x-coordinate of the QR code The upper left corner y-coordinate of the QR code ECC level Error correction recovery level...
  • Page 27 Command Set content The encodable character set is described as below, Encodable character set: 1) Numeric data: (digits 0~9) 2) Alphanumeric data Digits 0-9 Upper case letters A-Z Nine other characters: space, $ % * + - . / : ) 3) 8-bit byte data JIS 8-bit character set (Latin and Kana) in accordance with JIS X 0201...
  • Page 28 Command Set *If "N" is the first character in the data string, then the following data after "N" is numeric data. *If "B" is the first character in the data string, then the following 4 digits after "B" is used to specify numbers of data. After the 4 digits is the number of bytes of binary data to be encoded.
  • Page 29 Command Set GAP 0.12,0 QRCODE 10,10,H,4,A,0,"ABC<Enter> abc<Enter> 123" QRCODE 160,160,H,4,A,0,"123<Enter> ABC<Enter> abc" QRCODE 310,310,H,4,A,0,"打印机<Enter> ABC<Enter> abc<Enter> 123" PRINT 1,1 c..Data string concatenation (Must be used with DOWNLOAD EOP command) DOWNLOAD “DEMO.BAS” SIZE 4,2.5 CAP 0.12,0 QRCODE 10,10,H,4,A,0,"ABCabc123"+STR$(1234) QRCODE 160,160,H,4,A,0,"123ABCabc"+"1234" QRCODE 310,310,H,4,A,0,"打印机ABCabc123"+"1234"+"abcd" PRINT 1,1 DEMO d.Data string including double quote (“) character, please use \["] instead of...
  • Page 30: Reverse

    Command Set SIZE 4,2.5 CAP 0.12,0 QRCODE 10,10,H,4,M,0,"AABC!B0006abc123!N"+STR$(1234) QRCODE 160,160,H,4,M,0,"N123!AABC!B0007abc"+"1234" QRCODE 310,310,H,4,M,0,"K 打印机!AABC!B0014abc123"+"1234"+"abcd" PRINT 1,1 d. Data string including double quote (“) character, please use \["] instead of SIZE 4,2.5 CAP 0.12,0 QRCODE 10,10,H,4,M,0,"AABC!B0005\["]abc\["]!N123" QRCODE 160,160,H,4,M,0,"N123!B0001\["]!AABC!B0004\["]abc" QRCODE 310,310,H,4,M,0,"B0001\["]!K 打印机!B0010\["]ABCabc123" PRINT 1,1 REVERSE This command reverses a region in image buffer.
  • Page 31: Text

    Command Set TEXT [Description] This command 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 Font name font 8 x 12fixed pitch dot font 12 x 20fixed pitch dot font 16 x 24 fixed pitch dot font 24 x 32fixed pitch dot font...
  • Page 32 Command Set GAP 0,0 TEXT 100,100,"5",0,1,1,"\["]DEMO FOR TEXT\["]" TEXT 100,200,"ROMAN.TTF",0,1,20,"\["]True Type Font Test Print\["]" PRINT 1,1 [Example] 2: DOWNLOAD F,"test.BAS" SPEED 4 DENSITY 8 SET PEEL OFF DIRECTION 0 SIZE 1.000,0.800 GAP 0.12,0.00 OFFSET 0.000 REFERENCE 0,0 :START INPUT "Description",A$ Again: F$=""...
  • Page 33: Status Polling Commands(Rs-232)

    Command Set SWidth=Z*(XM*4) X=101-((WWidth+SWidth)/2) ENDIF TEXT X,116,F$,0,XM,YM,A$ PRINT GOTO START Status Polling Commands <ESC>!? [Description] This command obtains the printer status at any time, even in the event of printer error. An inquiry request is solicited by sending an <ESC> (ASCII 27, escape character) as the beginning control character to the printer.
  • Page 34 Command Set <ESC>!R [Description] This command resets the printer. The beginning of the command is an ESCAPE character (ASCII 27).The files downloaded in memory will be deleted. This command cannot be sent in dump mode. [Syntax] <ESC>! R Parameter Description [See Also] <ESC>! ? [Description] This command inquire the mileage of the printer.
  • Page 35 Command Set [Description] This command inquires the presence of Real Time Clock. One byte is return from the printer, indicating whether or not the RTC is installed. [Syntax] Return value Description RTC is not installed. RTC is installed. [Example] [Description] This command enters the printer into DUMP mode.
  • Page 36: Filemanagement Commands

    Command Set [Example] [See Also] FILES [Description] The command inquires the code page and country setting of the printer. Data through RS-232 Example:8 bit : 437,001 Regarding the code pages supported by the printer, please refer to the CODEPAGE command [Syntax] [Example] [See Also]...
  • Page 37 Command Set Specify the memory which is used to save the download files. Download files to DRAM only. n is ignored F: Download files to main board flash memory. FILENAME.BAS The filename resident in printer memory. Note: (1). Filenames are case sensitive. (2).
  • Page 38: Eop

    Command Set DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF TEXT 100,100,”3”,0,1,1,”EXAMPLE PROGRAM” PRINT 1 Note: When writing a download program, “DOWNLOAD” header must be placed in the beginning of file, and “EOP” must be placed at the end of program. To run the program, call the main filename without BAS extension or use RUN command to start the download program.
  • Page 39: Files

    Command Set TEXT 100,100,”3”,0,1,1,”DEMO PROGRAM” PRINT 1 DOWNLOAD, EOP [See Also] FILES [Description] This command prints out the total memory size, available memory size and files lists (or lists the files through RS-232) in the printer memory (both FLASH memory and DRAM). [Syntax] FILES [Example]...
  • Page 40: Move

    Command Set Note: (1). If optional parameter n is not specified, firmware will delete the file in DRAM. Syntax example 1. KILL “FILENAME” 2. KILL “*.PCX” 3. KILL “*” 4. KILL F,“FILENAME” [Example] Users can use printer SELFTEST utility to list printer configurations and files saved in the printer memory, or use the FILES command to print the downloaded file list in printer.
  • Page 41: Basic Commands And Functions

    Command Set [Syntax] RUN “FILENAME.BAS” Example] C:\>COPY CON LPT1<ENTER> RUN “DEMO.BAS”<ENTER> <CTRL><Z><ENTER> C:\> Note: <ENTER> stands for PC keyboard “ENTER” key. <CTRL><Z> means to hold PC keyboard “CTRL” key then press the PC keyboard <Z> key [See Also] DOWNLOAD, EOP BASIC Commands and Functions ABS( ) [Description]...
  • Page 42: Chr$( )

    Command Set SIZE 4,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$() CHR$( ) This function returns the character with the specified [Description] ASCII code. [Syntax] CHR$(n) Parameter Description...
  • Page 43: Eof( )

    Command Set 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 RETURN DEMO [See Also] DOWNLOAD, EOP, EOF( ) [Description] This function is used to detect an opened download file to see whether it has reached the end of file.
  • Page 44: Open

    Command Set BARCODE 10,Y+25,"39",40,1,0,2,4,"PRICE-"+STR$(P) Y=Y+100 IF EOF(0)=0 THEN GOTO A PRINT 1 DEMO [See Also] DOWNLOAD, EOP, OPEN, READ, SEEK OPEN [Description] This command opens a downloaded file and establishes the file handle. Up to two file handles are supported, thus only up to two files can be opened simultaneously.
  • Page 45: Read

    Command Set If a file by name of “DEMO.BAS is to be downloaded, the file format contains: DOWNLOAD "DEMO.BAS" SIZE 3,1 GAP 0,0 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$=""...
  • Page 46: Seek

    Command Set variables string, integer or float point variable [Example] DOWNLOAD "DATA1",20,COMPUTER 2000 DOWNLOAD "DATA2",16,Mouse DOWNLOAD "DEMO.BAS" SIZE 3,1 GAP 0,0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF Y=100 OPEN "DATA1",0 OPEN "DATA2",1 SEEK 0,0 SEEK 1,0 :Start TEXT 10,10,"3",0,1,1,"*****READ COMMAND TEST*****"...
  • Page 47: Lof( )

    Command Set position. [Syntax] SEEK file handle, offset Parameter Description File handle 0 or 1. offset the offset characters which are shifted to a new position [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...
  • Page 48: Fread$( )

    Command Set DIRECTION 0 REFERENCE 0,0 SET PEEL OFF OPEN "DATA1",0 OPEN "DATA2",1 TEXT 10,20,"4",0,1,1,"LOF() FUNCTION TEST" J=LOF("DATA1") K=LOF("DATA2") TEXT 10,140,"3",0,1,1,"DATA1 IS: "+STR$(J)+" Bytes" TEXT 10,200,"3",0,1,1,"DATA2 IS: "+STR$(K)+" Bytes" PRINT 1 LofTest [See Also] DOWNLOAD, EOP, OPEN, READ, EOF, SEEK, FREAD$() FREAD$( ) [Description]...
  • Page 49: For

    Command Set FOR…NEXT LOOP [Description] Loop is used to execute one or more lines of program repetitively. A loop counter value specifies the number of executions. Nested loops are allowed (up to 39 nested loops) in this printer. Jumping out in the middle of the FOR…NEXT loop is prohibited.
  • Page 50 Command Set Notice that the single-line form of IF …THEN does not use an ENDIF statement. IF condition THEN Statements ENDIF IF condition THEN Statements ELSE Statements ENDIF IF condition 1 THEN Statement block 1 ELSEIF condition 2 THEN Statement block 2 ......
  • Page 51 Command Set 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 ELSE...
  • Page 52: Gosub

    Command Set A=A+B D$=STR$(A)+" IS LARGER THAN 100" TEXT 100,100,"4",0,1,1,D$ PRINT 1 GOTO L1 Note: If the result of the expression is nonzero, the statement following THEN will be executed. If the result of the expression is zero, and the statement following the ELSE is present, it will be executed.Otherwise the next line of statement is executed.
  • Page 53: Goto

    Command Set GOSUB1 [See Also] DOWNLOAD, EOP, END, GOTO GOTO [Description] This command is used to branch to a specified label. The label can not exceed 8 characters in length. [Syntax] GOTO LABEL :LABEL Statement [Example] DOWNLOAD "GOTO1.BAS" SIZE 3,3 GAP 0.08,0 DENSITY 8 SPEED 4...
  • Page 54: Int( )

    Command Set 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" REM TEXT 50,100,"3",0,1,1,"REMARK DEMO PROGRAM" PRINT 1,1 [See Also] DOWNLOAD, EOP, END INT( )
  • Page 55: Left$( )

    Command Set 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"...
  • Page 56: Mid$( )

    Command Set TEXT 10,50,"3",0,1,1,"STRING LENGTH="+STR$(B) PRINT 1 [See Also] DOWNLOAD, EOP, END, LEFT$(), LEN(), RIGHT$(), MID$(), STR$(), VAL() MID$( ) This function retrieves the specified number of characters [Description] down from the mth character of a string. [Syntax] MID$(string, m, n) Parameter Description string...
  • Page 57 Command Set [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" D$=RIGHT$(A$,10) TEXT 10,10,"3",0,1,1,A$ TEXT 10,150,"3",0,1,1,"10 RIGHT CHARS: "+D$ PRINT 1 [See Also] DOWNLOAD, EOP, END, LEFT$(), LEN(), MID$(), STR$(), VAL() STR$( ) [Description] This function converts a specified value or expression into...
  • Page 58: Beep

    Command Set VAL( ) This function converts numeric characters into [Description] corresponding integer or floating point number. [Syntax] VAL(“numeric character”) Parameter Description numeric character “0~9”, “.” [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"...
  • Page 59: Device Reconfiguration Commands

    Command Set SPEED 6 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF BEEP INPUT “Text1 =”,TEXT1$ TEXT 100,100,”3”,0,1,1,TEXT1$ PRIN Device Reconfiguration Commands SET COUNTER Counters can be a real counter or a variable. This setting [Description] sets the counter number in the program and its increments.
  • Page 60: Set Key1, Set Key2

    Command Set @1="00001" SET COUNTER @2 5 @2="AB000001" TEXT 50,50,"3",0,1,1,@1 BARCODE 50,100,"39",48,1,0,2,4,@2 PRINT 2,1 [See Also] PRINT, TEXT, BARCODE SET KEY1, SET KEY2 [Description] This setting is used to enable/disable KEY1/KEY2function.The default function of KEY1 is “FEED” key, KEY2 is “PAUSE” key. Before setting KEY1/KEY2function otherwise, please disable KEY1/KEY2first.
  • Page 61: Set Peel

    Command Set 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.
  • Page 62: Set Head

    Command Set This setting will be saved in printer memory when turning off the power. [Syntax] SET TEARON/OFF Parameter Description The label gap will stop at the tear off position after print. The label gap will NOT stop at the tear off position after print.
  • Page 63: Set Com1

    Command Set Parameter Description Thermal transfer printing Thermal direct printing [Example] REM ***Direct printing**** SIZE 4,4 GAP 0,0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0,0 SET PEEL OFF SET RIBBON OFF BARCODE 100,100,"39",48,1,0,2,5,"CODE 39” PRINT 1 SET COM1 [Description] This setting defines communication parameters for printer serial port.
  • Page 64 Command Set SET COM1 19,N,8,1<ENTER> <CTRL><Z><ENTER> C:\> Note: <ENTER> stands for PC keyboard “ENTER” key. <CTRL><Z> means to hold PC keyboard “CTRL” key then press PC keyboard <Z> key.
  • Page 65: Set Printkey

    Command Set 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 66: Set Reprint

    Command Set 1.) PRINT 1,2 Label 1, Label 1 SET PRINTKEY 5 2.) Press FEED key Label 2~6 Syntax Receive “PRINT -1,n” Print Out 1.) PRINT -1,2 Label 1, Label 1 SET PRINTKEY 5 2.) Press FEED key Label 1, Label 1 SET REPRINT [Description] This command will disable/enable a reprinting attempt subsequent to...
  • Page 67: Key1, Key2

    Command Set IF PEEL=1 THEN GOTO B ELSE TEXT 10,10,"3",0,1,1,"The label is removed from the PEEL sensor!!" PRINT 1,1 GOTO START ENDIF DEMO KEY1, KEY2 [Description] This command read the status of KEY1,KEY2 . [Syntax] KEY m=n Return Value KEY1 (FEED) 0: released 1: pressed KEY2(PAUSE)
  • Page 68: Printer Global Variables

    Command Set Printer Global Variables @LABEL This variable counts how many pieces of labels have been printed. [Description] This attribute cannot be initialized if the printer is reset, but will be retained if the printer power is turned off. [Syntax] Write attribute: @LABEL=n or @LABEL=”n”...
  • Page 69 Command Set Warning: The contents of this Manual shall not be changed at will without consent. Rongta Technology (Xiamen) Group Co., Ltd reserves the right to change the product in terms of technologies, parts, software and hardware. Please contact the dealer for further information of the product.

This manual is also suitable for:

Rp500

Table of Contents

Save PDF