background image

 

Wasp Technologies.                   

38                    Copyright 2001 All Rights Reserved. 

 

QRCODE 10,10,H,4,M,0,"AABC!B0007<Enter>

 

abc<Enter>

 

!N123" 
QRCODE 160,160,H,4,M,0,"N123!B0002<Enter>

 

!AABC!B0005<Enter>

 

abc" 
QRCODE 310,310,H,4,M,0,"K

印表機

!B0002<Enter>

 

!AABC!B0010<Enter>

 

abc<Enter>

 

123"

 

PRINT 1,1 

c.  Data string concatenation (Must be used with DOWNLOAD ... EOP command) 

SIZE 4,2.5 
CAP 0.12,0 
CLS

 

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

 

 

e.  Data string including double quote (“) character, please use ¥["] instead of   

SIZE 4,2.5 
CAP 0.12,0 
CLS

 

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

 

 

Содержание WPL305

Страница 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...

Страница 2: ...Revise History Date Description Remark 2003 09 19 1 BASIC functions are added to WPL2 2 Supported code page update 2004 5 21 QR code is supported...

Страница 3: ...KFEED 14 FORMFEED 15 HOME 16 PRINT 17 CUT 18 LABEL FORMATTING COMMANDS 19 CLS 19 BAR 20 ERASE 21 REVERSE 22 BOX 23 BITMAP 24 PUTBMP 25 PUTPCX 26 BARCODE 27 DMATRIX 31 MAXICODE 32 PDF417 34 QRCODE 35 T...

Страница 4: ...LOF 67 FREAD 68 FOR NEXT 69 GOSUB RETURN 73 GOTO 75 INP 76 INPUT 77 REM 78 OUT 79 GETKEY 80 INT 81 LEFT 82 LEN 83 MID 84 RIGHT 85 STR 86 VAL 87 DEVICE RECONFIGURATION COMMANDS 88 SET COUNTER 88 SET CU...

Страница 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...

Страница 6: ...code of status polling command which returns the printer status only when the printer is ready Space Tab ASCII 32 ASCII 9 characters will be ignored in the command line ASCII 34 beginning and ending o...

Страница 7: ...ch SIZE m n 2 Metric system mm SIZE m mm n mm Parameter Description m Label width inch or mm n Label length inch or mm Note 200 DPI 1 mm 8 dots 300 DPI 1mm 12 dots For metric system there must be a sp...

Страница 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...

Страница 9: ...nch GAP m n 2 Metric system mm GAP m mm n mm Parameter Description m The gap distance between two labels 0 m 1 inch 0 m 25 4 mm n The offset distance of the gap n label length inch or mm Note For metr...

Страница 10: ...Wasp Technologies 4 Copyright 2001 All Rights Reserved Special gap 1 English system inch GAP 0 30 0 10 2 Metric system mm GAP 7 62 mm 2 54 mm See Also SIZE BLINE...

Страница 11: ...Syntax 1 English system inch BLINE m n 2 Metric system mm BLINE m mm n mm Parameter Description m The height of black line either in inch or mm 0 1 m 1 inch 2 54 m 25 4 mm n The extra label feeding l...

Страница 12: ...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 Syntax 1 English system inch OFFSET m 2 Metric syste...

Страница 13: ...l Rights Reserved SPEED Description This command defines the print speed Syntax SPEED n Parameter Description n printing speed in inch per second N 1 1 5 2 3 4 5 6 8 10 12 WPL606 x x x x x WPL305 x x...

Страница 14: ...All Rights Reserved DENSITY Description This command designates the level of darkness of printing Syntax DENSITY n Parameter Description n 0 specifies the lightest level 15 specifies the darkest level...

Страница 15: ...ight 2001 All Rights Reserved DIRECTION Description This command defines the printout direction Syntax DIRECTION n Parameter Description n 0 or 1 Please refer to the illustrations below Example DIRECT...

Страница 16: ...ce point of the label The reference origin point varies with the print direction as shown Syntax REFERENCE x y Parameter Description x Horizontal coordinate with dot as the unit y Vertical coordinate...

Страница 17: ...t countries Syntax COUNTRY n Parameter Description n 001 USA 002 Canadian French 003 Spanish Latin America 031 Dutch 032 Belgian 033 French France 034 Spanish Spain 036 Hungarian 038 Yugoslavian 039 I...

Страница 18: ...nto 7 bit code page and 8 bit code page further 7 bit code page name USA USA BRI British GER German FRE French DAN Danish ITA Italian SPA Spanish SWE Swedish SWI Swiss 8 bit code page number 437 Unite...

Страница 19: ...ed FEED Description This command feeds label with the specified length The length is specified by dot Syntax FEED n Parameter Description n unit dot 1 n 9999 Example FEED 40 Note 200 DPI 1 mm 8 dots 3...

Страница 20: ...ed label with the specified length The length is specified by dot Syntax BACKFEED n Parameter Description n unit dot 1 n 9999 Example BACKFEED 40 CAUTION Impropriety back feed value may cause paper ja...

Страница 21: ...gies 15 Copyright 2001 All Rights Reserved FORMFEED Description This command feeds label to the beginning of next label Syntax FORMFEED Parameter Description None N A Example FORMFEED See Also FEED SI...

Страница 22: ...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 of the label should be...

Страница 23: ...n Parameter Description m 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 n Specifies how many copies should be printed fo...

Страница 24: ...yright 2001 All Rights Reserved CUT Description At this command the printer will activate the cutter to cut the labels immediately without back feeding the label Syntax CUT Parameter Description None...

Страница 25: ...001 All Rights Reserved Label Formatting Commands CLS Description This command clears the image buffer Syntax CLS Parameter Description None N A Note This command must be placed after SIZE command Exa...

Страница 26: ...left corner y coordinate in dot width The width of bar in dot height The height of bar in dot Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Recommended max bar height is 12mm at 4 width Bar height ove...

Страница 27: ...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 regio...

Страница 28: ...oint in dot X_width The region width in x axis direction in dot Y_height The region height in y axis direction in dot Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Recommended max height of reversed b...

Страница 29: ...cify x coordinate of lower right corner in dot Y_end Specify y coordinate of lower right corner in dot line thickness Line thickness of the box in dot Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Rec...

Страница 30: ...eight mode bitmap data Parameter Description X Specify the x coordinate of the bitmap image Y Specify the y coordinate of the bitmap image width The width of the image in bytes height The height of th...

Страница 31: ...filename Parameter Description X The x coordinate of the BMP format image Y The y coordinate of the BMP format image filename The downloaded BMP filename Case sensitive Note Recommend two color format...

Страница 32: ...PUTPCX X Y filename Parameter Description X The x coordinate of the PCX image Y The y coordinate of the PCX image filename The downloaded PCX filename Case sensitive Note Recommend two color format b...

Страница 33: ...set manually EAN 128 switching code subset automatically Interleaved 2 of 5 Interleaved 2 of 5 with check digit Code 39 Code 39 with check digit Code 93 EAN 13 EAN 13 with 2 digits add on EAN 13 with...

Страница 34: ...ONE 100 CODE B FNC4 CODE B 101 FNC4 CODE A CODE A 102 FNC1 FNC1 FNC1 103 Start CODE A 104 Start CODE B 105 Start CODE C Use as a starting character for the control code followed by three control codes...

Страница 35: ...adable rotation Rotate bar code clockwise in degrees 0 non rotation 90 rotate 90 degrees clockwise 180 rotate 180 degrees clockwise 270 rotate 270 degrees clockwise narrow width of narrow element in d...

Страница 36: ...EAN 8 7 EAN 8 2 9 EAN 8 5 12 CODA POST UPCA 11 UPCA 2 13 UPCA 5 16 UPCE 6 UPCE 2 8 UPCE 5 11 CPOST MSI PLESSY ITF14 13 EAN14 13 Example BARCODE 100 100 39 96 1 0 2 4 1000 BARCODE 10 10 128M 48 1 0 2 2...

Страница 37: ...y Syntax DMATRIX x y width height Xm Lm expression Parameter Description x Horizontal start position in dot y Vertical start position in dot width The expected width of barcode area in dot height The...

Страница 38: ...3 in the spec Note Mode 6 is not supported in WPL303 WPL305 Printers firmware Parameter Description x X coordinate of the staring point in dot y Y coordinate of the starting point in dot mode 2 3 4 5...

Страница 39: ...CHARACTER CODE SET A MESSAGE THAT FILLS A MODE 4 UNAPPENDED MAXICODE SYMBOL BOX 424 16 700 60 2 DIRECTION 0 PRINT 1 REM MODE 5 SPEED 6 CLS SIZE 4 00 3 00 GAP 0 10 0 DENSITY 10 REM SET MAXIMODE 5 MAXIC...

Страница 40: ...height The expected height of barcode in dot rotate Rotation counterclockwise 0 0 degree 90 90 degrees 180 180 degrees 270 270 degrees expression Barcode text or string expression to be printed on la...

Страница 41: ...nal version 2 enhanced version mask 0 8 default is 7 Data string The encodable character set is described as below Encodable character set 1 Numeric data digits 0 9 2 Alphanumeric data digits 0 9 uppe...

Страница 42: ...is in the data string and follows by N A B K then it will be switched to specified encodable character set Example Manual mode example QRCODE 100 10 L 7 M 0 M1 S1 ATHE FIRMWARE HAS BEEN UPDATED Where...

Страница 43: ...0 160 H 4 A 0 123ABCabc 1234 QRCODE 310 310 H 4 A 0 ABCabc123 1234 abcd PRINT 1 1 EOP DEMO d Data string including double quote character please use instead of SIZE 4 2 5 CAP 0 12 0 CLS QRCODE 10 10 H...

Страница 44: ...ation Must be used with DOWNLOAD EOP command SIZE 4 2 5 CAP 0 12 0 CLS 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 B00...

Страница 45: ...OCR B 7 21 x 27 dot fixed pitch font OCR B 8 14 x25 dot fixed pitch font OCR A ROMAN TTF ROMAN True type font Rotation The rotation angle of text 0 0 degree 90 90 degrees in clockwise direction 180 1...

Страница 46: ...l character to the printer It can be sent any time even in the event of printer error One byte character is returned of which one bit is used to flag the printer s current readiness status If 0 is ret...

Страница 47: ...nd 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 download...

Страница 48: ...g of the printer The returned information is given in the following format code page country code ex 8 bit 437 001 7 bit USA 001 Regarding the code pages and country codes supported by the printer ple...

Страница 49: ...mmand 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 0x0A The ending...

Страница 50: ...ier is used to instruct keyboard to display the prompt in the first line of LCD display 1 following the ending identifier is used to instruct keyboard to display the prompt in the first line of LCD di...

Страница 51: ...beep sound on portable keyboard Printer sends 0x07 to KP 200 portable keyboard Syntax BEEP Parameter Description None N A Example DOWNLOAD DEMO BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFE...

Страница 52: ...ws Driver B Description This command is used to store bitmap image data in the memory Behind the nnn is the bitmap data Syntax Bnnn Parameter Description nnn The number of bytes of image data sent fro...

Страница 53: ...ription This command is used to print the bitmap data at the specified position in y direction Syntax Jnnnn Parameter Description nnnn Print image at the specified position in y direction The position...

Страница 54: ...meter Description n Specify the memory which is used to save the download files F Download files to main board flash memory E Download files to expansion memory module FILENAME BAS The filename reside...

Страница 55: ...urns off printer power Example The program listed below will download to printer SDRAM DOWNLOAD EXAMPLE BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS...

Страница 56: ...w 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 ENTE...

Страница 57: ...used in a program the DOWNLOAD FILENAME BAS must be added in the first line of the program and EOP statement at the last line of program Syntax EOP Example DOWNLOAD DEMO BAS SIZE 4 4 GAP 0 0 DENSITY...

Страница 58: ...listed as well Syntax FILES Example Follow the steps below to list the files that are saved in printer memory in DOS environment through serial port connection C MODE COM2 96 N 8 1 ENTER C COPY CON C...

Страница 59: ...ll delete the file in DRAM Syntax example 1 KILL FILENAME 2 KILL PCX 3 KILL 4 KILL F FILENAME 5 KILL E PCX Example Users can use printer SELF TEST utility to list printer configurations and files save...

Страница 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...

Страница 61: ...ram that resident in printer memory Syntax RUN FILENAME BAS Example C COPY CON LPT1 ENTER RUN DEMO BAS ENTER CTRL Z ENTER C Note ENTER stands for keyboard ENTER key In the above example please press E...

Страница 62: ...an integer floating point or variable Syntax ABS 100 ABS 99 99 ABS VARIABLE Example DOWNLOAD TEST BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS A AB...

Страница 63: ...on This function returns the ASCII code of the character Syntax ASC A Example DOWNLOAD TEST BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS CODE1 ASC A...

Страница 64: ...character that has the specified ASCII code Syntax CHR n Parameter Description n The ASCII code Example DOWNLOAD TEST BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SE...

Страница 65: ...D DEMO BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 10 600 5 0 1 1 GOSUB RETURN COMMAND TEST X 300 Y 300 GOSUB DASH GOSUB DR_LINE PRINT 1 END D...

Страница 66: ...o End of file 0 Not end of file Example DOWNLOAD DEMO BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS OPEN DATA 0 SEEK 0 4 A ITEM READ 0 ITEM PRICE QTY...

Страница 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...

Страница 68: ...ile by the name of DATA is to be downloaded The file format contains DOWNLOAD DATA 20 Computer CR 20000 CR 15 CR Saving the above contents of data under the file name of DATA Follow the steps below to...

Страница 69: ...f data under the file name of DEMO Follow the steps below to download data to the printer under MS DOS mode C MODE COM1 96 N 8 1 C COPY DEMO COM1 The above example sets the following baud rate at 9600...

Страница 70: ...ENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS OPEN DATA 0 OPEN DATA1 1 SEEK 0 4 A ITEM READ 0 ITEM PRICE QTY TEXT 10 10 3 0 1 1 SEEK COMMAND TEST SHIFT 4 CHARACTERS BOX 98...

Страница 71: ...8 2 0 1 1 B TEXT 132 268 2 0 1 1 C BARCODE 132 365 39 96 1 0 2 4 PRICE 2000 PRINT 1 I EOF 1 IF I 0 THEN GOTO B OPEN DATA2 0 CLS Z Z FREAD 0 6 TEXT 10 20 4 0 1 1 FREAD FUNCTION TEST TEXT 10 70 4 0 1 1...

Страница 72: ...inning of a new position Example DOWNLOAD TEST BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS OPEN DATA 0 SEEK 0 4 ITEM READ 0 ITEM PRICE QTY TEXT 10...

Страница 73: ...le downloaded in the printer memory Example DOWNLOAD OPEN2 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS OPEN DATA2 0 CLS Z Z FREAD 0 6 TEXT 10 20 4...

Страница 74: ...handle Either 0 or 1 byte Number of bytes to be read Example DOWNLOAD FREAD BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS OPEN DATA2 0 CLS Z Z FREAD...

Страница 75: ...good programming skill Syntax For variable start TO end statement start end NEXT Parameter Description variable The variable name is up to 8 characters start Can be integer or floating point numbers...

Страница 76: ...Wasp Technologies 70 Copyright 2001 All Rights Reserved TEXT 10 100 3 0 1 1 C NEXT FOR I 1 TO 5 STEP 0 5 H H STR I TEXT 10 150 3 0 1 1 H NEXT PRINT 1 EOP See Also DOWNLOAD EOP...

Страница 77: ...hat the single line form of IF THEN does not use an ENDIF statement Or IF condition THEN Statements ENDIF Or IF condition THEN Statements ELSE Statements ENDIF Or IF condition1 THEN Statement block 1...

Страница 78: ...pression is nonzero the statement following THEN will be executed If the result of the expression is zero and the statement following the ELSE present it will be executed Otherwise the next line of st...

Страница 79: ...g the GOSUB statement Syntax GOSUB LABEL statement END LABEL statement RETURN Parameter Description LABEL Beginning of the subroutine The maximum length of the label is 8 characters Example DOWNLOAD G...

Страница 80: ...Wasp Technologies 74 Copyright 2001 All Rights Reserved SET PEEL OFF DENSITY 13 FOR I 21 TO 50 TEXT 10 I 100 3 0 1 1 NEXT RETURN EOP See Also DOWNLOAD EOP END GOTO...

Страница 81: ...TO LABEL LABEL Parameter Description None N A Example DOWNLOAD GOSUB1 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS A 0 TOTAL 0 START IF A 100 THEN G...

Страница 82: ...rt through this function Syntax INP n Parameter Description n 1 com1 port in printer Example DOWNLOAD DEMO BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF...

Страница 83: ...The prompt string is shown on keyboard LCD screen The maximum length of prompt string is 20 characters Variables The variable to receive input data Example DOWNLOAD INPUT1 BAS SIZE 4 4 GAP 0 0 DENSITY...

Страница 84: ...is REM that will be ignored by the printer Syntax REM Example REM REM This is a demonstration program REM DOWNLOAD REMARK BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OF...

Страница 85: ...inter serial port Syntax OUT prompt variable Parameter Description prompt Prompt which is shown on LCD screen Variable The output message Example DOWNLOAD DEMO BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 D...

Страница 86: ...y is pressed and 1 is returned if FEED key is pressed Syntax GETKEY Example DOWNLOAD DEMO4 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS START A GETK...

Страница 87: ...ve or negative integer floating point number or mathematical expression Example DOWNLOAD DEMO5 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS A INT 99...

Страница 88: ...n Parameter Description X The string to be processed n The number of characters to be returned Example DOWNLOAD STR1 BAS SIZE 4 00 4 00 GAP 0 12 0 00 SPEED 2 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REF...

Страница 89: ...ion string The string whose length is to be measured Example DOWNLOAD DEMO6 BAS SIZE 4 00 4 00 GAP 0 12 0 00 SPEED 2 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE 0 0 SET DEBUG LABEL CLS A TAIWAN S...

Страница 90: ...e string to be processed m The beginning of mth characters in the string 1 m string length n The number of characters to return Example DOWNLOAD DEMO7 BAS SIZE 4 00 4 00 GAP 0 12 0 00 SPEED 2 0 DENSIT...

Страница 91: ...e string to be processed n The number of characters to be returned from the right side end of the string Example DOWNLOAD DEMO8 BAS SIZE 4 00 4 00 GAP 0 12 0 00 SPEED 2 0 DENSITY 8 SET CUTTER OFF DIRE...

Страница 92: ...cription n An integer floating point number or mathematical expression Example DOWNLOAD DEMO9 BAS SIZE 4 00 4 00 GAP 0 12 0 00 SPEED 2 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE 0 0 SET DEBUG LA...

Страница 93: ...numeric character Parameter Description numeric character 0 9 Example DOWNLOAD DEMO10 BAS SIZE 4 00 4 00 GAP 0 12 0 00 SPEED 2 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE 0 0 SET DEBUG LABEL CLS...

Страница 94: ...T COUNTER n step n Expression Parameter Description n n counter number There are 50 counters available 0 49 in the printer step The increment of the counter can be positive or negative 999999999 step...

Страница 95: ...cut label at the end of printing job Pieces Set number of printing labels per cut 0 pieces 65535 Example REM SET CUTTER FUNCTION OFF EXAMPLE PROGRAM SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFE...

Страница 96: ...CUTTER PIECE EXAMPLE PROGRAM REM This program cuts each printed label SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER 1 SET PEEL OFF CLS TEXT 50 50 3 0 1 1 SET CUTTER PIECE BAR...

Страница 97: ...does not print the next label until the peeled label is taken away This setting will be saved in printer memory when turning off the power Syntax SET PEEL ON OFF Parameter Description ON Enable the s...

Страница 98: ...Syntax SET TEAR ON OFF Parameter Description ON The label gap will stop at the tear off position after print OFF The label gap will NOT stop at the tear off position after print The beginning of labe...

Страница 99: ...en turning off the power Syntax SET GAP n Parameter Description n The gap sensor light emission strength Available range is listed as below 0 is the lowest sensitivity Printer model Range WPL606 0 31...

Страница 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...

Страница 101: ...ribbon mechanism at the instance of turning on printer power to determine direct thermal or thermal transfer printing This setting will not be saved in printer memory Syntax SET RIBBON ON OFF Paramet...

Страница 102: ...38400 bps 56 56000 bps parity Parity check N None parity check E Even parity check O Odd parity check data Data bit 8 8 bits data 7 7 bits data stop Stop bit 1 1 stop bit 2 2 stop bits Example The pa...

Страница 103: ...bels If label content includes serial text or barcode it will change the serial number accordingly This setting will be saved in printer memory Syntax SET PRINTEKY n Parameter Description n Numbers of...

Страница 104: ...y 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 LABEL 0 LABEL 999999999 Example SIZE 4 4 GAP 0 0 DEN...

Страница 105: ...MO21 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS YEAR STR YEAR IF MONTH 10 THEN MONTH 0 STR MONTH ELSE MONTH STR MONTH IF DATE 10 THEN DATE 0 STR D...

Страница 106: ...OAD DEMO21 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS YEAR STR YEAR IF MONTH 10 THEN MONTH 0 STR MONTH ELSE MONTH STR MONTH IF DATE 10 THEN DATE 0...

Страница 107: ...D DEMO21 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS YEAR STR YEAR IF MONTH 10 THEN MONTH 0 STR MONTH ELSE MONTH STR MONTH IF DATE 10 THEN DATE 0 S...

Страница 108: ...NLOAD DEMO21 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS YEAR STR YEAR IF MONTH 10 THEN MONTH 0 STR MONTH ELSE MONTH STR MONTH IF DATE 10 THEN DATE...

Страница 109: ...D DEMO21 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS YEAR STR YEAR IF MONTH 10 THEN MONTH 0 STR MONTH ELSE MONTH STR MONTH IF DATE 10 THEN DATE 0 S...

Страница 110: ...WNLOAD DEMO21 BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS YEAR STR YEAR IF MONTH 10 THEN MONTH 0 STR MONTH ELSE MONTH STR MONTH IF DATE 10 THEN DAT...

Страница 111: ...DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS YEAR STR YEAR IF MONTH 10 THEN MONTH 0 STR MONTH ELSE MONTH STR MONTH IF DATE 10 THEN DATE 0 STR DATE ELSE DATE STR DATE IF...

Страница 112: ...mat is supported by RTC YEAR global variable can be accessed directly without using BASIC language functions Syntax Write attribute YEAR 2001 Read attribute YEAR Range 2000 9999 Example SIZE 4 4 GAP 0...

Страница 113: ...th format is supported by RTC MONTH global variable can be accessed directly without using BASIC language functions Syntax Write attribute MONTH 01 Read attribute MONTH Range 01 12 Example SIZE 4 4 GA...

Страница 114: ...te format is supported by RTC DATE global variable can be accessed directly without using BASIC language functions Syntax Write attribute DATE 12 Read attribute DATE Range 01 31 Example SIZE 4 4 GAP 0...

Страница 115: ...one single digit 1 7 DAY global variable can be accessed directly without using BASIC language functions Syntax Write attribute DAY 3 Read attribute DAY Range 0 Sunday 6 Saturday Example SIZE 4 4 GAP...

Страница 116: ...tem 00 23 is supported by RTC HOUR global variable can be accessed directly without using BASIC language functions Syntax Write attribute HOUR 12 Read attribute HOUR Range 00 23 Example SIZE 4 4 GAP 0...

Страница 117: ...te format is supported by RTC MINUTE global variable can be accessed directly without using BASIC language functions Syntax Write attribute MINUTE 12 Read attribute MINUTE Range 00 59 Example SIZE 4 4...

Страница 118: ...nd format is supported by RTC SECOND global variable can be accessed directly without using BASIC language functions Syntax Write attribute SECOND 12 Read attribute SECOND Range 00 59 Example SIZE 4 4...

Страница 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...

Страница 120: ...Last update May 21 2004...

Отзывы: