beautypg.com

Appendix r, Line mode – Datamax-O'Neil Class Series II Programmer’s Manual User Manual

Page 309

background image

Class Series 2 Programmer’s Manual

295

Appendix R


Line Mode

Line Mode allows the printer to respond to raw data from a device that may not be able to
send a complete DPL file. In Line Mode raw data is directed into replaceable fields in formats

or templates stored in the printer.

The printer can be placed in Line Mode via the front panel, as explained in the printer’s
Operating Manual, or by using the KcEM command (see Extended System-Level
Command Functions), where:

KcEM0

will enter standard DPL Mode; and,

KcEM1

will enter Line Mode.

A reset will follow a change of mode.

While in Line Mode, the printer will also respond to DPL commands; however, special

download types (such as firmware updates) should only be sent when the printer is in

DPL mode.


Line Mode Specifics

Raw data sent to the printer must be terminated by a carriage return [0x0D].


The host timeout setting (see KcHT) will determine the maximum waiting period

between data sent. If the timeout value is reached, the label will print using the data
received before timeout occurred.


A form feed command [0x0C] may be sent to terminate processing and print the data

that has been received.


Issuing the Ennnn command (where nnnn represents the print count), allows

quantities of the same label to be printed.


The printer must have a template program loaded. A template is a standard DPL file that

ends in a store format command, instead of the print command (E). The template name
must be either DMXFRM or DMXFRMxx. Using DMXFRMxx, allows multiple templates to

be available.

Sample Template 1:

The following sample uses DMXFRM as the template name and stores it to the default module.
(The default module is printer model dependent.)

This manual is related to the following products: