F+D Feinwerk- und Drucktechnik Plus Mounting instructions

Software Manual
Card Printer
Plus
State: April 2004
3090.02.099.90.06


Software Manual
Plus
3
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
Contents
1ESC-sequences...............................................................................................................................4
1.1 Creation ofdata records...............................................................................................................4
1.1.1 Symbols and conventions........................................................................................................4
1.1.2 Utilization ofcontrol sequences...............................................................................................5
1.1.3 Utilization ofobject blocks.......................................................................................................5
1.1.4 Structure ofdata records.........................................................................................................5
1.1.5 Example for a data record.......................................................................................................6
1.2 Control sequences........................................................................................................................6
1.2.1 Number ofcards......................................................................................................................7
1.2.2 Image height............................................................................................................................7
1.2.3 Image width..............................................................................................................................7
1.2.4 Printing speed..........................................................................................................................7
1.2.5 Printer specification.................................................................................................................8
1.2.6 Variable object: logo................................................................................................................8
1.2.7 CountryCode...........................................................................................................................8
1.2.8 Card feeding / Card output......................................................................................................9
1.2.9 Transponder data....................................................................................................................9
1.2.10 Variable object: Text / Barcode..............................................................................................10
1.2.11 Thermal print headheating time............................................................................................10
1.3 Object sequences.......................................................................................................................11
1.3.1 Object attributes.....................................................................................................................11
1.3.2 Y-Enlargement.......................................................................................................................11
1.3.3 X-Enlargement.......................................................................................................................12
1.3.4 Distance betweencharacters................................................................................................12
1.3.5 Positioning.............................................................................................................................13
1.3.5.1 X-Coordinate................................................................................................................13
1.3.5.2 Y-Coordinate................................................................................................................14
1.3.6 Internallogo...........................................................................................................................14
1.3.7 Stepping.................................................................................................................................14
1.3.8 Rotation..................................................................................................................................15
1.3.9 Write transponder..................................................................................................................15
1.3.10 Variable objects.....................................................................................................................16
1.3.11 Lines andboxes.....................................................................................................................16
1.3.12 Image background.................................................................................................................17
1.4 Objects........................................................................................................................................18
1.4.1 Text-object.............................................................................................................................18
1.4.2 Logo-object............................................................................................................................18
1.4.3 Barcode-object.......................................................................................................................20
1.4.3.1 Introduction...................................................................................................................20
1.4.3.2 Barcode: Code 2 of5 Interleaved...............................................................................22
1.4.3.3 Barcode: Code 39.......................................................................................................23
1.4.3.4 Barcode: Code 128.....................................................................................................24
1.4.3.5 Barcode: EAN-8...........................................................................................................26
1.4.3.6 Barcode: EAN-13.........................................................................................................27
1.4.3.7 Barcode: EAN-128.......................................................................................................28
1.4.3.8 Barcode: PDF-417.......................................................................................................30
1.5 Preferred control sequences.......................................................................................................33
1.5.1 Status message.....................................................................................................................33
1.5.2 RFID status............................................................................................................................33
1.5.3 Software reset........................................................................................................................33
2Appendix........................................................................................................................................34
2.1 Appendix A:Error messages......................................................................................................34
2.1.1 Error level 1 - Warning...........................................................................................................34
2.1.2 Error level 2 - Error................................................................................................................37
2.1.3 Error level 3 - Hardware.........................................................................................................38
2.2 Appendix B:Commands.............................................................................................................39
2.2.1 Control sequences.................................................................................................................39
2.2.2 Object sequences..................................................................................................................40
2.2.3 Preferred Sequences.............................................................................................................40

