The text of a manual · part 6 of 12
Fastmark 4000 Series Barcode Label Printer User's Guide, pages 51 to 60
Pages 51 to 60 of 114
The original document is the PDF (1.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Datasouth Fastmark 4603
Page 51
Interaction Commands Such commands only apply to the serial port and allow the host to understand the status and configuration of the printer. Command <SOH># <SOH>A
<SOH>B <SOH>E
<SOH>F
Description
Response Contents of the Response from printer Reset Yes <XOFF><XON>T Send a readable status Yes <8 bytes, Y/N> <CR> string byte 1 : Y - printer busy byte 2 : Y - paper out byte 3 : Y - ribbon out byte 4 : N (always) byte 5 : Y - printing byte 6 : Y - printer paused byte 7 : Y - label presented byte 8 : N (always) Toggle pause No condition Send the number of Yes e. g. labels to be printed 0000<CR> no label left to be printed Send status byte Yes n<CR> Same as <SOH>A, except bits 1 to 8 corresponds to bytes 1 to 8 of <SOH>A.
Notes: 1.
Control codes for the printer commands. Symbol XON XOFF STX SOH ESC LF CR
Code (hexadecimal) 11H 13H 02H 01H 1BH 0AH 0DH
2. There is no space code in each command.
50
User's Guide
Page 52
System Level Commands Command
Description
<STX>a
Enable page/job echo characters
<STX>cxxxx
Set continuous paper length and disable edge sensor
<STX>Dxxxxxxx
Memory dump**
<STX>Exxxx
Set copy count for stored label
<STX>e
Enable edge sensor
<STX>F
Feed a page
<STX>fxxx
Back feed from top position
<STX>G
Print stored label
<STX>I
Download graphics
Remarks xxxxxxx : memory address in HEX value either PCX, BMP, PCX or HEX format
<STX>J
Set pause for each label
<STX>j
Cancel pause
<STX>KQ
System configuration details
<STX>L
Enter label formatting state
<STX>Mxxxx
Set maximum label length
<STX>m
Set measurement in metric
<STX>n
Set measurement in inches
<STX>Oxxxx
Set start of print position
<STX>P
Enable data dump
<STX>Q
Clear memory (fonts & graphics)
<STX>r
Select reflective sensor
<STX>Sn
Set feed rate for motor
<STX>T
Print test pattern
<STX>Vn
Set Cutter or Peel and Present configuration n : ‘1’ - enable Cutter, n : ‘A’, ‘B’ or ‘C’
‘4’ - enable Peel and Present <STX>v
Printer version information
<STX>Wn
Graphics/fonts/labels and memory status details
<STX>x
Release file from printer memory n : ‘G’, ‘F’ or ‘L’. through RS232
User's Guide
51
Page 53
Formatting Commands Command
Description
:xxxx
Set cut amount
An
Set print mode n : ‘1’- exclusive, ‘2’ - transparent
Cxxxx
Set horizontal offset cxx
Set cut amount
Dwh
Set pixel width and height
E
Form feed and return to system level command mode
G
Store previous data to global register
<STX>Sn
Retrieve from global register. n : global register ID
Hxx
Set heating value, xx = 01 to 20
M
Toggle the mirror mode m
Set measurement in metric n
Set measurement in inches
Pn
Set print speed. n = ’A’, ‘B’, or ‘C’ **
Qxxxx
Set copy count
Rxxxx
Set vertical offset r<n..n>
Retrieve label data from printer buffer. <n..n> : label name sm<n..n>
Save label data to printer buffer. m : memory module, <n..n> : label name
Txx
Set end-of-line code, xx : hex value z
Change slash zero to normal zero (0).
+xx
Make auto increment for numeric or alphanumeric,
>xx xx : count
-xx
Make auto decrement for numeric or alphanumeric,
<xx xx : count
^xx
Set count amount, xx : count
Notes:
**
:
52
The formatting and editing commands should be grouped together, leaded by <STX>L and ended by E command.
The parameter range is from ‘A’ to ‘K’ (1 to 6 ips) for the model FM4602/FM4603, and for model FM4402 it is from ‘A’ to 'E' (1 to 4 ips).
User's Guide
Page 54
Editing Commands Command structure
Command function
Rthveeeyyyyxxxx<string><CR>
Printing text and bar codes
Components of command
Description
Variables
R print direction
‘1’,’2’,’3’ or ‘4’ (rotation)
t:
object type
‘0’ ~ ‘9’ and ‘:’ (fonts) **, ‘A’ ~ ‘Z’ and ‘a’ ~ ‘z’ (bar codes), ‘X’ (lines or boxes), ‘Y’ (graphics).
h width multiplier
‘1’ to ‘9’ and ‘A’ to ’ O’. ‘0’ stands for default.
v height multiplier
‘1’ to ‘9’ and ‘A’ to ’ O’, ‘0’ stands for default.
eee bar code height
This is ignored for box, line and graphics. It represents point size for font ‘9’ and symbol set for Courier font**.
yyyy
Y coordinate xxxx
X coordinate
<string> depends on object types
User's Guide
53
Page 55
Object
Command Structure
Description
L : line
Lwwwhhh www : width,
(if t is ‘X’) L : line hhh : height. lwwwwhhhh
(if t is ‘X’) B : box wwww : width, hhhh : height.
Baaabbbcccddd
(if t is ‘X’)
aaa : horizontal width bbb : vertical height ccc : thickness of top and bottom edges ddd : thickness of left and right bars
B : box baaaavvvvccccdddd
(if t is ‘X’)
aaaa : horizontal width vvvv : vertical height cccc : thickness of top and bottom edges dddd : thickness of left and right bars
Bar code bar code data
The bar codes (and human readable text) will be printed according to the selected bar code type (‘A’ ~ ‘Z’ or ‘a’ ~ ‘z’).
text data
Such text data will be printed according to the selected font (‘0’ ~ ‘9’).
file name
If t is ‘Y’ and the file was downloaded by <STX>I command.
(if t is in the range ‘A’ to ‘Z’ or ‘a’ to ‘z’) Text (if t is in the range ‘0’ to ‘9’)
Note: **Model FM4603 does not include Courier fonts.
54
User's Guide
Page 56
Font Downloading Commands Such commands are only used for soft fonts with PCL format. Command
Description
ESC*c###D assign the soft fonts ID number (### : 100 ~ 999)
ESC)s###W download font descriptor (### : length of font descriptor)
ESC*c###E set character code (### : 1 ~ 255)
ESC(s###W download character descriptor and image (### : length of character descriptor and image)
User's Guide
55
Page 57
This is a blank page.
56
User's Guide
Page 58
Command Set for PPLB The following commands are for Printer Programming Language B. All PPLB commands must be ended with <LF> or <CR>+<LF> codes. No spaces are allowed between parameters and leading command character. Command
Description
Parameter
Ax,y,rot,font,hm,vm,nr,string
Print text.
font: 1 to 5 for internal font and A to Z for soft font.
Bx,y,rot,bar,nw,ww,v,hum,string
Print Bar Code. nw: width of narrow bar: barcode selection bar ww: width of wide bar v: bar code height hum : B for printing readable code and N for disabling.
bx,y,type,[…]
Print 2D Bar Code type: M for Maxi code and P for PDF 417
Ccn,dn,just,step,string
Counter declaration cn: counter index dn: digit number just: L,R,C and N for field justification step: step value
Dp1
Heat setting p1: density, 0 to 15
EI
Print soft font names
EKstring
Delete soft font
ESstring, ….
Download soft font
FE
End form store
FI
Print form names
FKstring
Delete form string: form name or “*” to delete all forms
FSstring
Execute form string: form name
FSstring
Save form string: form name
GGx,y,string
Print graphics string: graphic name
GI
Print graphic list
GKstring
Delete graphics string: graphic name or “*” to delete all graphics
GMstring,size<LF>…
Store graphics string: graphic name size: graphic size in byte
Ip1,p2,001
Select symbol set** p1: 7 or 8 data bits p2: symbol set string: soft font name or “*” to delete all soft fonts
User's Guide
57
Page 59
Command
Description
JB
Disable back feed**
JF
Enable back feed**
LEx,y,hlen,vlen
Line draw by exclusive
Parameter hlen: horizontal length vlen: vertical length
LOx,y,hlen,vlen
Line draw by OR
LWx,y,hlen,vlen
Draw white line
N
Clear frame buffer
O[,C][,N][,D]
Select options
Pp1[,p2]
Print label p1: label set number p2: copy number of each label
PAp1[,p2]
Print automatic
Qp1,p2[,+p3]
Set label and gap length** p1: label length p2: gap length p3: offset length qw
Set label width**
Rx,y
Set origin point**
Sp1
Set print speed
U
Print configuration
UN
Disable Error Report
US
Enable Error Report
Vvn,dn,just,string
Define variable w: label width p1: speed value, 4 to 6 vn: variable index dn: digit number just: L,R,C and N for field justification
Xx,y,thick,ex,ey
Draw box
ZT
Set print direction ex, ey: end position thick: line thickness
ZB ZS ZN ?
58
ZB: print from bottom Enable/disable storeto-Flash++ Download variables or counters
User's Guide
ZS: print from top power-on default is ZN(disabled)
Page 60
Command
Description
Parameter d1,hadj
Set horizontal position hadj: adjustment in dots. adjustment** d2,hadj
Set horizontal position same as d1, except it is no saved to adjustment E2PROM
Notes: 1.
x and y represent horizontal and vertical coordinate values.
2.
hm and vm stand for horizontal and vertical multipliers.
3.
rot is the rotation direction, its value is from 0 to 3.
4.
nr is either N for normal printing or R for reverse printing.
5.
string is bracket by double quote marks, e.g. “text”.
6.
**
7.
ZS takes effect only if flash memory board is installed.
Commands will cause the printer to save parameters to permanent storage (E2PROM).
User's Guide
59