FBPL Command Reference
Table Of Contents
- 1 Example of Command Reference
- 2 Document Conventions
- 3 Object Position Calculation
- 4 Supported Printers
- 5 Setup and System Commands
- 5.1 SIZE
- 5.2 GAP
- 5.3 GAPDETECT
- 5.4 BLINEDETECT
- 5.5 AUTODETECT
- 5.6 BLINE
- 5.7 OFFSET
- 5.8 SPEED
- 5.9 DENSITY
- 5.10 DIRECTION
- 5.11 REFERENCE
- 5.12 SHIFT
- 5.13 COUNTRY
- 5.14 CODEPAGE
- 5.15 CLS
- 5.16 FEED
- 5.17 BACKFEED
- 5.18 FORMFEED
- 5.19 HOME
- 5.20 PRINT
- 5.21 SOUND
- 5.22 CUT
- 5.23 LIMITFEED
- 5.24 SELFTEST
- 5.25 EOJ
- 5.26 DELAY
- 5.27 DISPLAY
- 5.28 INITIALPRINTER
- 5.29 MENU
- 6 Label Formatting Commands
- 7 Status Polling and Immediate Commands
- 8 Commands for Windows Driver
- 9 File Management Commands
- 10 BASIC Commands and Functions
- 10.1 ABS()
- 10.2 ASC()
- 10.3 CHR$()
- 10.4 XOR$()
- 10.5 END
- 10.6 EOF()
- 10.7 OPEN
- 10.8 CLOSE
- 10.9 WRITE
- 10.10 READ
- 10.11 SEEK
- 10.12 LOF()
- 10.13 LOC()
- 10.14 FREAD$()
- 10.15 PUT
- 10.16 GET
- 10.17 COPY
- 10.18 FOR…NEXT LOOP
- 10.19 WHILE…WEND
- 10.20 DO…LOOP
- 10.21 IF…THEN…ELSE…ENDIF LOOP
- 10.22 GOSUB…RETURN
- 10.23 GOTO
- 10.24 INP$()
- 10.25 INP()
- 10.26 LOB()
- 10.27 INPUT
- 10.28 PREINPUT
- 10.29 POSTINPUT
- 10.30 SET FILTER
- 10.31 REM
- 10.32 OUT
- 10.33 OUTR
- 10.34 GETKEY()
- 10.35 INT()
- 10.36 LEFT$()
- 10.37 LEN()
- 10.38 MID$()
- 10.39 RIGHT$()
- 10.40 STR$()
- 10.41 STRCOMP()
- 10.42 INSTR()
- 10.43 TRIM$()
- 10.44 LTRIM$()
- 10.45 RTRIM$()
- 10.46 TEXTPIXEL()
- 10.47 BARCODEPIXEL()
- 10.48 VAL()
- 10.49 NOW$()
- 10.50 NOW
- 10.51 FORMAT$()
- 10.52 DATEADD()
- 10.53 FSEARCH()
- 10.54 TOUCHPRESS()
- 10.55 RECORDSET$()
- 10.56 REPLACE$()
- 11 Device Reconfiguration Commands
- 11.1 SET COUNTER
- 11.2 SET CUTTER
- 11.3 SET PARTIAL_CUTTER
- 11.4 SET BACK
- 11.5 SET BACK_BEFORE_PRINT
- 11.6 SET KEYn
- 11.7 SET LEDn
- 11.8 SET PEEL
- 11.9 SET REWIND
- 11.10 SET TEAR
- 11.11 SET GAP
- 11.12 SET BLINE REVERSE / SET BLINE OBVERSE
- 11.13 SET BLINE PRINTSIDE / SET BLINE BACKSIDE
- 11.14 SET HEAD
- 11.15 SET RIBBON
- 11.16 SET ENCODER
- 11.17 SET RIBBONEND
- 11.18 SET COM1
- 11.19 SET PRINTKEY
- 11.20 SET REPRINT
- 11.21 SET FEED_LEN
- 11.22 GETSENSOR()
- 11.23 GETSETTING$()
- 11.24 SET USBHOST
- 11.25 SET AUTORUN
- 11.26 SET RESPONSE
- 11.27 SET DAYLIGHT_SAVE
- 11.28 SET REGISTRATION
- 11.29 PEEL
- 11.30 LED1, LED2, LED3
- 11.31 KEY1, KEY2, KEY3
- 11.32 SET SENSOR_REF
- 12 Printer Global Variables
- 13 Bluetooth Module Setting Commands
- 14 Wi-Fi Module Setting Commands
- 15 Internal Ethernet Setting Commands
- 16 Setting Commands for RJ-2035B/2055WB/3035B/3055WB
- 17 RFID
- 18 General purpose input output (GPIO) Setting Commands
- Appendix A: Command List by Model
- Appendix B: Download your Fonts
67
6.15 PUTBMP
Description
Print a downloaded a 1-bit (monochrome) or 8-bit (256-color) BMP graphic file in monochrome or grayscale.
The direct thermal mode supports both monochrome printing and grayscale printing. The thermal transfer
mode supports monochrome printing only.
Syntax
PUTBMP x,y, "filename" [, bpp][, contract]
Parameter
Description
x
Starting point of the image in the X direction (dots)
y
Starting point of the image in the Y direction (dots)
filename
Downloaded BMP filename
bpp
Optional. Bits per pixel. Default is 1.
1: 1-bit graphic (monochrome)
8: 8-bit graphic (256-color)
contrast
Optional. Contrast of grayscale graphic. Default is 80.
Suggested range is from 60 to 100.
Note
The grayscale printing (8 bit) is available only in the direct thermal mode.
RJ-2035/RJ-2055WB/RJ-3035B/RJ-3055WB printers support only monochrome printing (1 bit).
Make sure the file name is in uppercase letters (FILENAME.BMP).
Example
Continued on next page