Software Manual
Plus
4
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
1ESC-sequences
This part ofthe manual contains printer commands to directlycontrol the printer. It is subdivided into
four chapters (control sequences, object sequences, objects and preferred control sequences).
1.1Creation ofdatarecords
Here, the structure ofa data record as well as the application ofthe different sequences is shown.
1.1.1 Symbols and conventions
Following some specific symbols and conventions will be used:
Bold printed characters arekeywords andhave to bewrittenexactlyin this way.
Italic characters within a sequenceare fill-ins whichare replaced bytheuser bydefined values.
Underlined values are standard values.
Non-printable control characters are enclosed in angle brackets, e.g. <CR>.
Inputofcontrol characters can varydependingon the programme. Here are some examples:
<SX>,<STX> þSTX-character, 02 decimal,02 hexadecimal, CTRL/B
<ET>,<EOT> þEOT-character, 04 decimal, 04 hexadecimal, CTRL/D
<EQ>,<ENQ> þENQ-character, 05 decimal, 05 hexadecimal, CTRL/E
<AK>,<ACK> þACK-character, 06 decimal, 06 hexadecimal, CTRL/F
<CR>,<CR> þCR-character, 13 decimal, 0D hexadecimal, CTRL/M
<EC>,<ESC> þESC-character, 27 decimal, 1B hexadecimal, CTRL/[
Inputchoices are displayed in brackets [ ].
Following conventions arevalidfor numerical values in ASCII-input format: Each digit position gets a
fill-in in formofa letter. Theletter defines the numerical format. Each number is represented byits
ASCII-value.
dddd means: 4-digit decimal number (0000 - 9999) in ASCII-format
hhh means: 3-digit hexadecimal number (000 - fff) in ASCII-format
Ifthe input is not boundto a fixed format, this will be shownbytwodots (..):
d.. means for example: 1,12, 123,012, ...
Following conventions arevalidfor numerical values in binaryinputformat: Each 8-bit-binarynumber
is represented byits hexadecimal value.Eachhexadecimal digit gets a fill-in (1hexadecimal digit = 4
bits).
HH means: 2-digit hexadecimal number (00 - ff) in hexadecimal format
afmeans: 175 decimal, afhexadecimal, 10101111 binary
Following conventions arevalidfor character values: Each character position gets a fill-in in formofa
letter. The letter defines the character format. Each character is represented byits ASCII-value.
cmeans: 1 character (A - Z, a - z)
ameans: 1 character (A - Z, a - z, 0 - 9)
0|1proposes input possibilityof0 or 1.
Lowerpositioned texts are for information purposes only.
dtype means: 1-digittypenumber, decimal.

Software Manual
Plus
5
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
1.1.2 Utilization ofcontrol sequences
Printer control depends onthe printer configuration. The configuration can either be changed bymenu
or control sequences.
A control sequencehas following structure:
It begins with<ESC> andasubsequent small letter as keyword.
All control sequences are terminated with <CR>.
The sumofall consecutive control sequences forms the control block.
Incorrect control sequences results in error messages on the screen with the reference 'control
sequence'.
1.1.3 Utilization ofobject blocks
Object blocks define theactual printoutafter theprinter configuration has been made.
The PLUS is equipped withits own job control language. This language is incompatible to other line-
oriented matrix printers, butit offers considerable possibilities to create a layout. Lines oftext as well
as barcodes and logos can be printed at will on a card in various forms and directions.
First, to print a card, the whole cardlayout has to be defined as object blocks. Onlyafter thewhole
layoutblockhas been transferred to theprinter a cardcan be printed.
Object blocks have following structure:
An object blockis composed ofobject sequences, which start with <ESC> and asubsequent capital
letter as keyword.
Object sequences withinanobject blockcan either be endedwith or without <CR>.
All object blocks together forma layout block. A layout blockhas to be enclosedin <STX>....<EOT> in
order to distinguish it fromcontrol blocks.
For most ofthe error messages resulting offaultyobject sequences, the error message 'object
sequence'is displayed on the screen.
Variable object sequences are formallyused like control sequences.
All object parameters alreadyhave adefault value, e. g. character spacing= 1 dot.
1.1.4 Structure ofdata records
A data record has followingstructure:
Data record= {control block, layout block, control block}
Control block = { Control sequence 1 [Control sequence n]} n=[2...]
Control sequence= { <ESC>x.... <CR>} x=[a|b|...|z]
Layout block ={<STX>Object block1[Object block n] <EOT>} n= [2...
Object block= { [Object sequence n] Object } n= [1...
Object sequence= { <ESC> X... [<CR>] } X= [A|C|...|Z]
Object = { <ESC> B|T|L... [<CR>] }
Data record
Defines the entire cardlayout including the printer configuration andprint process.
Control block
Defines the entire printer configuration and the print process.
Control sequence
Sets a control parameter for the printer configuration respectivelyprint process.
Object block
Defines thewholecard layout.

6
Software Manual
Plus
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.d
e
Object sequence, object
The card layoutincludes different types ofdatafields. An object sequence transfers one parameter for
the specification ofthis field. An object is formallyan object sequence and specifies the field type (text,
barcode, logo/line/frame). This sequence alwayshas tobe placed at the endofeach object block.The
object sequences before are related to this object.
First the datarecords are buffer stored and then editedsuccessively.A data record alreadyedited
does not use anylonger input memory. The following symbols in the standard displayindicate the
current memorystate:
-> þData canbe read in
| þInput blockcomplete
þNodata record edited
nþData record edited
# þNumber ofcards still to be printed bycurrentdata record
1.1.5 Example for a data record
ESC-sequenceNote
<ESC>k0000<CR>
Start of data record
Control sequences: (1st control block)
Printer parameter
Printout withoutprint button
<STX> Start of layout block
<ESC>I35<CR>
<ESC>G150<CR>
<ESC>R0<CR>
<ESC>BEAN13;H60;B3;P1>4012
34567890<CR>
Object block1 (= barcode set)
<ESC>I35<CR>
<ESC>G20<CR>
<ESC>R270<CR>
<ESC>D1<CR>
<ESC>C2<CR>
<ESC>F3<CR>
<ESC>TARIAL18F;Drehung 270°<CR>
Object block2 (=text data)
Text = ' Rotation 270° '
<EOT> End of layout block
<ESC>#1<CR> Control sequences: (2nd control block)
Printjob
End of data record
After these datahave been transfered to the printer, a card should be printed.
Ifan error message appears on the screen after the transfer ofthe data record, the corresponding
reason can be found in the appendix wheretheerror codes are mentioned.
A possible reasonfor the error might be, that the connection PC - Printer has not been setup correctly
or that the transfer parameters have not been adjustedcorrectly.
1.2Control sequences
Structure:
Control block = { Control sequence 1 [control sequence n]} n=[2...]
Control sequence= { <ESC>x.... <CR>} x=[a|b|...|z]

Software Manual
Plus
7
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
Listing of the possibleControl Sequences:
Number ofcards
Image height
Image width
Printing speed
Printer specification
Variable object: Logo
Countrycode
Transponder data
Variable object: Text/Barcode
Heating time thermal print head
The following pages give adetailed description ofthe individual control sequences.
1.2.1 Number ofcards
Menuchoice: CARD DATA / copies / 0000
Control set: <ESC>#d..<CR>
Example:<ESC>#10<CR>
The control sequenceinitiates the printout ofthe print job with the givennumber of cards.
Parameter: d =Number ofcards
1.2.2 Image height
Menuchoice: CARD DATA / select card / 1024
Control set:<ESC>bd..<CR>
Example: <ESC>b840<CR>
The image height defines the height ofthe print area.
Parameter: d = Image height* 12/mm(number ofmotor steps),
Minimumheight= 10 mm(d = 120), Maximumheight = 85.3 mm(d = 1024)
1.2.3 Image width
Menuchoice: CARD DATA / select card / 672
Control set: <ESC>cd..<CR>
Example:<ESC>c450<CR>
The image width defines thewidth ofthe print area.
Parameter: d =Image width * 12/mm(number ofdots),
Minimumwidth= 5.3 mm(d = 64), Maximumwidth = 56 mm(d = 672)
The value for the image width canalwaysbe smaller than the actual card format. The resulting print
area is thenshifted in a centered way.
1.2.4 Printing speed
Menuchoice: PRINTPARAMETERS / printing speed / 75
Control set: <ESC>jd..<CR>
Example:<ESC>j100<CR>
The Printing speed defines the transportation speed of the card withintheprint area.
Parameter: d =Printing speed (75and 100 mm/sec) in steps of25 mm/sec

8
Software Manual
Plus
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.d
e
1.2.5 Printer specification
Menuchoice: PRINTER SPECS.
/printer - mode
/transfer...
Control set: <ESC>kd..[;0|;1]<CR>
Example:<ESC>k101;1<CR>
The Control Sequence defines thesetting ofvarious printer parameters.
Parameter:
d =
1
printout onlyvia print button
d =
20
use transfer printing
d =
40
Card feeder available
d =
100
automatic card feeding
Byadding up the individual values several settings can be made at the same time. The optional switch
(1|0) allows the setting/deletionofsingle parameters.
Examples:
ESC-sequenceDescription
<ESC>k20<CR> Reset all parameters, but
•transfer device will be logged-on
<ESC>k21;1<CR> All parameters remain unchanged, but
•activate transfer device
•inquire PRINTbutton prior to each printout
1.2.6 Variable object: logo
Control set: <ESC> l aobj. ; d..Width ;d..Height ;HHLogo data <CR >
a
obj. : Object name
d..Width: Logo width :Number ofdots in X-direction
d..Height : Logoheight : Number ofdots in Y-direction
HHLogo data Logodata in binaryform
Each bit ofa byte represents 1 dot
Bit =0: do not print dot, =1: print dot
Data bit:7 6 54 32 10
Dot:1 2 34 56 78
Example: <ESC> l a ; 8 ; 5; 08 08 C828 10<CR>
<ESC> # 1<CR>
The Logo should have been pre-defined as a variable object (see variable objects, chapter 1.3.10,
page16).
1.2.7 CountryCode
MenuChoice: CHARACTER/LCD/ country/ USA
Control Set: <ESC>nd<CR>
Example:<ESC>n2<CR>
The control sequencedefines the setting ofthevarious countrycodes.
Parameter:
d = 0USA d = 5Sweden
d = 1England d = 6Italy
d = 2Germanyd = 7Spain
d = 3Denmarkd = 8Norway
d = 4France d = 9Netherlands

Software Manual
Plus
9
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
1.2.8 Card feeding / Card output
Control set: <ESC> t d<CR >
d1:
Card feeding
d2:
Card output
e. g.: <ESC>t 1 <CR>Positioning ofthecard in print position
bythe card feeder
<ESC>t 2 <CR>Card output
1.2.9 Transponder data
Control set: <ESC> u d..Offset ;d..Length ; a Action ;[HHData]<CR>
dOffset = Offset in blocks: 0 ... number ofblocks
d Length = Length in byte:0 ... transponder size *
a Action =r / wr →read / w →write
HHData = Transponder data: data in binaryform
Example:<ESC>u1;5;r <CR>
the Offset is one blockand then the printer reads 5 bytes
* max. read = 216 bytes/sequence; max. write= 32 bytes/sequence
The printer reads the content ofthe transponder or writes datato the transponder and passes the
corresponding data to the host. (see chapter 1.3.9,page 15)
The data output is according to ISO 15693 andis sendvia serial- / parallelinterface.
Transponder Tag-it HF / I-CODE1:
Byte012345678910
11
12
13
14
15
E. g. Hallo
Offset 0 1 2 3 4
Transponder MY-D:
Byte012345678910
11
12
13
14
15
E. g. Hallo
Offset 0 1 2
ESC-sequenceDescription
<ESC>u0;0;r;<CR> read transponder ID
return: 9bytes
1st byte =transponder type
2nd – 9th byte= transponderID
<ESC>u0;0;w;<CR> delete all transponder data
return: number ofdel. bytes
<ESC>u2;12;r;<CR> the Offset is twoblocks and the printer reads 12 bytes
return: 12 bytes
<ESC>u2;12;w;1234567Hallo
<CR> the Offset is twoblocks and the printer writes 12 bytes
return: number ofreal written bytes
transponder model code number of
blocks block size capacity
Philips I-CODE1TM 0x00 11 4 bytes 44 bytes
Texas Instruments
Tag-it HFTM
0x01
6
4 bytes
22 bytes
Infineon my-d 0x03 125 8 bytes 1000bytes

10
Software Manual
Plus
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.d
e
1.2.10 Variable object: Text / Barcode
Control set: <ESC> v aobj. ; Data <CR >
a
obj. : Object name
Data : Text data or Barcode data
Example: <ESC>v a; Text <CR> Text-object
<ESC> # 1<CR>
<ESC>v a; Barcode data <CR>Barcode-object
<ESC> # 1<CR>
The text respectively barcode has to be pre-defined asvariable object.
(see variable objects, chapter 1.3.10, page 16)
1.2.11 Thermal print head heating time
Menuchoice: PRINTPARAMETERS / heating time tph / +- 0%
Control set: <ESC>w[+|-]d<CR>
Example:<ESC>w-5<CR>
The control sequenceallows to change the blackeningdegree byincreasing respectivelydecreasing
the thermal print head heating time between -30% and +30%.
Parameter: d =Heating time change(-30%to +30%) in 5% steps

Software Manual
Plus
11
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
1.3Objectsequences
Structure:
Data record= { Control block, Layout block, Control block}
Layout block = { <STX> Object block1 [Object block n] <EOT> } n= [2...]
Object block= { [Object sequence n] Object } n= [1...]
Object sequence= { <ESC> X... [<CR>] } X= [A|C|...|Z]
Object = { <ESC> B|T|L... [<CR>] }
Object sequences are used to define adata layout (layout block).
Byseveral object sequences an object can bedefined in formand position. All object sequences
which describe an object constitute an object block.The last object sequence ofan object block
defines the object type (text, barcode, logo/frame/line). The number ofobjects is not limited.
All object blocks together forma layout blockfor a card. The followingpages describe the single object
sequences in detail.
1.3.1 Object attributes
Object sequence: <ESC> Adddd [<CR>]
dddd = 0001: Invert object
= 0002: Mirror object on X-axis
= 0004: Mirror object onY-axis
= 0010: Switch off transparency(noOR switching
operation)
Example: <ESC>A0001 Default: A0000
It is also possible to define several attributes at the same time. This needs onlyasumup ofthe single
attributes.
Example:
ESC-sequenceDescription
<ESC> A 0003 inverted and mirrored at the X-axis
1.3.2 Y-Enlargement
Object sequence: <ESC> Cd.. [<CR>]
d = 1 ... 255 : Y-Enlargement ratio
Example: <ESC>C2Default: C1
INVERS

12
Software Manual
Plus
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.d
e
Example:
<STX>
<ESC>G50<ESC>I35<ESC>C1<ESC>TARIAL14f;Y-Factor 1
<ESC>G50<ESC>I70<ESC>C2<ESC>TARIAL14f;Y-Factor 2
<ESC>G50<ESC>I135<ESC>C3<ESC>TARIAL14f;Y-Factor 3
<EOT>
1.3.3 X-Enlargement
Object sequence: <ESC> Dd.. [<CR>]
d= 1 ... 255 : X-Enlargement ratio
Example: <ESC>D2Default: D1
Example:
<STX>
<ESC>G50<ESC>I50<ESC>D1<ESC>TARIAL14f;X-Factor 1
<ESC>G50<ESC>I90<ESC>D2<ESC>TARIAL14f;X-Factor 2
<ESC>G50<ESC>I140<ESC>D3<ESC>TARIAL14f;X-Factor 3
<EOT>
1.3.4 Distance between characters
Object sequence: <ESC> Fd.. [<CR>]
d = 1 ... 255 : Number ofblankdots
Example: <ESC>F3Default: F1
Definitionofthe distance between 2 characters. The blankdots defined here are added tothespace
between characters pre-setin the drawing font.

Software Manual
Plus
13
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
Character Spacing 1
Character Spacing2
Character Spacing 3
Character Spacing 4
Character Spacing 5
Example:
<STX>
<ESC>G50<ESC>I50<ESC>F1<ESC>TARIAL14f;Character Spacing 1
<ESC>G50<ESC>I100<ESC>F2<ESC>TARIAL14f;Character Spacing 2
<ESC>G50<ESC>I150<ESC>F3<ESC>TARIAL14f;Character Spacing 3
<ESC>G50<ESC>I200<ESC>F4<ESC>TARIAL14f;Character Spacing 4
<ESC>G50<ESC>I250<ESC>F5<ESC>TARIAL14f;Character Spacing 5
<EOT>
1.3.5 Positioning
The positioning ofobjects is realized bydefining the X- and Y-coordinates. Without anyfurther
specifications this defined coordinate dot is related to the upper left corner ofthecorrespondingtext-,
barcode- or logo-object. By defining additional parameters, the middle as well as rightrespectively
lower edge can be definedas reference point. Thus, it is possible to centre all objects ofa card layout
not onlyin X- andY-direction but also toalign themto bothedges. When positioning,theminimum
distanceof3 mmto the lower edge is to observe.
1.3.5.1 X-Coordinate
Object sequence: <ESC> Gd.. [ ;x - Alignment ] [<CR>](X - Coordinate)
d = 1 ... 672Number ofdots fromleft edge
x - Alignment = l left
r right
zcentred
Example: <ESC>G10;z
OBJECT
I..;r
I..;z
I..
I..;l
G..
G..;l
G..;z
G..;r

14
Software Manual
Plus
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.d
e
1.3.5.2 Y-Coordinate
Object sequence: <ESC> Id.. [ ;y - Alignment ] [<CR>] (Y- Coordinate)
d = 1 ... 1024Number ofdots fromupper edge
y - Alignment = l left
r right
zcentred
Example: <ESC>I10
1.3.6 Internal logo
Object sequence: <ESC> M Image name ; <CR >
Image name =Name ofinternallystoredlogo
Example: <ESC>MFDLogo;
Using this sequence, logos which are implemented intothe printer can be integrated into adata
record.
Those logos stored into theprinter can be displayedand printed viathemenu PRINTER INFOS /
Logos.
1.3.7 Stepping
Object sequence: <ESC> Q d..W;d..Z[;d..F[;d..B[;d..A]]] [<CR>]
d..W= -9 ... +9: Steppingvalue
d..Z = 1... 255 : Steppingcycle
1-254: Number ofcards without stepping
255 : Steppingafter each print job
d..F = 0 |1 : Filter for leading zeros ( text-objects )
0 :print leadingzeros
1 :suppress leadingzeros
d..B = 1 ...: Start ofsteppingfield
Position of1st digit ofstepping field
d..A = 0 ...: Field Size: Number ofdigits
= 0 : to the end oftext-, barcode string
> 0 : Number ofrelevantdigits
Example:<ESC>Q1;1
The stepping function can be used for text- and barcode-objects.
No steppingwill be made ifthe field definition is selected so that the defined field isnot completely
positioned inside the corresponding text or barcode string.
Example:
ESC-sequenceDescription
<ESC>Q1;1 After each card the whole text string is stepped by+1.
Leadingzeros are printed.
<ESC>Q-1;2;1 Every2 cards the wholetext string is stepped by-1.
Leadingzeros are replacedbyblanks. Ifthe value of
the corresponding field =0,a '0' is printed at the end.
<ESC>Q1;1;0;4 After each card the relevant digit field is stepped by
+1. Leading zeros areprinted. The relevant digit field
starts with the 4th place ofthe corresponding text- or
barcode-string and ends at the string end.
<ESC>Q1;1;0;4;3 After each card the relevant digit field is stepped by
+1. Leading zeros areprinted. The relevant digit field
starts with the 4th place ofthe corresponding text- or
barcode string and includes 3 digits in total.
<ESC>Q1;255 After each completed print job thewhole text string is
stepped by+1. Leadingzeros are printed. A print job
is started withthecontrol sequence: <ESC># d..

Software Manual
Plus
15
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
1.3.8 Rotation
Object sequence: <ESC> R0 | 90 |180 |270[<CR>]
Example: <ESC>R0
Each object can be rotated by90°,180° or 270°.
Example:
<STX>
<ESC>G396;z<ESC>I20<ESC>R0<ESC>TARIAL20f;Rotation 0°
<ESC>G700<ESC>I240;z<ESC>R90<ESC>TARIAL20f;Rotation 90°
<ESC>G396;z<ESC>I400<ESC>R180<ESC>TARIAL20f;Rotation 180°
<ESC>G20<ESC>I240;z<ESC>R270<ESC>TARIAL20f;Rotation 270°
<EOT>
1.3.9 Write transponder
Object sequence: <ESC> U d..Offset ; d..Length ; HHData <CR>
dOffset = Offset in blocks: 0 ... number ofblocks
dLength = Lengthin byte: 0 ... 32 bytes
HH Data = Transponder data: data in binaryform
Example:<ESC>U1;5;Hallo<CR>
The Offset is one blockandthen5 bytes (Hallo) are written
Before printing, the data arewritten on the transponder and a write controlis executed simultaneously.
In case ofa successful write process a short signal tone can be heard. In case ofa writeerror a long
signal tone can beheard and the error is indicated onthe screen. In case ofan error the card is not
printed.
The Transponder is partitioned in blocks of4 bytes / 8bytes each. Ifone blockis not completely
writtentheremainder oftheblockis filledwith FF. (seechapter 1.2.9, page9)

16
Software Manual
Plus
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.d
e
1.3.10 Variable objects
Object sequence: <ESC> V aobj [<CR>]
aobj = Object name : 0-9 , A-Z , a-z (1 digit)
Example: <ESC>V1
Each object (barcode-, text- and logo-object) can be defined as a variable object. It allows to allocate
to this object anew contentoutside ofthe layout blockwithout having totransfer the entire data record
anew.
The original object defined in thelayout blockpre-defines the maximumfield size. Thus, this object
can later onlybe filled with the samemaximumnumber ofdata. The transfer ofnewdata is effected by
the control sequence:
<ESC>vaobj. for text- / barcode-objects (see chapter 1.2.10, page 10)
<ESC>laobj. for logo-objects(see chapter 1.2.6, page8)
1.3.11 Lines and boxes
Object sequence: <ESC> X d..X1 ;d..Y1 ;d..X2 ;d..Y2 ;d..Width [;d..Fill] [<CR >]
d..X1 , d..Y1 : Coordinate 1 : 1... Label width
d..X2 , d..Y2 : Coordinate 2 : 1... Label height
d..Width: Linewidth:Number ofdots: 1 ... Label width
d..Fill:Fill boxes
Bythis object sequence lines as well as boxes can be created. In case that [x1,y1] and[x2,y2] define
a diagonal, a box is printed,otherwise a horizontal or vertical line.
It has tobe observed that the 2nd pair ofcoordinates shall have a higher value than the first one.
Lines are widenedinwards.
Example:
<STX>
<ESC>X20;20;250;150;6
<ESC>X300;40;350;330;3
<ESC>X120;220;200;300;1;1
<EOT>
x2, y1
x1, y1
x1, y2
x2, y2

Software Manual
Plus
17
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
1.3.12 Image background
Object sequence: <ESC> Y HHImage data <CR >
HHImage data Image data in binaryform
Each bit ofa byte represents 1 dot
Bit =0: do not print dot, =1: print dot
Data bit:7 6 54 32 10
Dot:1 2 34 56 78
Normallythe image backgroundrespectivelythe image memoryis blank(white). Bythis sequence, the
image background can be defined. As the image sequences are directlytransferred into the image
memoryand object attributes cannotbe applied, it is not a true object sequence in this case. Instead,
the entireimage area can be defined without being restricted bythe 64K limit and without usingthe
main memory.As the datarecord is immediatelyprocessed, only1 image line has to be buffer stored
in the input memory.
In the image area, objects are normallyprocessed byswitching operation. Image sequences are
overwriting the image memory. Thus, image sequences shall be transferred to theprinter prior to
objects.
Only1image line is transferred per ESC-sequence. With everysequence the nextimage line is
addressed and written automatically. The maximumnumber ofimage sequences is identical to the
image height.Too manyimage sequences will be ignored and a WARNING message is made
The number ofimage data per sequence is calculatedbythe image width / 8. Digits after the decimal
point will beroundedup.The image width is identical to thecard width,unless no other image area
has been explicitlydefined.The incorrect number ofimage dataresults in unpredictableerrors, and
thus has to be avoided.
Object sequence:: <ESC> Zd.. <CR >
d =number ofemptyimage lines
To reduce the multitude ofdata,image lines in which nothing will be printed canbe skipped by
<ESC>Zd. The parameter dindicates thenumber ofemptyimage lines.
Example:
Card width= 800dots: 100 image data are to be sent per image line.
Card width= 480dots: A maximumof480 image sequences can be sentto the printer.

18
Software Manual
Plus
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.d
e
1.4Objects
An object will be defined by a special object sequence.This special object sequence always has to be
the last object sequence withinan object block. All specifications in the object sequences before are
related tothis object.
The PLUS distinguishes the following objects:
<ESC> T... TEXT-object
<ESC> B ...BARCODE-object
<ESC> L ...LOGO-object
Following the single objects are described in detail.
1.4.1 Text-object
Object sequence: <ESC> Tfont type ; text data [ <CR> ]
font type Text examples:
COURI06f Courier 06 bold
COURI08f Courier 08bold
COURI10fCourier 10 bold
COURI12f Courier 12 bold
COURI14f Courier 14 bold
ARIAL08f Arial 08 bold
ARIAL09f Arial 09 bold
ARIAL10fArial 10 bold
ARIAL12f Arial 12 bold
ARIAL14f Arial 14 bold
ARIAL16f Arial 16 bold
ARIAL18f Arial 18 bold
Text-objects are defined by specifying the drawing fontand the corresponding drawingstring. In case
ofincorrect or missing font specification, Courier 08 bold is used as default value.
Viamenu CHARACTER/LCD / SCHEDULE, it is possible toselect betweenANSI-, ASCII- or
multilingual character set chart.
Example:
<ESC>TARIAL18F;text string
1.4.2 Logo-object
Object sequence: <ESC> L d..Width ;d..Height ; l; HHLogo data <CR >
d..Width: Logo-width : Number ofdots in X-direction
d..Height : Logo-height : Number ofdots in Y-direction
l Logotype (small L)
HHLogo data Logodata in binaryform
Each bitofa byte represents 1 dot
Bit = 0: do not print dot,= 1: print dot
Data bit:7 6 54 32 10
dot:1 2 34 56 78
<CR>has to be placed directlybehind the logo data !!
A logo is defined as a freelyprogrammable image, which bitmap is transferred to the printer as data.
As for other objects, the form and position ofa logo-object can also be defined in detail using the
corresponding object sequences.

Software Manual
Plus
19
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.de
Example:
Logo Bit: 76543210
Hex value decimal
....n... 00001000
08 8
....n... 00001000
08 8
nn..n... 11001000
C8 200
..n.n... 00101000
28 40
...n.... 00010000
10 16
<STX>
<ESC>G50<ESC>I35<ESC>R0<ESC>C4<ESC>D4
<ESC>L8;5;|;08H08HC8H28H10H<CR>
<EOT>
Logo-object sequence in BASIC notation:
CHR$(27)+"L8;5;l;"+CHR$(8)+CHR$(8)+CHR$(200)+CHR$(40)+CHR$(32)+<CR>
√

20
Software Manual
Plus
ESC-sequences
F+D Feinwerk- und DrucktechnikGmbH
Kirchenstraße 38, 69239 Neckarsteinach, Germany
Phone: +49 (0)6229 7000, fax: +49 (0) 6229 70067
E
-
Mail:info@fuddruck.de, internet: http://www.fuddruck.d
e
1.4.3 Barcode-object
1.4.3.1 Introduction
Barcode-objects can be defined in their formand function byamultitude ofparameters. The sketch
belowillustrates these parameters.
Bythe following object sequence a barcode canbe integrated:
<ESC> B SType ;[Parameter ;... ]>Barcode data < CR >
S
Type = Name ofbarcode type :
SType Corresponding barcode:
C_25_ICode 2 of5 Interleaved
C_39Code 39
C_128 Code 128
EAN8 EAN-8
EAN13EAN-13
EAN128EAN-128
The first parameter must always be the desired barcode type. Then,further optional parameters may
follow.Everyparameter input starts with a keyletter and ends with a semicolon' ;'. The beginning of
the barcode data is indicatedwith the sign ' >'.
Optional parameters:
Further barcode specific parameters can be specified. In case ofno specification, a default value is
used. The sequence ofthe parameter input (barcode, subscript) is arbitrary.The parameter
specifications should be decimal numbers or text strings. Followingoptional parameters can be used:
barcode height
1234
subscript line
wideelement
small element
space: barcode- subscript line
barcode height
card
position parameter:
<ESC> G ... <ESC> I ...
checkline
Table of contents
Other F+D Feinwerk- und Drucktechnik Printer manuals