Advanced DPL PDF
Advanced DPL PDF
The document contains references to external documents that must be available prior to beginning this
course.
It is essential that any user of this document read through the entire document prior to teaching the course
in order to understand the flow of the topics. The approach is that of a classic spiral curriculum, where all
topics are introduced at the lowest level, then they are re-touched repeatedly with increasing conceptual
difficulty. This is a necessary approach since all topics are interrelated.
1. Topic
Time Required/Notes
Time required to teach the segment
Materials
Necessary materials to teach the segment
Supplemental Materials
Additional materials not intended for use during the segment
Teacher Activities
…
Student Activities
…
Class Materials:
Printers – 1-2 students per printer
configured with internal bitmap fonts, scalable fonts
setup for use with alternate Control Codes
Printer - teacher printer
configured with cutter and present sensor
configured with internal bitmap fonts, scalable fonts
setup for use with alternate Control Codes
Serial Cables - 1 per printer
Trash Cans - 1 per printer
Host Computers – 1 per printer
Configured with MS Windows, Notepad or equivalent, HyperTerminal (or
equivalent)
1 available serial port
Media - 1 roll per printer
Scanner - 1 for Teacher
Class Preparation - printers attached to host computers, media loaded
Printers setup for 9600 BAUD serial communication, Alternate Control Codes
Files - This file and all files under the directory structure with root .\class
Materials
Handout DPL Lesson Outline and
DPL Programmer’s Manual
Configuration Label (students print)
Teacher Activities
Describe 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 host
computer send data to the printer for printing. The ASCII character set is a simple printer
language in itself, <CR>, <LF>, <HT>, <VT>, the letters and numbers are all used to
control simple line printers.
Student Activities
Listen
Teacher Activities
Brief overview of commands and formats, for each subsection.
Printer System Status
Printer Memory Control
Printer System Control
Label Respective System Control
Label Formatting
Post Print, Reprint Commands
Student Activities
Listen
Teacher Activities
Briefly 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 Activities
Listen
Teacher Activities
display configuration coupon
Describe Printer System Configuration, display configuration coupon on
the projector.
Student Activities
Students print Configuration label.
Teacher Activities
Describe Printer System Memory Management, why it is needed and how
it is normally used.
• Throughput optimization.
• Ensuring sufficient printer local storage for host files – label formats,
images and fonts.
Student Activities
Listen
1.1.2.2 Default memory module assignment
Teacher Activities
Describe Printer System Memory Management, why it is needed and how
it is normally used.
• Preparation for bitmap font downloading
Student Activities
Listen
1.1.2.3 File download, file delete
Teacher Activities
Describe Printer System Memory Management, why it is needed and how
it is normally used.
• Label formats – for later retrieval - increased throughput,
• Images – for later retrieval - increased throughput,
• Fonts - increased throughput.
Student Activities
Listen
Teacher Activities
Describe 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 Activities
Listen
Teacher Activities
Briefly 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 Activities
Listen
Teacher Activities
Briefly 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 Activities
Listen
1.1.5.1 Label Print Field Records
Teacher Activities
Briefly 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 Activities
Listen
Student Activities
Listen
Teacher Activities
Describe the process of reprinting labels.
• Reprint, reprint count - throughput,
• Reprint Replacement data - throughput.
Student Activities
Listen
Materials
DPL Programmer’s Manual
Teacher Activities
Describe 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 software
sends datastreams to printer in same order.
~L<0D>D11131100000500050text field 1<0D>
131100000500050text field 2<0D>
131100000500050text field 3<0D>
131100000500050text field 4<0D>Q0001<0D>E
Student Activities
Listen and observe the projector.
Teacher Activities
Attention Getters
In order to be ready for a command sequence, the Printer must first receive a special
character called an “Attention Getter”, this informs the Printer that it is about to receive
a command and the type of command it will be. Immediate Commands, System-Level
Commands, and Font -Loading Commands each have their own Attention Getter. The
Attention Getter character is followed by a Command Character that tells the Printer what
action to take.
Alternate Control Codes are used throughout the entire course for easy file editing.
Control Standard Alternate Alternate -2 Alternate -3 Command Type
Character Associated
SOH 0x01 ^ 0x5E ^ 0x5E ^ 0x5E Immediate Commands
STX 0x02 ~ 0x7E ~ 0x7E # 0x23 System-Level Commands
CR 0x0D CR 0x0D | 0x7C CR 0x0D Line terminator
ESC 0x1B ESC 0x1B ESC 0x1B ESC 0x1B Font -Loading Commands
“Count 0x5E @ 0x40 @ 0x40 @ 0x40 Label Formatting, Count-
By”1 by
Table 2-2 Control Codes
Student Activities
Listen and observe the projector.
Teacher Activities
The Programmer’s Manual is arranged by commands in alphabetic order. Immediate commands
first, then System Commands, Extended System Commands, followed by Label Commands. The
appendices contain details that cannot be ignored. Use of any command will require checking the
appendices for possible exclusionary conditions.
Teacher Activities
Display a typical datastream with a label data format example on the projector.
Student Activities
Listen and observe the projector.
Student Activities
Listen and observe the projector.
Student Activities
Listen and observe the projector.
Teacher Activities
Display table on the projector.
Student Activities
Listen and observe the projector.
Teacher Activities
Display 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) the
data to be printed, and (3) a termination character (e.g., <CR>) marking the end of
the field. The header is used to select the appearance of the data when printed by
choosing rotation, font type, size, and position options. Every header contains
similar information, but different types of records may use this information in
different ways. The six record types are:
1. Internal Bit-Mapped Font
2. Smooth Font (Simulated)
3. Scalable Font
4. Barcode
5. Images
6. Graphics
The record conforms to the following fixed field format (spaces added for visua l
clarity). Identifying lower case letters have been placed below field values for
reference in the following sections:
Student Activities
Listen and observe the projector.
Supplemental Materials
Labelform.doc
~G command
This command prints a previously formatted label and restarts a canceled batch job
after the last processed label. This is used when there is a label format in the print
buffer. The <STX>E command is used to enter the quantity.
~U command
This command places new label data into format fields. Format fields are used to
build a label. The new data string must equal the original string length and contain
valid data. To easily keep track of fields, place all of the fields to be updated with
the command at the beginning of the label format. A maximum of 99 format fields
can be updated. Fields are numbered consecutively 01 to 99, in the order received.
Teacher provides a sample label the projector.
~L
161100001000100data field 1
161100001100110data field 2
161100001200120data field 3
Q0001
E
~U01New data F1
~U02New data F2
~E0002
~G
Student Activities
Listen and observe the projector.
The sample results in three printed labels. The first label is formatted with the
commands between <STX>L and E. The next two labels print with the replacement
data contained in the <STX>U commands.
Materials
DPL Programmer’s Manual
Teacher Activities
Note to Teacher: Each printer is already setup to use the alternate
character set.
5.1.1 Reset
Teacher Activities
transmits command via HyperTerminal program.
^#
Student Activities
transmits command via HyperTerminal program.
^#
Observe the printer resetting and initializing, ‘T’ is returned.
Student Activities
Teacher command via HyperTerminal program.
^B
Observe the Pause LED is illuminated, indicating the printer is in a paused state.
^B
Students observe the Pause LED extinguishes, indicating the printer is in a
READY state.
5.1.3 Stop/Cancel
Note: If the printer is equipped with a front panel, then a PAUSED message will be displayed.
Executed immediately
Kills current print job
Materials
DPL Programmer’s Manual
Teacher Activities
Transmits command via HyperTerminal program.
^C
^B
Student Activities
Transmits command via HyperTerminal program.
I:\ Brusa G\Schemi MIseries\Advanced DPL.doc Page 19 of 134
© Copyright DATAMAX CORP. 2000 All Rights Reserved
^C
Observe the Pause LED is illuminated, indicating the printer is in a paused state.
Transmits command via HyperTerminal program.
^B
Teacher Activities
Demo is included with the font download section.
^D
Prevents SOH command execution
Precedes binary data - font/image
3 SOH Commands w/ delay to restore SOH execution (not on I & W Class)
Student Activities
Listen.
Teacher Activities
^A
Teacher describes the meaning of each byte returned by the printer.
Printer response format: abcdefgh<CR>
Where:
Character Values Y Condition Meaning
a Y/N Interpreter busy (Imaging)
b Y/N Paper out or fault
c Y/N Ribbon out or fault
d Y/N Printing batch
e Y/N Busy printing
f Y/N Printer paused
g Y/N Label presented
h N Always No
Table 5-1 ASCII Status Bytes
Student Activities
Send command via HyperTerminal program.
^A
Observe the printer responding with a string of 8 bytes.
Student Activities
Pause the printer.
Observe the Pause LED is illuminated, indicating the printer is in a paused state.
Send command via HyperTerminal program.
^A
Observe the printer responding with a string of 8 bytes.
Teacher Activities
UnPause the printer.
Student Activities
Pause printer
Edit the label format using notepad. Saves the file as batch.txt ~L
D11
19119A1000100010batch of labels
Q0020
E
Materials
DPL Programmer’s Manual
Teacher Activities
Teacher will send STX commands via HyperTerminal to show a printer response.
System Control STX commands are discussed later, in various sections.
Status - determine printer state
Diagnostics - determine operability
Executed serially
Teacher Activities
Teacher transmits a command via HyperTerminal program.
where:
w- 1 digit for day of week
mm - 2 digits for month
dd - 2 digits for day
yyyy - 4 digits for year
hh - 2 digits for hour in 24 hour format
MM - 2 digits for minutes
Jjj - 3 digits for julian date or 000 for printer to calculate.
~A1020320000855034<cr>
This command translates to: Mon. Feb 3 rd., 2000, 8:55AM, 34th day of the year.
Student Activities
Listen and observe the projector.
Send command via HyperTerminal -
~A1020320000855034<cr>
Response: wmmddyyyyhhMMjjj
Student Activities
Transmit command via HyperTerminal program.
~B
Observe the printer responding with a time and date string.
Teacher Activities
transmit command via HyperTerminal program.
~v
Printer response: VER DA - 01.01 12/21/93<CR>
Student Activities
transmit command via HyperTerminal program.
~v
Observe the printer responding with a version string.
Teacher Activities
transmit command via HyperTerminal program.
~Z
Student Activities
transmit command via HyperTerminal program.
~Z
Observe the printer printing a Configuration label and a dot pattern label.
Teacher Activities
Teacher describes how to put the printer into TESTMODE. The printer response is
explained when an ~Y query sensors command is sent. The teacher explains how to get
more sensor values from the printer using the “SPACE” command.
Student Activities
Configure Test Mode via menu system
Or
transmit setup command via HyperTerminal program.
~KDG@@@<cr>
~Y
<space>
Materials
DPL Programmer’s Manual
.\materials \images\logo.lab
Teacher Activities
Exit HyperTerminal and start PowerPoint program.
Simple – 1 Text Field, D11 Command
Fonts 1-6
Fonts 7-8
Font 9
Formatting Style
Scalable Font Text
Column offset example
Row offset example
Barcode Fields
Graphics
Images
Advanced – Text Fields
Student Activities
~L
131100001000050Hello world D22 default
E
Student Activities
Edit 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”.
~L
D11
131100001000050Hello world D11
E
Teacher explains the difference between D11 and the default D22 in the label command.
Student Activities
Edit 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.2.1 Font 1
Teacher Activities
Provide a sample label on the projector
~L
D11
111100000500050FONT 1 ABCDfghij
E
Student Activities
Edit 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”.
7.2.2 Font 2
Teacher Activities
Provide a sample label on the projector
~L
D11
121100000500050FONT 2 ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
131100001000050FONT 3 ABCDfghij
E
Student Activities
Edit 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”.
7.2.4 Font 4
Teacher Activities
Provide a sample label on the projector
~L
D11
141100000500050FONT 4 ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
151100000500050FONT 5 ABCDfghij
E
Student Activities
Edit 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”.
7.2.6 Font 6
Teacher Activities
Note: Upper case only.
~L
D11
261100000500050FONT 6 ABCDfghij
E
Student Activities
Edit 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”.
7.3.1 Font 7
Teacher Activities
Provide a sample label on the projector
~L
D11
271100000500050FONT 7 ABCDfghij
E
Student Activities
Edit 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”
7.3.2 Font 8
Teacher Activities
Provide a sample label on the projector
~L
D11
281100000500050FONT 8 ABCDfghij
E
Student Activities
Edit 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”
~L
D11
2911A0400100050Four Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
3911A0500100050Five Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
3911A0600100050Six Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
3911A0800100050Eight Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
3911A1000100050Ten Point ABCDfghij
E
Student Activities
Edit 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”.
~L
Student Activities
Edit 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”
~L
D11
4911A1400100050Fourteen Point ABCDfghij
E
Student Activities
Edit 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 lp t1”.
~L
D11
4911A1800100050Eighteen Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
4911A2400100050Twenty-four Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
4911A3000100050Thirty Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
4911A3600100050Thirty-six Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
4911A4800100050Forty-eight Point ABCDfghij
E
Student Activities
Edit 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”.
~L
D11
4911A7200100050Seventy-two Point ABCDfghij
E
Student Activities
Edit 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”.
Where:
n- 1,2, 3 or 5
1= XOR
2= TRANSPARENT
3= OPAQUE
5= INVERSE
Student Activities
Observe
7.5.1.1 Inverse Text Example
Teacher Activities
Provide a sample label on the projector.
~L
D11
A1
161100003200010 NORMAL TEXT
A5
161100003000300 INVERSE TEXT
A1
E
Student Activities
Edit 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”.
~L
D11
A1
161100003200010 NOT MIRRORED
M
161100003000400 MIRRORED
E
Student Activities
Edit 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”.
~L
D11
A1
161100003200010 00000
z
161100003000300 00000
E
Student Activities
Edit 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 Activities
Observe
~L
D11
1911S0003600020P020P020 20H X 20W
1911S0003000085P015P025 15H X 25W
1911S0002400085P018P010 18H X 10W
Student Activities
Edit 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.
The double-byte symbol set is selected using ~yUxx command. The single -byte symbol
set is selected using the same command, ~ySxx. Each affects an independent database
selection and has no impact on the other.
Teacher Activities
Provide another sample labe l on the projector.
This command selects the scalable font symbol set. The selected symbol set
remains active until another symbol set is selected. See Appendices E, I, and H
for details. Option dependant. Not all symbol sets can be used with all fonts.
Syntax: ~ySxx
Sample: ~ySPM
~KEY\
~ySPM
~L
D11
1911S500010001000200020symbol set PM\A0A1A2A3A4A5\
E
~ySIT
~L
D11
1911S500010001000200020symbol set PM\A0A1A2A3A4A5\
E
Student Activities
Observe
Provide a sample label on the projector. This is the previous example with C0050 added.
~L
D11
C0050
A1
161100003200010 00000
z
161100003000300 00000
E
Student Activities
Edit 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.
~L
D11
R0100
A1
161100003200010 00000
z
161100003000300 00000
E
Student Activities
Edit 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”.
~L
D11
1A6205002000200ROTATION 1
E
Student Activities
Edit 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.
~L
D11
1A6205002000200ROTATION 1
2A6205002000200ROTATION 2
Q0001
E
Student Activities
Edit the file by adding another text string. This time make it rotation 2. Again 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 two barcodes printed.
~L
D11
1A6205002000200ROTATION 1
2A6205002000200ROTATION 2
3A6205002000200ROTATION 3
Q0001
E
Student Activities
Edit the file by adding another text string. This time make it rotation 3. Again 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 three barcodes printed.
~L
D11
1A6205002000200ROTATION 1
2A6205002000200ROTATION 2
3A6205002000200ROTATION 3
4A6205002000200ROTATION 4
Q0001
E
Student Activities
Edit the file by adding another text string. This time make it rotation 4. Again save the f ile
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 four barcodes printed.
7.10.1 LINES
Teacher Activities
Lines 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 Activities
Observe
~L
D11
1X1100001580083L255003
Q0001
E
Student Activities
Type 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 BOXES
Teacher 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 Activities
Observe
~L
D11
1X1100000000010B100100005005
Q0001
E
Student Activities
Type 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.
Student Activities
Observe
~L
D11
1X1100000000010B100100005005
1X1100100500200C00100010050
Q0001
E
Student Activities
Edit the file by adding another geometric figure. This time add a circle. Again 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 circle printed.
1 X 11 ppp rrrr cccc P ppp bbbb rrrr cccc rrrr cccc ... <CR>
Where:
Field Meaning Field Meaning
1 Rotation (must be 1) 001 Fixed Value
X graphic field ID 0001 Fixed Value
1 multiplier (must be 1) rrrr row of point 2
1 multiplier (must be 1) cccc column of point 2
ppp fill pattern # rrrr row of point 3
rrrr row of point 1 cccc column of point 3
cccc column of point 1 ...... additional points
P Polygon ID (Fixed Value) <CR> termination character
Table 7-4 Polygon Record Structure
Student Activities
Observe
~L
D11
1X1100000000010B100100005005
1X1100100500200C00100010050
1X1100000050310P02100100100035000050400
Q0001
E
Student Activities
Edit the file by adding another geometric figure. This time add a triangle. Again 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 triangle printed.
Materials
.\materials \images\logo.lab
Teacher Activities
Note: Graphics can not be rotated or resized.
Describe what the different types of modules, availability, and why we need them for
logos.
Provide a sample label on the projector.
~L
D11
1Y1100000500020logo
Q0001
E
Send the file via the parallel port from a DOS window using the DOS command
“copy logo.lab lpt1” this is an image file. Storing files to modules will be discussed later.
Student Activities
Send the file via the parallel port from a DOS window using the DOS command
“copy logo.lab lpt1” this is an image file. Storing files to modules will be discussed later.
Edit a new file and save the file as rlogo.txt then send the file via the parallel port from a
DOS window using the DOS command “copy rlogo.txt lpt1”.
Teacher Activities
Provide a sample label on the projector.
~L
D11
A5
1911A1000100010Demonstrate inverse text
E
Student Activities
Edit the label format using notepad. Saves the file as inv.txt, then sends the file via the
parallel port from a DOS window using the DOS command “copy inv.txt lpt1”.
Student observes text printed.
~L
D11
A1
1X1100000100010L200100
1911A1000100010Thick Line
E
Student Activities
Edit the label format using notepad. Saves the file as inverse.txt, then sends the file via
the parallel port from a DOS window using the DOS command “copy inverse.txt lpt1”.
Student observes a thick line printed.
Materials
DPL Programmer’s Manual
Teacher Activities
Provide another samp le label on the projector.
~L
D11
131100000500050Print Quantity
Q0005
E
Student Activities
Edit the label format using notepad. Save the file as quantity.txt then sends the file via the
parallel port from a DOS window using the DOS command “copy quantity.txt lpt1”.
Teacher Activities
Note: Printer specific ranges and defaults can be found in the Programmer’s Manual.
Provide another sample label on the projector.
~L
PC
D11
131100000500050Print Speed 2
Q0005
E
Student Activities
Edit the label format using notepad. Saves the file as speed.txt then sends the file via the
parallel port from a DOS window using the DOS command “copy speed.txt lpt1”
~L
PK
D11
131100000500050Print Speed 6
Q0005
E
Student Activities
Edit the label format using notepad. Saves the file as speed.txt then sends the file via the
parallel port from a DOS window using the DOS command “copy speed.txt lpt1”.
Teacher Activities
Teacher provides another sample label on the projector.
~L
PC
SC
D11
131100000500050Slew Speed 2
Q0005
E
Student Activities
Edit the label format using notepad. Saves the file as slew.txt then sends the file via the
parallel port from a DOS window using the DOS command “copy slew.txt lpt1”.
Student observes 5 labels being printed at two inches per/sec and the slew speed at two
inches /sec.
~L
PC
SK
D11
131100000500050Slew Speed 6
Q0005
E
Student Activities
Edit the label format using notepad. Saves the file as slew.txt then sends the file via the
parallel port from a DOS window using the DOS command “copy slew.txt lpt1”.
Student observes 5 labels being printed at two inches per/sec and the slew speed at six
inches /sec.
~L
pC
D11
131100000500050Back Speed
Q0005
E
Student Activities
Listen.
~L
H5
D11
131100000500050Heat Setting 5
Q0002
E
Student Activities
Edit the label format using notepad. Saves the file as heat.txt then sends the file via the
parallel port from a DOS window using the DOS command “copy heat.txt lpt1”.
~L
H25
D11
131100000500050Heat Setting 25
Q0002
E
Student Activities
Edit the label format using notepad. Saves the file as heat.txt then sends the file via the
parallel port from a DOS window using the DOS command “copy heat.txt lpt1”
Materials
DPL Programmer’s Manual
Syntax:
~e
Syntax:
~r
Sample: ~c0100
This sample sets a page length of 100, which equals 1.00 inch (assuming Imperial Mode is selected).
Materials
DPL Programmer’s Manual
Teacher Activities
Enable before using cutter
Sample:
~V1
Student Activities
Observe
Teacher Activities
immediately cycle the cutter blade
Cutter must be installed, enabled
interlocks closed
Syntax: <STX>o
~o
Student Activities
~V1
~L
:0005
141100001000100SAMPLE LABEL
Q0021
E
The sample instructs the printer to make a cut after labels 5, 10, 15 and 20 have
been printed. Label 21 will be cut at the start of a subsequent label format (batch)
unless a default (cut by amount) greater than one (1) has been entered via the menu
on equipped models.
Student Activities
Observe
~Kf0050
~V1
~L
141100001000100SAMPLE LABEL
Q0005
E
Student Activities
Observe
Materials
DPL Programmer’s Manual
Teacher Activities
Before a Present Sensor can be used, it must be installed and enabled. To enable a Present Sensor,
use the Software switch command.
Sample:
~V4
~Kf0050
~V4
~L
141100001000100SAMPLE LABEL
Q0005
E
Student Activities
Observe
This command specifies an additional amount to advance the label after print. It is
printhead sensor relative.
Syntax: ~Kfnnnn
Sample:
~Kf0100
The sample represents a one-inch label advance unless the printer is in metric mode.
~J – present mode
This command causes the printer to pause after printing each label and is intended for
use with the optional Peel and Present Mechanism or with a Tear Bar when no Present
Sensor is installed. After removing the printed label, the PAUSE button must be
pushed in order to print the next label. (The printer must be reset to clear the ~J
command.)
Syntax: ~J
~Kf0050
~V0
~J
~L
141100001000100SAMPLE LABEL
Q0005
E
Student Activities
Observe
Materials
DPL Programmer’s Manual
.\materials \Barcodes 2-D Controls \Datamatrix.bin
Teacher Activities
No syntax error messages
Printer prints all correct fields, ignores incorrect fields
Typical syntax errors results:
• expected format record does not print - missing parameter
• expected format record prints as continuation of the previous record - missing format record
terminator
• no label prints - missing label terminator
Student Activities
Observe and listen.
~L
A1
D11
1911A1002000010TEXT
1X1100002000000L400020
A2
1X1100000000200L020400
E
Student Activities
~L
D11
1T0205000150100ABCDEF<CR>
121100000000100Barcode T<CR>
E
Student Activities
Edit the label format using notepad. Saves the file as bar.txt then sends the file via the
parallel port from a DOS window using the DOS command “copy bar.txt lpt1”
Student observes barcodes printed.
Student Activities
Materials
DPL Programmer’s Manual
.\materials\Barcodes 2-D Controls \PDF-417.bin
Teacher Activities
This command is valid only for the next format record, after which the terminator
defaults to a carriage return. This allows the user to embed special binary control
codes (e.g., carriage returns) into the data to be printed. It is intended to be used with
record types (e.g., PDF417), that will accept binary data.
Syntax: Tnn
Sample: ~KEN
~KEY\
~L
D11
T00
1z0000000300110F0000000\d2d3d4d5d6d7d8d9dadb00\
1911A1000000100PDF-417
E
The above sample sets the terminator code to use a NULL terminator (ASCII NULL,
DEC 0, HEX 00) for the end of data line. The terminator is immediately restored to a
carriage return <CR> as seen in the format record containing the text
‘TERMINATOR’.
Student Activities
Observe
The general form of the label format record for the PDF417 bar code symbol is:
Dzwh000aaaabbbbFsHWRRCCdata
D - rotation, 1,2,3,4
z - PDF417 font designator
w - module width, dots
h - module height, dots
000 - not used
aaaa - position symbol corner (bottom-left) from label bottom, in/100 (mm/10)
bbbb - position symbol corner (bottom-left) from label left, in/100 (mm/10)
F - truncation, T/F, T = truncated (stop bars removed)
s - security, 0 -8
H - symbol height factor
W - symbol width factor
RR - symbol data rows, 00, 03-90
CC - symbol data columns, 00, 01 -30
data - the data to be encoded, any ASCII characters
H:W is referred to as the aspect ratio. Non-zero values for RR or CC have precedence
over HW values. Overall symbol size is dependent on w,h,F,s,H,W,RR, CC, and the data
to be encoded. When RR and CC are both 00, then the overall dimensional ratio is
approxima tely HW. H:W = 0:0 is the same as H:W = 1:2, and the overall dimension ratio
will be approximately 1:2 when wh = 00 or wh = 13. The resulting symbol when
specifying RR or CC is also an approximation of the specified values since the symbol is
also dependent on s as well as the encoded data.
H
RR
W
CC
~L
D11
2z0000002000200F100000014CharactersBZ
121100400000010Barcode z 14 characters, rotation 2
E
Student Activities
Observe
Teacher Activities
Recommended minimum dot size 55 at 203 dpi.
Row and Column parameters required
Invalid barcodes may print, but will not scan.
Row / Col specs must be greater than or equal to best fit
Best fit is Row / Col spec = 000000.
Row and column specs should be identical
~L
D11
4911A0600100010 8-bit data, format 0
1Wc77000002000300000000000!/09:@AZ[`az}~Ÿ¯¿Ïßïÿ
E
Student Activities
Observe
12.5.4 Maxicode
Teacher Activities
No sizing controls
Student Activities
Observe
Code 128 Subset A: Includes all of the standard uppercase alphanumeric keyboard
characters plus the control and special characters. To select Code 128 Subset A, place
an ASCII A (DEC 65, HEX 41) before the data to be encoded.
Code 128 Subset B: Includes all of the standard uppercase alphanumeric keyboard
characters plus the lowercase alphabetic and special characters. To select Code 128
Subset B, place an ASCII B (DEC 66, HEX 42) before the data to be encoded. If no
start character is sent for the 128 font, Code 128 Subset B will be selected by default.
Code 128 Subset C: Includes the set of 100 digit pairs from 00 through 99 inclusive,
as well as special characters. Code 128 Subset C is used for double density encoding of
numeric data. To select Code 128 Subset C, place an ASCII C (DEC 67, HEX 43)
before the data to be encoded. Subset C can only encode an even number of numeric
characters. When the data to be encoded includes an odd number of numeric
characters, the last character causes the printer to automatically generate a ‘switch to
subset B’ and encode the last character appropriately in subset B.
þNote: Recommended to use a B as the first character to prevent an A or C from
changing the subset.
Special Character Handling: Characters with an ASCII value greater than 95 are
considered special characters. To access these values, a two-character reference table is
built into the printer, see table below. As an example, to encode FNC2 into a Code 128
Subset A barcode, send the ASCII & (DEC 38, HEX 26) followed by an ASCII B
(DEC 66, HEX 41). Code FNC2 will be encoded.
Example: ATEST&B123 Data Encoded: TEST<FNC2>123
Data String Printer Interpretation
2 CHAR CODE A CODE B CODE C ASCII
&A FNC3 FNC3 N/A 96
&B FNC2 FNC2 N/A 97
&C SHIFT SHIFT N/A 98
&D CODEC CODEC N/A 99
&E CODEB FNC4 CODEB 100
&F FNC4 CODEA CODEA 101
&G FNC1 FNC1 FNC1 102
Table G-1 Special Character Handling
Control Codes in Subset A:
Control character encoding in Code 128 Subset A by sending these data strings:
Data String Printer Interpretation
` <NUL>
Student Activities
~L
D11
1X1100004000000L255001
131100004000260TEXT
Q0001
E
Student Activities
Type in label format using notepad. Save the file as line.txt then send the file via the
parallel port from a DOS window using the DOS command “copy line.txt lpt1”.
Student observes a line printed.
Repeat with new row position for line and text nearer the label top.
Repeat till 2 labels required for format.
~L
D11
1X1100000000000L255001
131100000000260TEXT
Q0001
E
Student Activities
Type in label format using notepad. Save the file as line.txt then send the file via the
parallel port from a DOS window using the DOS command “copy line.txt lpt1”.
Student observes a line printed.
~c0200
~L
D11
1X1100001890000L255001
131100001760260TEXT TOP
1X1100000000000L255001
131100000000260TEXT BOTTOM
Q0001
E
Student Activities
Type in label format using notepad. Save the file as line.txt then send the file via the
parallel port from a DOS window using the DOS command “copy line.txt lpt1”.
Student examines print near label top.
Repeat with new row position for line and text nearer the label top.
Repeat till 2 labels required for format.
~L
D11
1X1100000100000L400001
111100000100010Font 1 g
121100000100050Font 2 g
131100000100100Font 3 g
141100000100170Font 4 g
151100000100260Font 5 g
1X1100000500000L400001
161100000500010Font 6 g
171100000500160Font 7 g
181100000500250Font 8 g
101100000500320Font 0 g
1X1100001000000L400001
1911A0501000010Font 9 g
1911A0601000040Font 9 g
1911A0801000070Font 9 g
1911A1001000120Font 9 g
1911A1201000190Font 9 g
1911A1401000260Font 9 g
1911A1401000340Font 9 g
1X1100001300000L400001
1911S0001300010P010P010Scale g
1911S0001300052P012P012Scale g
1911S0001300100P014P014Scale g
1911S0001300160P016P016Scale g
1911S0001300230P018P018Scale g
1911S0001300305P020P020Scale g
1911S0001300390P022P022Scale g
Q0001
E
Student Activities
Type in label format using notepad. Save the file as line.txt then send the file via the
parallel port from a DOS window using the DOS command “copy line.txt lpt1”.
Student text printed positions relative line.
~L
D11
1X1100000100000L400001
1A4205000100010BAR A
1a4205000100110BAR A LO
1z2200000100250F1000000Now Is The Time To Come to an Equal
Understanding of the VALUE of PDF417 Barcode Standards in 1995.
1X1100001000000L400001
1B420500100001012345678901
1b420500100013012345678901
Q0001
E
Student Activities
Type in label format using notepad. Save the file as line.txt then send the file via the
parallel port from a DOS window using the DOS command “copy line.txt lpt1”.
Student barcodes printed positions relative line.
Materials
DPL Programmer’s Manual
PE42, PE43
Module Allegro Prodigy Prodigy DMX600 Prodigy Max E-4203
ID Allegro2 Plus DMX800 Ovation!
(Memory DMX400 Ovation!2
Bank) DMX430 ST-3306,
ST-3210,
Titan, XL
A Internal Plug-In Plug-In Plug-In RAM RAM1
RAM
B Plug-In Plug-In Plug-In Plug-In Plug-In Plug-In
C Default Default Default Default Default Default
D N/A N/A N/A Internal Internal NVRAM N/A
NVRAM
E N/A N/A N/A RAM N/A N/A
1
Internal configurable
Student Activities
Observe
Materials
DPL Programmer’s Manual
Teacher Activities
Provide a sample label on the projector. Must send via HyperTerminal.
This command tests all RAM modules; however, the printer must be in feedback
mode for the command to function. The printer returns a one -line message stating
whether the module is good or bad, (no message is returned if a module is
unavailable). Feedback mode can be enabled via the menu.
Syntax: ~t
Student Activities
Observe
This command performs a test sequence on flash memory modules; however, the
time for each test will vary, depending on the size of the module. The module
must have the write protect switch ‘Off’ for testing; all stored data will be
destroyed. The printer responds with ‘good’ or ‘bad’ message results for each
module tested. (No modules present will result in no printer response.)
Syntax: ~wa
Where: a - Module = A or B
Student Activities
Observe
Student Activities
Observe
Student Activities
Observe
Student Activities
Observe
Student Activities
Observe
Student Activities
Observe
Syntax: ~Xa
Sample: ~XB
Student Activities
Observe
Student Activities
Observe
Sample: ~qA
Student Activities
Observe
Syntax: ~xmtnn…n<CR>
Student Activities
Observe
Syntax: ~zm
Student Activities
Observe
M This represents the start of a sequence (up to five characters), that assigns
memory to the internal memory module. If this field does not appear, then
the internal memory module is not affected. If no internal memory module
exists, it will be created and formatted. If the internal memory module
already exists, it will be erased, re-sized and formatted. The number that
follows the M is a decimal number (up to four digits) that specifies the
size of memory in 4KB blocks, to assign to the internal memory module.
A value of "0000" will delete the internal memory module, (see Appendix
L for additional information).
S Represents the start of a sequence (up to five characters), that assigns the
amount of internal memory allocated to the smooth scalable font
processor. This field is optional and if it does not appear, the current
amount of memory assigned to the smooth scalable font processor is left
unchanged. This must be at least 15 to print scalable fonts and at least 30
for double byte fonts. The number that follows the S is a decimal number
(up to four dig its) that specifies the size of memory, in 4 KB blocks, to
assign to the smooth scalable font processor. The minimum requirement is
0015 (60KB). Any value less, results in the amount of memory assigned
to be zero (0000) and disables the printing of smooth scalable fonts. The
recommended value is 0025 (100KB).
W Represents the start of a sequence, (up to five characters), that sets the
printable label width. Setting a width smaller than the natural (maximum)
width of the printer effectively extends printable label length. This field is
optional and if it does not appear, the current printable label width is left
unchanged. The number that follows the W is a decimal number (up to
four digits) that specifies the printable label width in either 100th's of
inches or millimeters, depending on the current units setting of the printer
(English or Metric). If the value specified exceeds the natural (maximum)
width of the printer, the printable label width is set to its maximum. If the
value specified is less than the minimum value allowed, then the printable
label width is set to the minimum allowed value. The minimum allowed
value is 200 and maximum value is the maximum printer width.
Sample: ~KM0020:S0015<CR>
In the sample, memory is allocated 20*4*1024 bytes for module space and
15*4*1024 bytes for scalable cache.
Student Activities
Observe
Student Activities
Observe
Student Activities
Observe
Materials
DPL Programmer’s Manual
.\materials \redundant data\redundant.bin
.\materials \Scalable Font Text \Symbol Set Selection\92244e.bin
.\materials \downloading fonts \arial.dld
.\materials\downloading fonts \abcFONT.sfp
Teacher Activities
Provide a sample label on the projector.
~L
D11
1911A1000100010 redundant data example
1911A1000300030 redundant data field A
G
1911A1000500050 redundant data field B
G
1911A1000700070~SB
1911A1000900090embedded ~S in a field
E
Student Activities
Observe
Use SOH Send Batch Quantity command ^E repeatedly after label with large quantity.
~L
D11
1911A1000100010 redundant labels
Q0010
E
Student Activities
Observe
~I
Label format object x
In a DOS window, set the mode setting for the COM port by issuing this command line:
This will set up COM1 for 9600bps, 8 data bits, 1 stop bit, No Stop Bits, and Software
Flow Control represented by the letter ‘P’.
PRE.TXT
Command Description
^D<cr> Turns OFF Immediate Commands
~qA<cr> Clears Memory Module as defined as A
~Iapdrail<cr> cam is the filename without extension of the file you wish to
send to the printer
Close and save this file by going to FILE, SAVE, FILE, EXIT.
(substitute cam.pcx with the name of the graphic image you want to copy to the printer, the
/b is an indication to DOS’s COPY that you are sending a BINARY file)
The next example is optional, this LABEL.TXT file is a format to simply print the graphic
image onto a label
Create a file called LABEL.TXT and place the following information in it: NOTE:
Filename is case sensitive.
LABEL.TXT
~L
D11
1Y1100000100100drail
Q0001
E
Student Activities
Observe
Student Activities
Observe
Student Activities
Observe
Teacher Activities
Provide a sample label on the projector.
In a DOS window, set the mode setting for the COM port by issuing this command line:
This will set up COM1 for 9600bps, 8 data bits, 1 stop bit, No Stop Bits, and Software
Flow Control represented by the letter ‘P’.
To download any font to Datamax printers, the first thing you must determine is the font
file size and convert it to a hexadecimal value. You can achieve this by opening MS
Windows’ Calculator program, selecting VIEW, and then SCIENTIFIC to place the
calculator in scientific mode. Use this mode to obtain the hexadecimal value, input the
actual file size into basic mode, and depress the HEX key located on the calculator for the
hex value. The number that is reflected is the value you will need, write this number
down and retain it for future information in downloading. In this instance, we will be
downloading a font called ARIAL to memory module A.
Once you have the HEX value of the font, create a file called HEX.TXT with the
following information:
HEX.TXT
0000FF84
(Hexadecimal value for the font ARIAL.TTF, the value must have a total of 8 characters,
add leading zeroes as necessary, i.e. FF84 hex becomes 0000FF84.)
At this point, we want to copy the font file ARIAL.TTF with the HEX.TXT and merge
them together into a file called ARIAL.FNT. Do this by issuing the following DOS
command:
HEAD.TXT
^D<cr> (Turns OFF Immediate Commands)
~qA<cr> (Clears Memory Module A – Internal Memory)
~iAT52ARIAL<cr> (Informs the printer the name of the font)
Close and save this file by going to FILE, SAVE, FILE, EXIT.
LABEL.TXT
~L
D11
1911S5001000100P010P020 SCALABLE
Q0001
E
Student Activities
Edit files, download font, and print label.
Teacher Activities
Provide a sample label on the projector.
Portrait (SFP) and Landscape (SFL) PCL-4 (HP LaserJet II) format.
Font ID prefix <ESC>*c nnnD
~LD11
191110200100010SFP FONT ABCDEFGHIJKLMNOPQRSTUVWXYZ
291110200500020ABC
391110200500050ABC
E
Student Activities
Download font to printer, edit label file and send to printer
Observe not all characters print.
Font contains only ABC
Font contains only rotation 1, printer can provide rotation 3.
Student Activities
Observe
Materials
DPL Programmer’s Manual
Teacher Activities
Provide a sample label on the projector.
Student Activities
Observe
Materials
DPL Programmer’s Manual
Teacher Activities
Provide a sample label on the projector.
~xCS50
~WF
Student Activities
Observe
~qA
~L
D11
SK
PK
161100001200010DOUG
Q0003
sATEST
Student Activities
Edit a new file and save the file as stordoug1.txt then send the file via the parallel port from a
DOS window using the DOS command “copy stordoug1.txt lpt1”.
Student Activities
Student Activities
Student Activities
Observe
Materials
DPL Programmer’s Manual
~L
D11
1911A1000100010DOUG
sCDoug
Student Activities
Edit a new file and save the file as restorel.txt then send the file via the parallel port from a
DOS window using the DOS command “copy DOUG lpt1”.
~L
D11
1911A1000100010DOUG
sCDoug
Student Activities
Edit a new file and save the file as restorel.txt then send the file via the parallel port from a
DOS window using the DOS command “copy DOUG lpt1”.
~L
D11
1911A1000100010DOUG
sCTest
Label Quantity Command - Result: Printer prints 2 labels with DOUG on them.
Commands Description
~L Begin label formatting
rCTest Recall stored label named TEST
Q0002 Substitute quantity 2
E End label formatting and print
New label commands added after retrieval - Changes print and slew speeds
Commands Description
~L Begin label formatting
rCTest Recall stored label named TEST
D11
191100000300030X New test print field
PA
SA
E
~L
D11
1911A1000100010DOUG
E
~G
Student Activities
Edit a new file and save the file as reprint.txt then send the file via the parallel port from a
DOS window using the DOS command “copy reprint.txt lpt1”.
Student observes reprinted labels.
~L
D11
1911A1000100010DOUG
X
~G
Student Activities
Edit a new file and save the file as x.txt then send the file via the parallel port from a DOS
window using the DOS command “copy x.txt lpt1”.
Commands Description
~L Begin label formatting
rTest Recall stored label named TEST
X Terminate label formatting, do not print
~G Print
Commands Description
~L
rTest
X
~U01data Replacement data
~G Print label
~U01atad Replacement data
~G Print label
Replacement field and System Label Quantity Command - Result: Printer prints 3 labels
Commands Description
~L
rTest
X Do not print
~U01data
~E0003 quantity of update label.
~G
Student Activities
~L
I:\ Brusa G\Schemi MIseries\Advanced DPL.doc Page 113 of 134
© Copyright DATAMAX CORP. 2000 All Rights Reserved
D11
13220000000000012345
+01
Q0003
E
Student Activities
Edit a new file and save the file as nfield.txt then send the file via the parallel port from a
DOS window using the DOS command “copy nfield.txt lpt1”.
Student observes incrementing number printed.
14.8.4.2 Alphanumeric Fields
Teacher Activities
Provide a sample label on the projector.
Create test label to demonstrate incremental Alphabetic fields.
~L
D11
132200000000000ABCDE
>01
Q0003
E
• uppercase only
• incremental rate of 1 results in roll-over at Z to 1
Student Activities
Edit a new file and save the file as afield.txt then send the file via the parallel port from a
DOS window using the DOS command “copy afield.txt lpt1”.
Student observes incrementing alphabetic fields printed.
Teacher Activities
Provide a sample label on the projector.
Create test label to demonstrate Count By Amount.
~L
D11
13220000000000012345
-01
^02
Q0006
E
Student Activities
Edit a new file and save the file as cba.txt then send the file via the parallel port from a
DOS window using the DOS command “copy cba.txt lpt1”.
Student observes incrementing numbers by 2 printed.
Materials
DPL Programmer’s Manual
Syntax: ~k
Sample: ~k
Printer Response: Y
15.1.2 Dump
This command instructs the printer to enter the Character Hex Dump Mode (ASCII Dump /
“monitor mode”). All data sent to the printer following this command will be printed in the raw
ASCII format. Labels must be at least four inches (102mm) long and as wide as the maximum
print width. This command has the same effect as turning the printer ‘On’ while pressing the
FEED button; in this case however, a Configuration and Test label will be printed. To return to
normal operation, the printer must be manually reset.
Syntax: ~P
Materials
Teacher Activities
I & W Class DPL Constraint Cross-Reference:
Immediate
Command Description
D The internal firmware architecture no longer requires the execution of
an “SOH” shutdown for binary downloading.
All others The firmware architecture no longer will “go busy” due to SOH
commands filling the receive buffer while statusing the printer during
batch printing.
System-
Level Description
Command
A&B The printer calculates the Julian date. A non-zero date will not be
stored and returned.
C Copy Module – Not Supported.
D Memory Dump – Not Supported.
H Set Cutter Signal Time – Not Supported.
N Enter Internal Batch Mode – Not Supported.
O Set Start of Print Position – Not Supported – Use Operator Panel or
Label command Row Offset.
S Test Module Memory (Prodigy only) – Not Supported.
V Software Settings – Previously different for each printer – Verify
format.
Y Output Sensor Values – Verify response format.
b Set Cutter Signal Time – Not Supported.
d Double Buffer Mode – Not Supported.
f Set Form Stop Position – Not Supported – Use Operator Panel or
<STX>Kf command.
g Internal Batch Software Mode – Not Supported.
s Single Buffer Mode – Not Supported.
t Test RAM Memory Module – Verify response format.
v Firmware Version – Verify response format1 .
w Test Flash Memory – Verify response format1.
Label
Command Description
W Wait Mode (Prodigy) – Not Supported.
Z Zip Mode (Prodigy) – Not Supported.
Internal Description
Font
9 (Ann) Smooth Internal CG Triumvirate Bitmap Font – 9. Referencing
the Font 9 to Smooth CG Triumvirate Fonts are automatically
converted to the CG Triumvirate Scalable Font. The printed scalable
font is slightly smaller than previous printers, measuring less than
1/16 inch over three inches of print. The Euro Currency symbol is
referenced as determined by the selected scalable font symbol set. See
Appendix E.
9 (S00) CG Triumvirate Bold Condensed Scalable Font.
9 (S01) CG Triumvirate Scalable Font – Standard.
Modules Description
Default When specifying a module that is not available, the printer will
automatically select the default module.
Student Activities
Materials
Teacher Activities
Ask student population if plan to use Visual Basic.
Student Activities
Listen
Materials
.\matrials\VB Apps\database interface\ frmslant.frm
Teacher Activities
This is a sample Visual Basic program that displays a database record on the screen. The
user can scroll through the records, then print the selected one. Five barcodes are printed
along with data fields and headings.
'Item Variables
Dim Item1 As String
Dim PrintLabel As String
Dim OrderData As String
Student Activities
Listen and observe.
Materials
.\matrials\VB Apps\simple print\Form1.frm
Teacher Activities
This is a sample Visual Basic program that checks for a Datamax DMX-I-4206
printer driver installed. If one is installed then a barcode
is printed via the print driver.
Dim X As Printer
‘ search for printer queue name / driver name
For Each X In Printers
If X.DeviceName = "Datamax DMX-I-4206" Then ‘printer found
' Set printer as system default.
Set Printer = X
Exit For
End If
Next
End Sub
Student Activities
Listen and observe.
Materials
Materials \seagull\output\arial.prn
Materials \seagull\output\box.prn
Materials \seagull\output\font9.prn
Materials \seagull\output\image.prn
Materials \seagull\output\line.prn
Teacher Activities
Student Activities
Student Activities
Teacher Activities
Seagull Driver can do internal bitmap fonts. All other objects rendered using downloaded
images .
Student Activities
Student observes output file and notices that the driver does not assume that the printer is set
up a certain way and sends most of the setup commands for every file. Note: The <stx>
character shows up differently for different editors and word processors. Sometimes it will
not show at all.
M3000
c0000
e
O0100
f145
D L
L
D11
PF
SF
H10
191100601260166doug
Q0001
E
D11
PK Print and Slew speeds ranges and defaults are printer
SK specific. Default values recommended.
H10 Heat ranges and defaults are printer specific. Default
values recommended.
191100701040147Doug
Q0001
E
Student Activities
Students install Labelview, create label with small image, print to file, edit file.
Materials
Test form
Teacher Activities
Hand out test
Student Activities
Test
Materials
Questionnaire form
Teacher Activities
Hand out questionnaire
Student Activities
Fill out and return