advanced dpl
TRANSCRIPT
-
5/21/2018 Advanced DPL
1/141
Advanced Datamax Programmers Language (DPL) Training
-
5/21/2018 Advanced DPL
2/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page i Copyright DATAMAX CORP. 1995 All Rights Reserved
1 INTRODUCTION TO PRINTER LANGUAGES OVERVIEW OF COMMANDFUNCTIONS ..................................................................................................................................................................2
1.1 FUNCTIONAL GROUPS OF COMMANDS ........................................................................................................31.1.1 Printer System Status............................................................................................................................31.1.2 Printer Memory Control......................................................................................................................3
1.1.3 Printer System Control.........................................................................................................................51.1.4 Label Respective System Control.......................................................................................................6
1.1.5 Label Formatting...................................................................................................................................6
1.1.6 Post Print, Reprint Commands...........................................................................................................7
2 FILE REPRESENTATION, DATAFLOW SEQUENCE.........................................................................8
2.1 SPECIAL CHARACTERS...................................................................................................................................9
3 USING THE PROGRAMMERS MANUAL .............................................................................................10
4 TYPICAL DATASTREAM .............................................................................................................................11
4.1 STATUS RECORDS.........................................................................................................................................124.2 CONFIGURATION HEADER RECORDS.........................................................................................................134.3 LABEL HEADER RECORDS...........................................................................................................................144.4 LABEL FORMATTING DATA RECORDS....................................................................................................... 154.5 REPRINT WITHNEW DATA RECORDS........................................................................................................17
5 CONTROL/STATUS SOH COMMANDS..................................................................................................18
5.1 CONTROL........................................................................................................................................................195.1.1 Reset......................................................................................................................................................195.1.2 Toggle Pause........................................................................................................................................19
5.1.3 Stop/Cancel..........................................................................................................................................19
5.1.4 SOH shutdown.....................................................................................................................................20
5.2 STATUS...........................................................................................................................................................21
5.2.1 Send ASCII Status StringQuery........................................................................................................215.2.2 Send Status Byte ..................................................................................................................................225.2.3 Send Batch Quantity...........................................................................................................................23
6 STATUS/DIAGNOSTIC STX COMMANDS ............................................................................................24
6.1 STATUS...........................................................................................................................................................256.1.1 Set date and time .................................................................................................................................25
6.1.2 Get Time and Date..............................................................................................................................26
6.1.3 Firmware Version string....................................................................................................................26
6.2 DIAGNOSTICS.................................................................................................................................................276.2.1 Internal Information and Dot pattern..............................................................................................27
6.2.2 Output sensor values..........................................................................................................................27
7 LABEL FORMATTING AND CONTROL................................................................................................28
7.1 SIMPLE 1 TEXT FIELD, D11 COMMAND................................................................................................. 297.1.1 Default Text Field Example...............................................................................................................29
7.1.2 D11 Text Field Example....................................................................................................................297.2 FONTS 1-6 ......................................................................................................................................................30
7.2.1 Font 1....................................................................................................................................................307.2.2 Font 2....................................................................................................................................................30
7.2.3 Font 3....................................................................................................................................................31
7.2.4 Font 4....................................................................................................................................................31
7.2.5 Font 5....................................................................................................................................................327.2.6 Font 6....................................................................................................................................................32
7.3 FONTS 7-8 ......................................................................................................................................................337.3.1 Font 7....................................................................................................................................................33
-
5/21/2018 Advanced DPL
3/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page ii Copyright DATAMAX CORP. 1995 All Rights Reserved
7.3.2 Font 8....................................................................................................................................................337.4 FONT 9............................................................................................................................................................ 34
7.4.1 Font 9 four point.................................................................................................................................347.4.2 Font 9 five point..................................................................................................................................34
7.4.3 Font 9 six point....................................................................................................................................35
7.4.4 Font 9 eight point................................................................................................................................35
7.4.5 Font 9 ten point...................................................................................................................................357.4.6 Font 9 twelve point..............................................................................................................................35
7.4.7 Font 9 fourteen point..........................................................................................................................36
7.4.8 Font 9 eighteen point..........................................................................................................................377.4.9 Font 9 twenty-four point....................................................................................................................37
7.4.10 Font 9 thirty point...............................................................................................................................377.4.11 Font 9 thirty-six point.........................................................................................................................37
7.4.12 Font 9 forty-eight point......................................................................................................................38
7.4.13 Font 9 seventy-two point....................................................................................................................38
7.5 FORMATTING STYLE.....................................................................................................................................397.5.1 Format Attribute..................................................................................................................................39
7.5.2 Mirror Text Example..........................................................................................................................397.5.3 Zero Slash.............................................................................................................................................40
7.6 SCALABLE FONT TEXT.................................................................................................................................417.6.1 Scalable Font Text Example..............................................................................................................41
7.6.2 Symbol Set Selection...........................................................................................................................427.7 COLUMN OFFSET EXAMPLE..........................................................................................................................457.8 ROW OFFSET EXAMPLE.................................................................................................................................467.9 BARCODE FIELDS..........................................................................................................................................47
7.9.1 Rotation 1, human readable..............................................................................................................47
7.9.2 Rotation 2, human readable..............................................................................................................47
7.9.3 Rotation 3, no human readable.........................................................................................................477.9.4 Rotation 4, no human readable.........................................................................................................48
7.10 GRAPHICS.......................................................................................................................................................49
7.10.1 LINES....................................................................................................................................................497.10.2 LINE Example......................................................................................................................................50
7.10.3 BOXES..................................................................................................................................................50
7.10.4 BOX Example.......................................................................................................................................50
7.10.5 CIRCLES..............................................................................................................................................51
7.10.6 Circle Example....................................................................................................................................51
7.10.7 Polygons...............................................................................................................................................527.10.8 Polygon Example.................................................................................................................................52
7.11 IMAGES...........................................................................................................................................................537.12 ADVANCED TEXT FIELDS.........................................................................................................................54
7.12.1 Formatting Inverse Text, Attribute A5.............................................................................................54
7.12.2 Using A Thick Line..............................................................................................................................54
8 LABEL CONTROL WITHIN THE LABEL FORMAT .........................................................................55
8.1 PRINT QUANTITY EXAMPLE.........................................................................................................................568.2 MEDIA SPEED ...............................................................................................................................................57
8.2.1 Slew Speed............................................................................................................................................578.2.2 Print Speed two inches/sec................................................................................................................57
8.2.3 Print Speed six inches/sec..................................................................................................................578.2.4 Slew Speed two inches/sec.................................................................................................................58
8.2.5 Slew Speed six inches/sec..................................................................................................................58
8.2.6 Back speed............................................................................................................................................59
8.3 PRINT HEAT...................................................................................................................................................608.3.1 Example 1, Heat Setting 5.................................................................................................................60
8.3.2 Example 2, Heat Setting 25...............................................................................................................60
-
5/21/2018 Advanced DPL
4/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page iii Copyright DATAMAX CORP. 1995 All Rights Reserved
9 MEDIA SETUP ...................................................................................................................................................61
9.1 GAP STOCK....................................................................................................................................................629.2 REFLECTIVE STOCK......................................................................................................................................63
9.3 CONTINUOUS STOCK....................................................................................................................................6410 USING A CUTTER.......................................................................................................................................65
10.1 CYCLE CUTTER.............................................................................................................................................6610.2 CUT BY AMOUNT..........................................................................................................................................6710.3 CUT POSITION EXAMPLE..............................................................................................................................68
11 USING A PRESENT SENSOR..................................................................................................................69
11.1 PRESENT MODE COMMANDS ......................................................................................................................70
12 TYPICAL FORMATTING PROBLEMS ...............................................................................................71
12.1 INTERSECTING LINES XOR.........................................................................................................................7212.2 LADDER BARCODES PRINT QUALITY.........................................................................................................73
12.3 BARCODES, VALID CHARACTERS, LENGTHS............................................................................................ 7412.4 BARCODES, 1-D SIZE CONTROLS................................................................................................................7512.5 BARCODES, 2-D CONTROLS ........................................................................................................................76
12.5.1 Binary Data, Using the Record Terminator Command Tnn........................................................76
12.5.2 PDF .......................................................................................................................................................7712.5.3 Datamatrix ...........................................................................................................................................79
12.5.4 Maxicode..............................................................................................................................................79
12.6 BARCODES, CODE-128, SUBSET SWITCHING...........................................................................................8012.7 BARCODES, SPECIAL CASES........................................................................................................................82
12.7.1 Checksums, Invalid Values from Host.............................................................................................8212.8 BARCODE CLIPPING......................................................................................................................................8412.9 FORMATING OBJECTS AT THE LABEL EDGE.............................................................................................. 85
12.9.1 Top Edge Problems.............................................................................................................................85
12.9.2 Bottom Edge problems .......................................................................................................................8512.9.3 Continuous Media Formatting Minimum Gap...............................................................................8612.10 OBJECT POSITIONING...............................................................................................................................87
12.10.1 Character Positioning Baselines..................................................................................................87
12.10.2 Barcode Positioning Baselines.....................................................................................................88
13 MODULES .......................................................................................................................................................89
13.1 TYPES / IDENTIFICATION..............................................................................................................................9013.1.1 Module IDs.........................................................................................................................................9013.1.2 Module ID Command References ..................................................................................................91
13.2 DIAGNOSTICS.................................................................................................................................................9213.2.1 RAM Module........................................................................................................................................92
13.3 DIRECTORY OF CONTENTS / SIZE...............................................................................................................9413.3.1 Image Directory Query ......................................................................................................................94
13.3.2 Label Directory Query .......................................................................................................................9413.3.3 Font Directory Query.........................................................................................................................94
13.4 DETERMINING DEFAULT MODULE.............................................................................................................9513.4.1 Printer Determined Default...............................................................................................................95
13.4.2 Setting Default Module.......................................................................................................................95
13.5 DELETING CONTENTS...................................................................................................................................9613.5.1 Clear All Modules...............................................................................................................................96
13.5.2 Clear Specific Module........................................................................................................................96
13.5.3 Delete File STX x.............................................................................................................................97
13.5.4 Defragmentation (Packing Module)...............................................................................................9713.6 INTERNAL MODULE SIZE ALLOCATION.....................................................................................................98
13.6.1 Setting Module Size/Cache Size........................................................................................................98
-
5/21/2018 Advanced DPL
5/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page iv Copyright DATAMAX CORP. 1995 All Rights Reserved
13.6.2 Resetting Memory management Defaults........................................................................................9913.6.3 System Effects ......................................................................................................................................99
14 THROUGH-PUT OPTIMIZING TECHNIQUES.............................................................................100
14.1 REDUNDANT DATA WITHIN A LABEL FORMAT ......................................................................................10114.2 BATCH QUANTITYLABELS........................................................................................................................10214.3 SAVING IMAGES ..........................................................................................................................................103
14.3.1 Image Directory - STX WG command..........................................................................................103
14.3.2 Clear Modules - STX Q, STX q ...................................................................................................... 104
14.3.3 Delete File STX x ..........................................................................................................................104
14.4 DOWNLOADING FONTS..............................................................................................................................10514.4.1 Scalable Fonts..................................................................................................................................106
14.4.2 Bitmap Fonts..................................................................................................................................... 107
14.4.3 Font Directory - ~ WF command.................................................................................................. 10814.4.4 Clear Modules - STX Q, STX q ...................................................................................................... 108
14.4.5 Delete File STX x..........................................................................................................................10814.5 SAVING LABEL FORMATS..........................................................................................................................109
14.5.1 Label Directory - ~WL command.................................................................................................. 10914.5.2 Clear Modules - STX Q, STX q ...................................................................................................... 109
14.5.3 Delete File STX x..........................................................................................................................10914.6 RECALLING LABEL FORMATS...................................................................................................................110
14.6.1 Simple Recalling Label Formats................................................................................................... 11014.6.2 Adding to Recalled Label Formats............................................................................................... 110
14.6.3 Recalling and Changing Quantity, ...........................................................................................111
14.7 REPRINTING LABELS..................................................................................................................................11214.7.1 Reprint Printed Label......................................................................................................................11214.7.2 Print Exited label............................................................................................................................. 112
14.7.3 Reprint saved label..........................................................................................................................11214.8 DYNAMIC DATA PRINT FIELDS.................................................................................................................113
14.8.1 Recalling Labels...............................................................................................................................113
14.8.2 Recalling Labels and Update Fields............................................................................................. 11314.8.3 Recalling Labels and Update Fields, Multiple Quantity...........................................................11314.8.4 Incremental Fields...........................................................................................................................113
14.9 SCALABLE FONT CACHE SIZE...................................................................................................................116
15 COMMUNICATION PROBLEMS ....................................................................................................... 117
15.1 DIAGNOSTICS...............................................................................................................................................11815.1.1 Serial Port Comm............................................................................................................................. 118
15.1.2 Dump.................................................................................................................................................. 11815.2 7-BIT COMM.................................................................................................................................................119
15.2.1 Alternate Control Codes................................................................................................................. 11915.2.2 Alternate-2 Control Codes.............................................................................................................. 119
15.2.3 Alternate-3 Control Codes.............................................................................................................. 119
15.2.4 Binary Data....................................................................................................................................... 11915.3 COMM BUFFER OVERFLOW.......................................................................................................................120
16 I-CLASS / E-CLASS DIFFERENCES .................................................................................................. 121
17 SOFTWARE INTERFACE......................................................................................................................123
17.1 VB APPLICATION GENERATING DPL......................................................................................................12417.2 VB APPLICATION INTERFACI NG VIAWINDOWS DRIVER......................................................................126
18 AVAILABLE OFF THE SHELF SOFTWARE PACKAGES .......................................................128
18.1 CODESOFT....................................................................................................................................................12918.2 SEAGULL DRIVER........................................................................................................................................13018.3 LABELVIEW.................................................................................................................................................. 132
-
5/21/2018 Advanced DPL
6/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page v Copyright DATAMAX CORP. 1995 All Rights Reserved
19 EVALUATION OF ACQUIRED KNOWLEDGE ............................................................................134
20 EVALUATION OF COURSE................................................................................................................. 135
-
5/21/2018 Advanced DPL
7/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 1 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
IntroductionThis document is intended to be utilized for teaching Datamax Printer Language (DPL) by personnelexperienced (at least one year).
The document contains references to external documents that must be available prior to beginning thiscourse.
It is essential that any user of this document read through the entire document prior to teaching the coursein order to understand the flow of the topics. The approach is that of a classic spiral curriculum, where alltopics are introduced at the lowest level, then they are re-touched repeatedly with increasing conceptualdifficulty. This is a necessary approach since all topics are interrelated.
Each topic and subtopic is arranged in the following format:
1. TopicTime Required/Notes
Time required to teach the segmentMaterials
Necessary materials to teach the segmentSupplemental Materials
Additional materials not intended for use during the segmentTeacher Activities
Student Activities
Class Materials:Printers 1-2 students per printer
configured with internal bitmap fonts, scalable fontssetup for use with alternate Control CodesPrinter - teacher printer
configured with cutter and present sensorconfigured with internal bitmap fonts, scalable fontssetup for use with alternate Control Codes
Serial Cables - 1 per printerTrash Cans - 1 per printerHost Computers 1 per printer
Configured with MS Windows, Notepad or equivalent, HyperTerminal (orequivalent)1 available serial port
Media - 1 roll per printerScanner - 1 for TeacherClass Preparation - printers attached to host computers, media loaded
Printers setup for 9600 BAUD serial communication, Alternate Control CodesFiles - This file and all files under the directory structure with root .\class
Text in blue has a corresponding PowerPoint slide.
-
5/21/2018 Advanced DPL
8/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 2 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
1 Introduction to Printer Languages Overview of CommandFunctionsTime Required/Notes
1 Min.
MaterialsHandout DPL Lesson Outline andDPL Programmers ManualConfiguration Label (students print)
Teacher ActivitiesDescribe what and why we need a printer language. Pass out reference materials.Printer languages consist of commands that provide control of the printer, allowing the hostcomputer send data to the printer for printing. The ASCII character set is a simple printerlanguage in itself, , , , , the letters and numbers are all used tocontrol simple line printers.
Student ActivitiesListen
-
5/21/2018 Advanced DPL
9/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 3 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
1.1 Functional Groups of Commands
Teacher ActivitiesBrief overview of commands and formats, for each subsection.
Printer System StatusPrinter Memory ControlPrinter System ControlLabel Respective System ControlLabel FormattingPost Print, Reprint Commands
Student ActivitiesListen
1.1.1 Printer System Status
Note: To clear a fault condition, a form feed key must be pressed by the operator.
Teacher ActivitiesBriefly describe Printer System Status, why it is needed and how it is normally used. Printer version host may determine printer functionality, based on version, Printer time host verification prior to time-stamping labels, Current printer activity, fault conditions, Available Memory and resident files.
Student ActivitiesListen
1.1.2 Printer Memory Control
Teacher Activitiesdisplay configuration couponDescribe Printer System Configuration, display configuration coupon on
the projector.
Student Activities
Students print Configuration label.
-
5/21/2018 Advanced DPL
10/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 4 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
1.1.2.1 Printer Memory Management
Teacher ActivitiesDescribe Printer System Memory Management, why it is needed and howit is normally used. Throughput optimization. Ensuring sufficient printer local storage for host files label formats,
images and fonts.
Student ActivitiesListen
1.1.2.2 Default memory module assignment
Teacher Activities
Describe Printer System Memory Management, why it is needed and howit is normally used. Preparation for bitmap font downloading
Student ActivitiesListen
1.1.2.3 File download, file delete
Teacher ActivitiesDescribe Printer System Memory Management, why it is needed and howit is normally used. Label formats for later retrieval - increased throughput, Images for later retrieval - increased throughput, Fonts - increased throughput.
Student ActivitiesListen
-
5/21/2018 Advanced DPL
11/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 5 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
1.1.3 Printer System Control
Teacher ActivitiesDescribe Printer System Control, why it is needed and how it is normally used. Pause, Cancel, Reset, Printer media movement positioning, speed, form-feed, Printer media type controls gap, reflective, continuous length, Operational modes Pause mode (pause between labels), Feedback mode (label
complete, batch complete messages), Diagnostics, Test modes, Optional hardware control cutter, verifier, ribbon saver. units of measure (Imperial, metric),
Student ActivitiesListen
-
5/21/2018 Advanced DPL
12/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 6 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
1.1.4 Label Respective System Control
Teacher ActivitiesBriefly describe a typical label for controlling the printer. printhead heat, media speed print quality, save retrieve label formats throughput, cutter cut-by, label termination (print, save, exit). units of measure (Imperial, metric),
Student ActivitiesListen
1.1.5 Label Formatting
Teacher ActivitiesBriefly describe label format commands. Formatting style Opaque, transparent, XOR, mirror, inverse, Font, symbol set, barcode selection, Object positioning text, barcode, image, graphics (line, box,), Label format shifting, Print resolution,
Zero slash convention Incremental fields
Student ActivitiesListen
1.1.5.1 Label Print Field Records
Teacher ActivitiesBriefly describe Print Field Records, why they are needed and how they
are typically used. Print orientation and direction,
Font (size) selection, Dot size (font magnification), Text position (start of string), Print data.
Student ActivitiesListen
1.1.5.2 Barcode Field Records
-
5/21/2018 Advanced DPL
13/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 7 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
Teacher ActivitiesBriefly describe Barcode Field Records, why they are needed and howthey are typically used.
Print orientation and direction, Barcode selection, Human readable text, Ratio / module size, Barcode height, Barcode position (start of symbol), Special barcode controls (PDF, Datamatrix), Print data.
Student ActivitiesListen
1.1.6 Post Print, Reprint Commands
Teacher ActivitiesDescribe the process of reprinting labels. Reprint, reprint count - throughput, Reprint Replacement data - throughput.
Student ActivitiesListen
-
5/21/2018 Advanced DPL
14/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 8 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
2 File Representation, Dataflow SequenceTime Required/Notes
2 Min.
MaterialsDPL Programmers Manual
Teacher ActivitiesDescribe the process of the host computer sending commands to the printer.Files are transmitted to the printer from left to right, top to bottom. The
printer receives and interprets the data in this order. Applications softwaresends datastreams to printer in same order.
~LD11131100000500050text field 1131100000500050text field 2131100000500050text field 3131100000500050text field 4Q0001E
Non-printable characters represented by name or hex value between < >.
Student ActivitiesListen and observe the projector.
-
5/21/2018 Advanced DPL
15/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 9 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
2.1 Special Characters
Teacher ActivitiesAttention Getters
In order to be ready for a command sequence, the Printer must first receive a specialcharacter called an Attention Getter, this informs the Printer that it is about to receivea command and the type of command it will be. Immediate Commands, System-LevelCommands, and Font-Loading Commands each have their own Attention Getter. TheAttention Getter character is followed by a Command Character that tells the Printer whataction to take.
ASCII
Character
Name
Decimal
Value
HEX
Value
Printer
Dump
Command
Type
Associated
Timeliness of Operation
SOH 1 01 ^A ImmediateCommands Printer reacts as soon ascommand is received,regardless of current activity.
STX 2 02 ^B System-Level
Commands
Printer reacts when currentoperation is complete
ESC 27 1B ^[ Font-Loading
Commands
Printer reacts when currentoperation is complete
Table 2-1 Attention Getter Characters
Alternate Control Codes are used throughout the entire course for easy file editing.
ControlCharacter
Standard Alternate Alternate -2 Alternate -3 Command TypeAssociated
SOH 0x01 ^ 0x5E ^ 0x5E ^ 0x5E Immediate CommandsSTX 0x02 ~ 0x7E ~ 0x7E # 0x23 System-Level CommandsCR 0x0D CR 0x0D | 0x7C CR 0x0D Line terminatorESC 0x1B ESC 0x1B ESC 0x1B ESC 0x1B Font -Loading Commands
CountBy1
0x5E @ 0x40 @ 0x40 @ 0x40 Label Formatting, Count-by
Table 2-2 Control Codes
Student ActivitiesListen and observe the projector.
-
5/21/2018 Advanced DPL
16/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 10 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
3 Using the Programmers ManualTime Required/Notes
1 Min.
MaterialsDPL Programmers Manual
Teacher ActivitiesThe Programmers Manual is arranged by commands in alphabetic order. Immediate commandsfirst, then System Commands, Extended System Commands, followed by Label Commands. Theappendices contain details that cannot be ignored. Use of any command will require checking theappendices for possible exclusionary conditions.
Table of Contents commands in alphabetic orderAppendices detailed printer differences
Commands by function
-
5/21/2018 Advanced DPL
17/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 11 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
4 Typical DatastreamTime Required/Notes
1 Min.
MaterialsDPL Programmers Manual
Teacher ActivitiesDisplay a typical datastream with a label data format example on the projector.
Printer Commands
Description^A
~WGStatus records
^D
~IApImagenameimage data...data Configuration records
~L Begin labelD11 Label Header record131100000500050Typical text field 01 Label Formatting Data record
Object type, orientation,
position, dataQ0001
E Label Terminate record^A Status record~U01new data for field 01~E0005
~G
Reprint with New DataRecords
Table 4-1 Typical Datastream
Student ActivitiesListen and observe the projector.
-
5/21/2018 Advanced DPL
18/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 12 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
4.1 Status Records
Time Required/Notes
Display Status example on the projector.
Command Name Function
^A Send ASCII StatusString
Printer returns current operation, fault(bytewise)
^E Send BatchQuantity
Printer returns current label number of batchprinting progress
^F Send Status Byte Printer returns current operation, fault (bitwise)~v Get Firmware
VersionPrinter returns firmware version string and date
~a Enable Feedbackmode
Printer returns () label printed, () batch complete
~B Get Date andTime Printer returns date and time
~W Get Module Status Printer returns module IDs and contents (filetype respective)
~KQ MemoryConfigurationQuery
Printer returns memory allocation values(RAM module, scalable font cache, labelformatting buffer)
Table 4-2 Status Commands
Student ActivitiesListen and observe the projector.
-
5/21/2018 Advanced DPL
19/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 13 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
4.2 Configuration Header Records
Teacher Activities
Display table on the projector.
Command Name Function
~A Set Date and Time~d Set Double Buffer
Mode- Force generation of multiple memory copies
of label format- Not usually used.
~c Set ContinuousPaper Length
- Must be 0000 for gap media.- Not used for reflective media
~e Set Edge Sensor - Setup for gap or registration hole type stock~Kf Set Present
Distance- Determines label stop position, head relative.- ~f edge sensor relative equivalent command,
older models.~F Send Form Feed~I Download Image~i Download
Scalable Font~M Set Maximum
Label Length- Length to search for next gap or reflective
mark- Not used in with continuous media
~m Set to MetricMode
- Subsequent measurements interpreted inmetric. Most units mm/10
- Label equivalent command can be used~n Set to Inch Mode - Subsequent measurements interpreted in
inches. Most units in/100- Label equivalent command can be used
~O Set Start of PrintPosition
- Effect is not on label immediately followingcommand since media position is at Start ofPrint between labels
- ~K default position relative 64 in/100maximum deviation
~S Set Feed Rate - Blank label movement speed~V Software Switch - Enable optional hardware, cutter, present
sensor
Table 4-3 Configuration Commands
Student ActivitiesListen and observe the projector.
-
5/21/2018 Advanced DPL
20/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 14 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
4.3 Label Header Records
Teacher ActivitiesDisplay table on the projector.
Command Command Name
A Set Format AttributeC Column OffsetD Set Width and Dot SizeH Set Heat SettingM Set Mirror ModeP Set Print SpeedP Set Backup Speed
Q Set QuantityR Set Row OffsetS Set Slew Speed
Table 4-4 Label Header Commands
Student ActivitiesListen and observe the projector.
-
5/21/2018 Advanced DPL
21/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 15 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
4.4 Label Formatting Data Records
Teacher ActivitiesDisplay Label formatting data header record example on the projector.
161100001000100data
Every record is made of three parts: (1) A header that is 15 bytes in length, (2) thedata to be printed, and (3) a termination character (e.g., ) marking the end ofthe field. The header is used to select the appearance of the data when printed bychoosing rotation, font type, size, and position options. Every header containssimilar information, but different types of records may use this information indifferent ways. The six record types are:
1. Internal Bit-Mapped Font2. Smooth Font (Simulated)3. Scalable Font4. Barcode5. Images 6. Graphics
The record conforms to the following fixed field format (spaces added for visualclarity). Identifying lower case letters have been placed below field values forreference in the following sections:
-
5/21/2018 Advanced DPL
22/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 16 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
1 2 1 1 000 0005 0005 a b c d eee ffff gggg
DATADATA[hhhh iiii] jjj Termination character
Record TypeLocationWithinRecord
Internal
Bit-MappedFont
Smooth
Font
Scalable
Font
Barcode Images Graphics
a Rotation Rotation Rotation Rotation Rotation 1b Font ID 9 9 Barcode Y Xc Width
MultiplierWidthMultiplier
WidthMultiplier
Wide Bar WidthMultiplier
1
d HeightMultiplier
HeightMultiplier
HeightMultiplier
NarrowBar
HeightMultiplier
1
eee 000 font size /
ID
ID Barcode
Height
000 000
ffff Row Position RowPosition
RowPosition
RowPosition
RowPosition
RowPosition
gggg ColumnPosition
ColumnPosition
ColumnPosition
ColumnPosition
ColumnPosition
ColumnPosition
hhhh N/A N/A Font height N/A N/A N/Aiiii N/A N/A Font width N/A N/A N/A
jj...j Data String Data String Point SizeData String
DataString(2Dspec.s)
Imagename
GraphicSpecifiers
Table 4-5 Record Type Structure
Student ActivitiesListen and observe the projector.
Supplemental MaterialsLabelform.doc
-
5/21/2018 Advanced DPL
23/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 17 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
4.5 Reprint with New Data Records
Teacher Activities
~G commandThis command prints a previously formatted label and restarts a canceled batch jobafter the last processed label. This is used when there is a label format in the printbuffer. The E command is used to enter the quantity.
~U commandThis command places new label data into format fields. Format fields are used tobuild a label. The new data string must equal the original string length and containvalid data. To easily keep track of fields, place all of the fields to be updated withthe command at the beginning of the label format. A maximum of 99 format fieldscan be updated. Fields are numbered consecutively 01 to 99, in the order received.
Teacher provides a sample label the projector.~L161100001000100data field 1161100001100110data field 2161100001200120data field 3Q0001E~U01New data F1~U02New data F2~E0002~G
Student ActivitiesListen and observe the projector.The sample results in three printed labels. The first label is formatted with thecommands between L and E. The next two labels print with the replacementdata contained in the U commands.
-
5/21/2018 Advanced DPL
24/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 18 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
5 Control/Status SOH CommandsTime Required/Notes
1 Min.
MaterialsDPL Programmers Manual
Teacher ActivitiesNote to Teacher: Each printer is already setup to use the alternatecharacter set.
-
5/21/2018 Advanced DPL
25/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 19 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
5.1 Control
5.1.1 Reset
Teacher Activitiestransmits command via HyperTerminal program.^#
Student Activitiestransmits command via HyperTerminal program.^#
Observe the printer resetting and initializing, T is returned.
5.1.2 Toggle Pause
Note: If the printer is equipped with a front panel, then a PAUSED or READY messagewill be displayed.Executed immediatelySame as PAUSE button
5.1.2.1 Toggle PAUSE ON / OFFTeacher Activities
transmits command via HyperTerminal program.^B^B
Student ActivitiesTeacher command via HyperTerminal program.^BObserve the Pause LED is illuminated, indicating the printer is in a paused state.^BStudents observe the Pause LED extinguishes, indicating the printer is in aREADY state.
5.1.3 Stop/Cancel
Note: If the printer is equipped with a front panel, then a PAUSED message will be displayed.
Executed immediatelyKills current print job
MaterialsDPL Programmers Manual
Teacher ActivitiesTransmits command via HyperTerminal program.^C^B
Student ActivitiesTransmits command via HyperTerminal program.
-
5/21/2018 Advanced DPL
26/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 20 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
^CObserve the Pause LED is illuminated, indicating the printer is in a paused state.Transmits command via HyperTerminal program.^B
5.1.4 SOH shutdown
Teacher ActivitiesDemo is included with the font download section.^DPrevents SOH command executionPrecedes binary data - font/image3 SOH Commands w/ delay to restore SOH execution (not on I & W Class)
Student Activities
Listen.
-
5/21/2018 Advanced DPL
27/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 21 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
5.2 Status
Send ASCII Status String Query
Send Status ByteSend Batch Quantity
5.2.1 Send ASCII Status StringQuery
Teacher Activities^A
Teacher describes the meaning of each byte returned by the printer.Printer response format: abcdefgh
Where:Character Values Y Condition Meaning
a Y/N Interpreter busy (Imaging)b Y/N Paper out or faultc Y/N Ribbon out or faultd Y/N Printing batche Y/N Busy printingf Y/N Printer pausedg Y/N Label presentedh N Always No
Table 5-1 ASCII Status Bytes
5.2.1.1 ASCII Status Query Example #1Teacher Activities
Send command via HyperTerminal program.^APrinter response NNNNNNNN
Student ActivitiesSend command via HyperTerminal program.^AObserve the printer responding with a string of 8 bytes.
-
5/21/2018 Advanced DPL
28/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 22 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
5.2.1.2 ASCII Status Query Example #2Teacher Activities
Pause the printer.Send command via HyperTerminal program.^APrinter response NNNNNNYN
Student ActivitiesPause the printer.Observe the Pause LED is illuminated, indicating the printer is in a paused state.Send command via HyperTerminal program.^AObserve the printer responding with a string of 8 bytes.
Teacher Activities
UnPause the printer.
5.2.2 Send Status ByteTeacher Activities
Bit Values 1 Condition Meaning
8 0 Always zero7 1 or 0 Label presented6 1 or 0 Printer paused5 1 or 0 Busy printing4 1 or 0 Printing batch3 1 or 0 Ribbon out or Fault2 1 or 0 Paper out or Fault1 1 or 0 Command interpreter busy (Imaging)
Table 3-2 Status Byte
Pause the printer.Send command via HyperTerminal program.^FTeacher describes the meaning of each bit returned by the printer.
Student ActivitiesPause the printer.Observe the Pause LED is illuminated, indicating the printer is in a paused state.Send command via HyperTerminal program.^FObserve the printer responding with a status byte.
-
5/21/2018 Advanced DPL
29/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 23 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
5.2.3 Send Batch Quantity
Teacher ActivitiesDiscussed later with labels using batch quantity^E
Student ActivitiesPause printerEdit the label format using notepad. Saves the file as batch.txt ~L
D1119119A1000100010batch of labelsQ0020
E
Send the file to the printer via copy or HyperTerminal
Send batch quantity command via HyperTerminal^Eobserve printer responseremove pause and immediately send batch quantity command repeatedly viaHyperTerminal^E
-
5/21/2018 Advanced DPL
30/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 24 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
6 Status/Diagnostic STX CommandsTime Required/Notes
MaterialsDPL Programmers Manual
Teacher ActivitiesTeacher will send STX commands via HyperTerminal to show a printer response.System Control STX commands are discussed later, in various sections.
Status - determine printer stateDiagnostics - determine operabilityExecuted serially
-
5/21/2018 Advanced DPL
31/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 25 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
6.1 Status
Set date and time
Get Time and DateFirmware Version string
6.1.1 Set date and time
Teacher ActivitiesTeacher transmits a command via HyperTerminal program.
Teacher describes the meaning of each time field.
~AwmmddyyyyhhMMjjj
where:w - 1 digit for day of weekmm - 2 digits for monthdd - 2 digits for dayyyyy - 4 digits for yearhh - 2 digits for hour in 24 hour formatMM - 2 digits for minutesJjj - 3 digits for julian date or 000 for printer to calculate.
~A1020320000855034
This command translates to: Mon. Feb 3 rd., 2000, 8:55AM, 34thday of the year.
Student Activities
Listen and observe the projector.Send command via HyperTerminal -~A1020320000855034
-
5/21/2018 Advanced DPL
32/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 26 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
6.1.2 Get Time and Date
Teacher ActivitiesTransmit command via HyperTerminal program.~B
Teacher describes the meaning of each time field returned by the printer.
Response: wmmddyyyyhhMMjjj
w - 1 digit for day of weekmm - 2 digits for monthdd - 2 digits for dayyyyy - 4 digits for yearhh - 2 digits for hour in 24 hour formatMM - 2 digits for minutesJjj - 3 digits for julian date
Student ActivitiesTransmit command via HyperTerminal program.~BObserve the printer responding with a time and date string.
6.1.3 Firmware Version string
Teacher Activitiestransmit command via HyperTerminal program.
~vPrinter response: VER DA - 01.01 12/21/93
Note: Useful when working with Tech Support.
Student Activitiestransmit command via HyperTerminal program.~vObserve the printer responding with a version string.
-
5/21/2018 Advanced DPL
33/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 27 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
6.2 Diagnostics
Internal Information and Dot Pattern
Output sensor values
6.2.1 Internal Information and Dot pattern
Teacher Activitiestransmit command via HyperTerminal program.~Z
Student Activitiestransmit command via HyperTerminal program.~ZObserve the printer printing a Configuration label and a dot pattern label.
6.2.2 Output sensor values
Teacher ActivitiesTeacher describes how to put the printer into TESTMODE. The printer response isexplained when an ~Y query sensors command is sent. The teacher explains how to getmore sensor values from the printer using the SPACE command.
~KDG@@@ - 9600 Test~KD@@@@ - 9600
Student ActivitiesConfigure Test Mode via menu systemOrtransmit setup command via HyperTerminal program.~KDG@@@~Y
restore normal operation~KD@@@@ - 9600
-
5/21/2018 Advanced DPL
34/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 28 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7 Label Formatting and ControlTime Required/Notes
MaterialsDPL Programmers Manual
.\materials \images\logo.lab
Teacher ActivitiesExit HyperTerminal and start PowerPoint program.
Simple 1 Text Field, D11 CommandFonts 1-6Fonts 7-8Font 9Formatting Style
Scalable Font TextColumn offset exampleRow offset exampleBarcode FieldsGraphicsImagesAdvanced Text Fields
Student Activities
-
5/21/2018 Advanced DPL
35/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 29 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.1 Simple 1 Text Field, D11 Command.
7.1.1 Default Text Field ExampleTeacher Activities
Provide a sample label on the projector.
~L131100001000050Hello world D22 defaultE
Student ActivitiesEdit the label format using notepad. Save the file as hello.txt then sends the file via the
parallel port from a DOS window using the DOS command copy hello.txt lpt1.
7.1.2 D11 Text Field ExampleTeacher Activities
Teacher provides another sample label on the projector.
~LD11131100001000050Hello world D11E
Teacher explains the difference between D11 and the default D22 in the label command.
Student ActivitiesEdit the label format using notepad. Save the file as hello.txt then sends the file via theparallel port from a DOS window using the DOS command copy hello.txt lpt1
-
5/21/2018 Advanced DPL
36/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 30 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.2 Fonts 1-6
Each font is individual, although similar.
Bitmap Font, printer resident - faster on older printer models monospaced Upper case only for some - small ROM constraints Character sets vary Descenders not included for some. stroke widths vary slash zero () - disable slash - label-formatting command Z Euro Currency Symbol 0xFF
7.2.1 Font 1
Teacher ActivitiesProvide a sample label on the projector
~LD11111100000500050FONT 1 ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 1.
7.2.2 Font 2
Teacher ActivitiesProvide a sample label on the projector
~LD11121100000500050FONT 2 ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 2.
-
5/21/2018 Advanced DPL
37/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 31 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.2.3 Font 3
Teacher ActivitiesProvide a sample label on the projector
~LD11131100001000050FONT 3 ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 3.
7.2.4 Font 4
Teacher ActivitiesProvide a sample label on the projector
~LD11141100000500050FONT 4 ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 4.
-
5/21/2018 Advanced DPL
38/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 32 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.2.5 Font 5
Teacher ActivitiesProvide a sample label on the projector
~LD11151100000500050FONT 5 ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 5.
7.2.6 Font 6
Teacher ActivitiesNote: Upper case only.
Provide a sample label on the projector
~LD11261100000500050FONT 6 ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via theparallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 6.
-
5/21/2018 Advanced DPL
39/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 33 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.3 Fonts 7-8
OCR Asize I - font 7
OCR B size III - font 8ANSI Optical Character size specifications.
7.3.1 Font 7Teacher Activities
Provide a sample label on the projector
~LD11271100000500050FONT 7 ABCDfghij
E
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1
Student observes Font 7.
7.3.2 Font 8Teacher Activities
Provide a sample label on the projector
~LD11281100000500050FONT 8 ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1
Student observes Font 8.
-
5/21/2018 Advanced DPL
40/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 34 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.4 Font 9
CG Triumvirate bold Condensed, developed by AGFA
Bitmap Font, printer resident - faster on older printer models- I & W Class scalable implementation
proportional Point Sizes 4 to 72 - 4 and 5 point printer model specific
- multiples for 36, 48, 72 points printer modelspecific
Upper and lower case Character sets same for all point sizes Descenders included for all point sizes Stroke widths proportional to point size Euro Currency Symbol 0xFF - I & W Class 0x80 (symbol set respective)
7.4.1 Font 9 four pointTeacher Activities
Provide a sample label on the projector
~LD112911A0400100050Four Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, four-point font.
7.4.2 Font 9 five point
Teacher ActivitiesProvide a sample label on the projector
~LD113911A0500100050Five Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, five point font.
-
5/21/2018 Advanced DPL
41/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 35 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.4.3 Font 9 six point
Teacher ActivitiesProvide a sample label on the projector.
~LD113911A0600100050Six Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, six-point font.
7.4.4 Font 9 eight point
Teacher ActivitiesProvide a sample label on the projector.
~LD113911A0800100050Eight Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, eight-point font.
7.4.5 Font 9 ten pointTeacher Activities
Provide a sample label on the projector.
~LD113911A1000100050Ten Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, ten point font.
7.4.6 Font 9 twelve pointTeacher Activities
Provide a sample label on the projector
~L
-
5/21/2018 Advanced DPL
42/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 36 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
D113911A1200100050 Twelve Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1
Student observes Font 9, Twelve-point font.
7.4.7 Font 9 fourteen point
Teacher ActivitiesProvide a sample label on the projector.
~LD11
4911A1400100050Fourteen Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, fourteen-point font.
-
5/21/2018 Advanced DPL
43/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 37 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.4.8 Font 9 eighteen point
Teacher ActivitiesProvide a sample label on the projector.
~LD114911A1800100050Eighteen Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, Eighteen-point font.
7.4.9 Font 9 twenty-four point
Teacher ActivitiesProvide a sample label on the projector.
~LD114911A2400100050Twenty-four Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, Twenty-four-point font.
7.4.10 Font 9 thirty pointTeacher Activities
Provide a sample label on the projector.
~LD11
4911A3000100050Thirty Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, Thirty-point font.
7.4.11 Font 9 thirty-six pointTeacher Activities
Note: Some fonts are multiples of smaller fonts, see chart.
-
5/21/2018 Advanced DPL
44/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 38 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
Provide a s ample label on the projector.
~LD114911A3600100050Thirty-six Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, Thirty-six-point font.
7.4.12 Font 9 forty-eight point
Teacher Activities
Note: Some fonts are multiples of smaller fonts, see chart.Provide a sample label on the projector.
~LD114911A4800100050Forty-eight Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, Forty-eight-point font.
7.4.13 Font 9 seventy-two pointTeacher Activities
Note: Some fonts are multiples of smaller fonts, see chart.Provide a sample label on the projector.
~LD114911A7200100050Seventy-two Point ABCDfghijE
Student ActivitiesEdit the label format using notepad. Saves the file as font.txt then sends the file via the
parallel port from a DOS window using the DOS command copy font.txt lpt1.
Student observes Font 9, Seventy-two-point font.
-
5/21/2018 Advanced DPL
45/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 39 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.5 Formatting Style
7.5.1 Format AttributeTeacher Activities
Label commandAn
Where:n - 1,2, 3 or 5
1 = XOR2 = TRANSPARENT3 = OPAQUE5 = INVERSE
Student ActivitiesObserve
7.5.1.1 Inverse Text ExampleTeacher Activities
Provide a sample label on the projector.
~LD11A1161100003200010 NORMAL TEXTA5161100003000300 INVERSE TEXTA1E
Student ActivitiesEdit the label format using notepad. Save the file as inv.txt then send the file via the
parallel port from a DOS window using the DOS command copy inv.txt lpt1.
Student observes Inverse text.
7.5.2 Mirror Text ExampleTeacher Activities
Provide a sample label on the projector.
~LD11
A1161100003200010 NOT MIRROREDM161100003000400 MIRROREDE
Student ActivitiesEdit the label format using notepad. Save the file as mirror.txt then send the file via the
parallel port from a DOS window using the DOS command copy mirror.txt lpt1.
-
5/21/2018 Advanced DPL
46/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 40 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
Student observes Mirror text.
7.5.3 Zero Slash
Teacher ActivitiesProvide a sample label on the projector.
~LD11A1161100003200010 00000z161100003000300 00000E
Student ActivitiesEdit the label format using notepad. Save the file as slash0.txt then send the file via the
parallel port from a DOS window using the DOS command copy slash0.txt lpt1.
Student observes zeroes and slashed zeroes.
-
5/21/2018 Advanced DPL
47/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 41 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.6 Scalable Font Text
Teacher Activities
Scalable Font FieldThe Smooth Scalable Font Technology* has been licensed from AGFA.Both IntelliFont and True Type scalable Font formats are supported.
1 2 1 1 000 0005 0005 a b c d eee ffff gggg
DATADATA[hhhh iiii] jjj Termination character
Field Valid Inputs Meaninga 1, 2, 3 and 4 Rotationb 9 Fixed valuec 1 to 9 and A to O Width Multiplierd 1 to 9 and A to O Height Multiplier
eee S00 to Szz, U00-Uzz, u00-uzz Font data typeffff 0000 to 9999 Row
gggg Dependent upon printer. See Table 8-7. Columnhhhh P004-P999, 0016-4163* Character height, points,
dotsiiii P004-P999, 0014-4163* Character width, points,
dotsjjj Valid ASCII character string up to 255
characters followed by a terminationcharacter.
Data
*Character size specifications are printhead resolution dependent as shown in the following table.Table 7-1 Scalable Font Record Structure
The eee field identifies the scalable font.S00: Internal scalable font (CG Triumvirate Bold Condensed).S01 - S49: Manufacturer-supplied Font Cartridges.S50 - S99: Downloaded Scalable Fonts (IntelliFont and True Type).U40: Binary Internal Scalable Kanji Font.u40: HexASCII Internal Scalable Kanji Font.
Student ActivitiesObserve
7.6.1 Scalable Font Text ExampleTeacher Activities
Provide a sample label on the projector.Scalable font cache will be discussed later.
~LD111911S0003600020P020P020 20H X 20W1911S0003000085P015P025 15H X 25W1911S0002400085P018P010 18H X 10W
-
5/21/2018 Advanced DPL
48/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 42 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
3911S0001100100P020P020 20H X 20WQ0001E
Student ActivitiesEdit a new file as shown on projector, save the file as scale.txt then send the file via the
parallel port from a DOS window using the DOS command copy scale.txt lpt1.Student observes different size text printed.
7.6.2 Symbol Set SelectionMaterials
DPL Programmers Manual.\scalable font text\symbol set selection\9224e.bin
Single Byte Code Pages
Code Page
Identifier
Datamax Code
Page Family
Font Format
Datamax HP1 Std
2 Enhanced
2 IntelliFont TrueType Description
AR Arabic-8
CP CyrillicDN ISO 60 Danish / Norwegian
DT 7J DeskTopD14 11L ITC Zapf Dingbats/100D24 12L ITC Zapf Dingbats/200D34 13L ITC Zapf Dingbats/300
DS4 10L PS ITC Zapf DingbatsE1 0N ISO 8859/1 Latin 1
E2 2N ISO 8859/2 Latin 2E5 5N ISO 8859/9 Latin 5
E6 6N
ISO 8859/10 Latin 6E7 ISO 8859/7 Latin/Greek
EG ISO 8859/7 Latin/GreekEH ISO 8859/8 Latin/HebrewER ISO 8859/5 Latin/CyrillicFR ISO 69: French Symbol Set
G8 Greek-8GK PC-8 Greek
GR ISO 21: GermanH0 Hebrew-7
H8 Hebrew-8IT ISO 15: Italian
LG 1U Legal
M8 8M
Math-8MC 12J Macintosh
MS 5M PS Math
PB 6J Microsoft PublishingPC 10U PC-8, Code Page 437
PD 11U PC-8 D/N, Code Page 437NPE 17U PC-852 Latin 2
PG PC-851 Latin/GreekPH PC-862 Latin/Hebrew
PI 15U Pi FontPM 12U PC-850 MultilingualPR PC-864 Latin/Arabic
-
5/21/2018 Advanced DPL
49/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 43 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
Single Byte Code Pages
Code Page
Identifier
Datamax Code
Page Family
Font Format
Datamax HP1 Std
2 Enhanced
2 IntelliFont TrueType Description
PT 9T PC-8 TK, Code Page 437TPU 9J PC-1004PV 26U PC-775 Baltic
PX4 PTXT3000R8 8U Roman-8
SP ISO 17: SpanishSW ISO 11: Swedish
SY4 SymbolTS 10J PS Text
TK Turkish-8UK ISO 4: United KingdomUS ISO 6: ASCIIVI 13J Ventura International
VU 14J Ventura USVM 6M Ventura Math
W1 3 19U Windows 3.1 Latin 1WA Windows Latin/Arabic
WD4 AgfaTidbitsWE 3 9E Windows 3.1 Latin 2
WG Windows Latin/GreekWL 19L Windows 3.1 Latin 5WN WindowsWO 9U Windows 3.0 Latin 1
WR 3 Windows Latin/CyrillicWT 3 5T Windows 3.1 Latin 5
1. HP - Hewlett Packard PCL-5 Comparison Guide, Edition 1, Internal Symbol Set Charts, Chart B, forcomparison.
2. Standard and Enhanced Code Page Families are printer configuration respective.3. As of this writing, the fo llowing symbol sets contain references to the Euro currency symbol ( ), with the
associated single byte decimal values:
W1 - Windows 3.1 Latin 1- 128WE - Windows 3.1 Latin 2 - 128WT - Windows 3.1 Latin 5 - 128WR - Windows Latin/Cyrillic 136 (optional)
4. Not supported by ILPC CG Times characters appearing in Code Page identifiers not supported areunpredictable.
Table I-1 Single Byte Code Pages
Double-Byte Symbols, Chinese, KanjiCharacter Map SelectionDouble byte scalable fonts are mapped through a character map. This mapping allowsthe host application to select a variety of characters to match the application. Each of thecode pages allows the host application to emulate a character set for their application.
The double-byte symbol set is selected using the ~yUxx command.
Double Byte Character Map
CharacterMap
Code PageFamily
1
Font Format Description
-
5/21/2018 Advanced DPL
50/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 44 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
Identifier Enhanced TrueTypeB5 BIG 5 (Taiwan) encodedEU EUC (Extended UNIX Code)
GB Government Bureau Industry Standard;Chinese (PRC) Default.
JS JIS (Japanese Industry Standard) Default.SJ Shift JISUC Unicode
1. Enhanced Code Page Families are printer configuration respective.
Table I-2 Double Byte Character Map
The double-byte symbol set is selected using ~yUxx command. The single -byte symbolset is selected using the same command, ~ySxx. Each affects an independent databaseselection and has no impact on the other.
Teacher ActivitiesProvide another sample labe l on the projector.This command selects the scalable font symbol set. The selected symbol setremains active until another symbol set is selected. See Appendices E, I, and Hfor details. Option dependant. Not all symbol sets can be used with all fonts.
Syntax: ~ySxx
Where: S - Byte-size designation; see Appendix H:S = Single byte symbol sets.U = Double byte symbol sets.
xx - Symbol set selection.
Sample: ~ySPM
The sample selects the PC-850 multilingual set.
Download scalable font 9224e.bin
~KEY\~ySPM~LD11
1911S500010001000200020symbol setPM\A0A1A2A3A4A5\E~ySIT~LD111911S500010001000200020symbol set PM\A0A1A2A3A4A5\E
Student ActivitiesObserve
-
5/21/2018 Advanced DPL
51/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 45 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.7 Column offset example
Teacher Activities
This command pushes a whole format to the right. Generally used to shift previouslycreated formats for media differences or other adjustments.
Provide a sample label on the projector. This is the previous example with C0050 added.
~LD11
C0050A1161100003200010 00000z161100003000300 00000E
Student ActivitiesEdit a label format using notepad. Save the file as coloff.txt then send the file via the parallel
port from a DOS window using the DOS command copy coloff.txt lpt1.
Student observes zeroes and slashed zeroes shifted over a half inch.
-
5/21/2018 Advanced DPL
52/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 46 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.8 Row offset example
Teacher Activities
This command pushes a whole format to the right. Generally used to shift previouslycreated formats for media differences or other adjustments.Provide a sample label on the projector. This is the previous examp le with C0050 removedand R0100 added.
~LD11R0100A1161100003200010 00000z161100003000300 00000
E
Student ActivitiesEdit a label format using notepad. Save the file as rowoff.txt then send the file via the
parallel port from a DOS window using the DOS command copy rowoff.txt lpt1.
Student observes zeroes and slashed zeroes shifted up a half inch.
-
5/21/2018 Advanced DPL
53/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 47 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.9 Barcode Fields
7.9.1 Rotation 1, human readableTeacher Activities
Provide a sample label on the projectorBarcode size control discussed later.Ladder barcode quality more difficult to control than picket fence.
~L
D111A6205002000200ROTATION 1E
Student ActivitiesEdit the label format using notepad. Save the file as rotation.txt then send the file via the
parallel port from a DOS window using the DOS command copy rotation.txt lpt1.
Student observes a barcode printed.
7.9.2 Rotation 2, human readableTeacher Activities
Provide a sample label on the projector
~LD111A6205002000200ROTATION 12A6205002000200ROTATION 2Q0001E
Student ActivitiesEdit the file by adding another text string. This time make it rotation 2. Again save the fileas rotation.txt then send the file via the parallel port from a DOS window using the DOScommand copy rotation.txt lpt1.Student observes two barcodes printed.
7.9.3 Rotation 3, no human readableTeacher Activities
Provide a sample label on the projector.
~LD111A6205002000200ROTATION 12A6205002000200ROTATION 23A6205002000200ROTATION 3Q0001
EStudent Activities
Edit the file by adding another text string. This time make it rotation 3. Again save the fileas rotation.txt then send the file via the parallel port from a DOS window using the DOScommand copy rotation.txt lpt1.Student observes three barcodes printed.
-
5/21/2018 Advanced DPL
54/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 48 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.9.4 Rotation 4, no human readableTeacher Activities
Provide a sample label on the projector.
~LD11
1A6205002000200ROTATION 12A6205002000200ROTATION 23A6205002000200ROTATION 34A6205002000200ROTATION 4Q0001E
Student ActivitiesEdit the file by adding another text string. This time make it rotation 4. Again save the f ileas rotation.txt then send the file via the parallel port from a DOS window using the DOS
command copy rotation.txt lpt1.Student observes four barcodes printed.
-
5/21/2018 Advanced DPL
55/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 49 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.10 Graphics
1 2 1 1 000 0005 0005
a b c d eee ffff gggg
DATADATA
[hhhh iiii] jjj Termination character
Segment Valid Inputs Meaninga 1 Fixed valueb X Line boxc 1 Fixed valued 1 Fixed value
eee 000 Fixed valueffff 0000 to 9999 Rowgggg 0000-9999, see Table 8-7. Columnjj...j Lhhhvvv - Line Drawing
lhhhhvvvv - Line DrawingBhhhvvvtttsss - Box DrawingBhhhhvvvvttttssss - Box Drawing
Line *
Line **Box ***Box ****
Table 7-2 Line and Box Parameters
7.10.1 LINES
Teacher ActivitiesLines are sometimes better understood as filled in boxes, while boxes are hollow.
* LINES: Lhhhvvv
Where: L = "L" and specifies line drawing,
hhh = horizontal width of line,vvv = vertical height of line.
** LINES: lhhhhvvvv
Where: l = "l" and specifies line drawing,hhhh = horizontal width of line,vvvv = vertical height of line.
Student ActivitiesObserve
-
5/21/2018 Advanced DPL
56/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 50 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.10.2 LINE Example
Teacher ActivitiesProvide a sample label on the projector.
~LD111X1100001580083L255003Q0001E
Student ActivitiesType in label format using notepad. Save the file as polygon.txt then send the file via the
parallel port from a DOS window using the DOS command copy polygon.txt lpt1.
Student observes a line printed.
7.10.3 BOXESTeacher Activities
*** BOXES: Bhhhvvvbbbsss
Where: B = "B" and specifies box drawing,hhh = horizontal width of box,vvv = vertical height of box,
bbb = thickness of bottom and top,sss = thickness of sides.
**** BOXES:bhhhhvvvvbbbbssss
Where: b = "b" specifies box drawing,
hhhh = horizontal width of box,vvvv = vertical height of box,
bbbb = thickness of bottom and top box edges,ssss = thickness of sides of box.
Student ActivitiesObserve
7.10.4 BOX ExampleTeacher Activities
Provide a sample label on the projector.
~LD111X1100000000010B100100005005Q0001E
Student ActivitiesType in label format using notepad. Save the file as polygon.txt then send the file via the
parallel port from a DOS window using the DOS command copy polygon.txt lpt1.Student observes a box printed.
-
5/21/2018 Advanced DPL
57/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 51 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.10.5 CIRCLESTeacher Activities
A circleis defined by its center point and itsradius.
1 X 11 fff rrrr cccc C ppp bbbb rrrr
Where:Field Meaning
Field
Meaning1 rotation (must be 1) cccc column of the center pointX graphic field C Circle ID (Fixed Value)1 multiplier (must be 1) ppp Fixed Value must be 0011 multiplier (must be 1) bbbb Fixed Value must be 0001fff fill pattern # rrrr radius of the circlerrrr row of the center point termination character
Table 7-3 Circle Record Structure
Student ActivitiesObserve
7.10.6 Circle Example
Teacher ActivitiesProvide a sample label on the projector
~LD11
1X1100000000010B1001000050051X1100100500200C00100010050Q0001E
Student ActivitiesEdit the file by adding another geometric figure. This time add a circle. Again save the fileas polygon.txt then send the file via the parallel port from a DOS window using the DOScommand copy polygon.txt lpt1.Student observes a circle printed.
-
5/21/2018 Advanced DPL
58/141
I:\Brusa G\SchemiMIseries\Advanced DPL.doc Page 52 of 134 Copyright DATAMAX CORP. 2000 All Rights Reserved
7.10.7 Polygons
Teacher ActivitiesPolygons
A polygon is an object that can be defined by specifying a number of datapoints that represent the vertices of the object, which can range from asimple line (2 points), or a triangle (3 points), to any free-formoutline.Field format structure for a polygon1 X 11 ppp rrrr cccc P ppp bbbb rrrr cccc rrrr cccc ...
Where:Field Meaning
Field
Meaning
1 Rotation (must be 1) 001 Fixed ValueX graphic field ID 0001 Fixed Value1 multiplier (must be 1) rrrr row of point 21 multiplier (must be 1) cccc column of point 2ppp fill pattern # rrrr r