This manual contains information proprietary to Microcom Corporation. This information is
intended solely for the use of parties operating and maintaining such equipment described
herein.
Product Enhancements
Microcom Corporation is committed to the continual improvement of performance and
quality in our products. For this reason, specifications are subject to change without notice.
Liability Disclaimer
Microcom Corporation makes every effort to assure that all information and specifications
contained in this manual are accurate; however, mistakes are sometimes made. Microcom
Corporation shall not be liable for any damages resulting in the use or misuse of this
product. The exclusion or limitation involving consequential or incidental damage does not
apply to all states; therefore limitation mentioned above may or may not apply.
FCC Compliance Statement
This equipment has been tested and found to comply with the limits for a Class A digital
device, pursuant to Part 15 of the FCC rules. These limits are designed to provide
reasonable protection against harmful interference when the equipment is operated in a
commercial environment. This equipment generates, uses, and can radiate radio frequency
energy, and if not installed and used in accordance with the instructions contained in this
manual, may cause harmful interference to radio communications.
HyperTerminal® and HyperAccess® are trademarks of Hilgraeve Inc.
Centronics
®
is a registered trademark of Data Computer Corporation.
HP® and LaserJet II® are trademarks of Hewlett-Packard Company.
Arial® is a registered trademark of The Monotype Corporation.
TrueType® is a registered trademark of Apple Computer, Inc.
Microsoft®, Windows®, Windows NT® are registered trademarks of Microsoft Corporation.
Other products and company names mentioned herein may be trademarks of their
respective owners.
Appendix D: User Notes ......................................................................................... 13-22
vi 324M/424M Operator’s Manual – 880026-0144
Introduction
The Model 324M and 424M printers are high performance Direct Thermal open frame
printers specifically designed for kiosk, OEM, and specialty applications. The only
difference between the two printers is the width of the print head: the 324M has a 3” wide
print head, and the 424M has a 4” wide print head. All other features are the same on both
printers.
Rear Side View
Front Side View
324M/424M Operator’s Manual – 880026-0144 vii
viii 324M/424M Operator’s Manual – 880026-0144
Chapter 1: Printer Specifications
1.1 General Specifications
Width* 8.53” (217 mm)
Height* 4.00” (102 mm)
Depth* 3.50” (88.9 mm)
Weight* 4.16 lbs. (1.9 kg)
Electrical +24 VDC
Current 3 Amps maximum
Temperature 40° F – 104° F (5° C – 40° C) Operating
Humidity 10% – 85%, non-condensing
SRAM Memory 512 K
Code Flash Memory 512 K
User Flash Memory 8 MB
Agency Approvals
Interface Communications
Flow Control XON, XOFF, and CTS
Baud Rate 110 to 115200
Parity Odd, Even, and None
Data Bits 7 or 8
Protocols TCP/IP
NOTE: Listed specifications are based on a standard print mechanism and may vary
based on final configuration.
Table 1-1 General Specifications
Designed to meet CUL, CE, and complies with FCC
Class A
RS-232 (9 pin D-Sub connector (DCE)), USB (version
1.1 supported), and optional 10/100BASE-T Ethernet
1.2 Printing Specifications
Print Type Direct Thermal
Print Resolution
Maximum Print Speed 8”/sec. (203 mm/sec.)
Maximum Print Width
Maximum Print Length 50” (1,270 mm)
Minimum Print Length 0.25” (6 mm)
324M/424M Operator’s Manual - 880026-0144 1-1
203 DPI (8 dots/mm = 0.0049” per dot)
300 DPI (12 dots/mm = 0.0032” per dot)
Continuous, die-cut, preprinted and tag stock either rolled
or fanfold
324M = 3.5” (89 mm)**
424M = 4.5” (115 mm)***
Table 1-3 Media Specifications
*NOTE: The printers may print on thicker media types depending on the pliability of the
material; however, this requires testing and evaluation. Contact your authorized Microcom
Corporation representative for additional information regarding testing and evaluation of
thicker or rigid media types.
**NOTE: The 324M printer’s media path has a maximum width of 3.5” while the actual
printable width is 3.15” for the 203 DPI and 3.189” for the 300 DPI print head.
***NOTE: The 424M printer’s media path has a maximum width of 4.5” while the actual
printable width is 4.095” for the 203 DPI and 4.252” for the 300 DPI print head.
The printers may be optimally configured with fixed media guides to assist in the installation
of media.
1-2 324M/424M Operator’s Manual - 880026-0144
2.1 Fonts
7 (203 DPI) smooth bitmapped alpha-numeric fonts from 6pt to 14pt.
TrueType® font capability using Microcom Corporation utility program.
19 (203 or 300 DPI depending on the print head resolution) downloadable
All bitmapped fonts expandable in height and width.
Reverse image printing.
Rotated: 0 º, 90 º, 180 º, and 270 º.
2.2 Graphics
Resident Lines feature.
Chapter 2: Features and Options
standard font set.
Storage of fonts, label formats and graphics in both volatile RAM and non-
All BMP files may be converted using a Microcom utility program.
Rotated: 0 º, 90 º, 180 º, and 270 º.
2.3 Bar codes
One-dimensional
Code 39
Interleaved 2 of 5
Code 128 (A, B, C and Auto)
Code 93
Codabar
Modified Plessey
UPC-A
UPC-E
volatile FLASH memory.
EAN 8
EAN 13
UCC/EAN 128
Postnet
2-1 324M/424M Operator’s Manual - 880026-0144
Two-dimensional
GS1 Databar
Omni-directional
Truncated
Stacked
Stacked
Omni directional
Limited
Expanded
PDF-417
Maxicode.
Rotated: 0 º, 90 º, 180 º, and 270 º.
Expandable in height and width.
2.4 Special Features
3 Serial Data inputs
RS-232D, up to 115,200 baud
USB 1.1
Rotating head mechanism for easy print head cleaning
Adjustable media guides for easy label centering or custom fixed guide
brackets
Software controlled contrast adjustment
Detects label gap, black line, and blow-hole using reflective and
transmissive sensors
Field incrementing, decrementing, and serialization
Downloadable fonts and graphics (with data compression)
Internal statistical counters for inches and labels printed
Remote printer interrogation
Two types of mounting methods for kiosk installation flexibility
On-site programmable flash memory updates
Supports 203 dpi and 300 dpi print heads
Four +24VDC control INPUTS
Four +24VDC control OUTPUTS
Automatic stock eject on paper-out
2-3 324M/424M Operator’s Manual - 880026-0144
2.5 Options
3.425” (87mm) or 4.488” (114mm) Guillotine cutter, Full Cut Only, 170 g/m2
3.425” (87mm) or 4.488” (114mm) Guillotine cutter, Full/Partial, 120g/m2
3.425” (87mm) or 4.488” (114mm) Rotary cutter, Full Cut Only, 200g/m2
+24 VDC Universal 85W Desktop Power Supply for 70°C
+24 VDC Universal 100W Desktop Power Supply
+24 VDC Universal 150W Desktop Power Supply with Hi-Temp Fan
Two reflective sensor inputs with indicator lights (Input 1 and Input 2)
Label Present Detector (LPD) reflective sensor with indicator light and
Printed Media Presenter (PMP)
10/100BASE-T Ethernet communications port
Remote print button and unit indicator light
adjustable range
Cleaning kit
324M/424M Operator’s Manual- 880026-0144 2-4
Chapter 3: Getting Started
3.1 Unpacking and Inspection
The printer has been packaged in protective foam to help reduce the damage during
shipment.
Inspect the shipping container(s) for signs of damage. If damage is evident, contact the
shipping company immediately to file a damage claim.
After the printer is removed from the container(s), verify that all the items on the packing list
are present and in good condition. The picture below (See Figure 3-1) shows a 424M
printer, optional power supply, and optional power cord. Your shipment may contain
different items.
The foam and shipping container(s) should be kept and used if the printer is to be shipped
at a later time. Additional shipping materials can be ordered by contacting the Microcom
Corporation Service Department.
Figure 3-1 Typical Printer Accessories
3.2 Connecting the Printer
The printer’s may be interfaced to PC’s, mini-computers, main frames, and special purpose
machines using the available communications ports described in the following sections.
324M/424M Operator’s Manual - 880026-0144 3-1
Getting Started Chapter 3
3.2.1 Printer Power
Microcom Corporation offers three (3) different “Desktop” universal power supplies as
options. Any power supply that conforms to the standard supply specifications listed in
Table 3-1 below may be used. The printer requires a universal +24VDC power supply that
operates in the 100-240 VAC; 50-60 Hertz range; 4 Amps. The power supply should
operate in an “output fold-back mode” during an overload situation rather than a shutdown
and restart attempt; sometimes referred to as a “Hiccup” mode. Contact your Microcom
Corporation representative for any questions regarding power adapter requirements and/or
specifications.
AC Input: 100-240 VAC, 50/60 HZ, 4A
DC Output: +24V @ 0.2 ~4.16A +/- 5%
Power Rating:
Overload Protection: Output Voltage Foldback Mode
Maximum Transient Load:
Printer Power Connector: Standard 4-pin power mini-DIN
Table 3-1 100 Watt Power Supply, w/o Fan 40°C
AC Input: 100-240 VAC, 50/60 HZ, 4A
DC Output: +24V @ 0.2 ~6.25A +/- 5%
Power Rating:
Overload Protection: Output Voltage Foldback Mode
Maximum Transient Load:
Printer Power Connector: Standard 4-pin power mini-DIN
Table 3-2 150 Watt Power Supply, with Fan 60°C
AC Input: 100-240 VAC, 50/60HZ, 4A
DC Output: +24V @ 0.2 ~4.16A +/- 5%
Power Rating:
Overload Protection: Output Voltage Foldback Mode
Maximum Transient Load:
Printer Power Connector: Standard 4-pin power mini-DIN
Table 3-3 85 Watt Power Supply, w/o Fan 70°C
100 Watts, no cooling, 40°C
12 cycles @ 2.1ms rep. rate;
35A, 650µs pulse
150 Watts, internal fan cooling, 60°C
12 cycles @ 2.1 ms rep. rate;
35A, 650 µs pulse
85 Watts, no cooling, 40°C
12 cycles @ 2.1ms rep. rate;
35A, 650µs pulse
3-2 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
GND
GND
View of Optional Desktop Power
Supply
Output cable connector
+24V
Figure 3-2 Optional Desktop Power Supply Output
AC Input
(115-230VAC)
On/Off Switch
DC Output
(+24 VDC)
Note: Verify that the printer’s On/Off switch is switched “off” before
plugging in the power cord into the electrical outlet and the power
supply’s output cable into the printer.
Figure 3-3 Connecting the Power
3.2.2 RS232 Serial Communication Interface
The printer provides a 9-pin female D-Sub connector, on the rear panel, for RS-232D serial
communication. The printer is configured as DCE (Data Circuit-terminating Equipment) so a
NULL modem cable is not necessary. A serial data cable is required to use serial
communications, refer to Table 3-4 below for correct cable configurations.
The factory settings, unless otherwise requested, are set at 115200 baud, 8 data bits, 1 stop
bit and no parity with both hardware and software handshaking enabled. The baud rate is
user selectable from 110 to 115,200 and uses software XON/XOFF flow control and/or
hardware CTS handshaking.
If XON/XOFF handshaking is used, the only signals that the printer requires are the RXD,
TXD, and GND signals. If the hardware handshaking is used, then the CTS and RTS signals
324M/424M Operator’s Manual - 880026-0144 3-3
Getting Started Chapter 3
are required. The other signals are offered in the event that the host computer would
require them.
3.2.2.1 RS-232 Serial Cables
The printer uses a standard through serial cable, typically referred to as a modem cable,
which may be purchased through Microcom Corporation or a local computer supply
company. A NULL-modem cable is not required because the printer is configured as DCE.
For a 25-pin serial communication port – Use a 25-pin female to 9-pin male cable.
For a 9-pin serial communication port – Use a 9-pin female to 9-pin male cable.
9 to 9 Pin Cable 9 to 25 Pin Cable
DE-9
State
XX 1 DCD
XX 2 TXD
XX 3 RXD
HI 4 DTR
LO 5 GND
HI 6 DSR
DC 7 RTS
XX 8 CTS
HI 9 +5V
Pin #
Signals /
Directions
PC
DE-9
Pin #
DCD
RXD 2 XX 2 TXD
TXD 3 XX 3 RXD
DSR 4 HI 4 DTR
GND
DTR 6 HI 6 DSR
CTS 7 DC 7 RTS
RTS 8 XX 8 CTS
+5V 9 HI 9 +5V -
1 HI 1 DCD
5 LO 5 GND
State
DE-9
Pin #
Signals /
Directions
DCD 8
RXD 3
TXD 2
DSR 20
GND 7
DTR 6
CTS 4
RTS 5
PC
DB-25
Pin #
DC = DO NOT CARE XX = INDETERMINATE
Table 3-4 RS-232 Cable Configurations
CAUTION: Connection of a serial port to a parallel port may
result in damage to the printer and/or computer.
3.2.3 USB Communication Interface
The 324M printer provides a single USB port for communication to a host device. In order
to communicate with the printer, the USB driver must be installed on the host computer.
This may be downloaded at http://www.microcomcorp.com/drivers.htm. The Windows
combined driver model (CDM) may be installed on XP, VISTA, Windows 7 or Windows 8
allowing applications to access FTDI devices through either the D2XX DLL or a COM port
without having to change driver type. However, it should be noted that an application can
only communicate through one of these interfaces at a time and cannot send commands to
the D2XX DLL and the associated COM port at the same time.
3-4 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
3.2.3.1 USB Driver Setup
The Windows combined driver model (CDM) may be installed on XP, VISTA, Windows 7 or
Windows 8 allowing applications to access FTDI devices through either the D2XX DLL or a
COM port without having to change driver type. However, it should be noted that an
application can only communicate through one of these interfaces at a time and cannot
send commands to the D2XX DLL and the associated COM port at the same time.
If there is an available Internet connection, Windows will silently connect to the Windows
Update website and install any suitable driver it finds for the device once connected. If an
manual install is desired, follow the instructions below.
Run the CDM.exe driver to install the FTDI based USB.
Click “Continue Anyway” if this dialog box pops up.
The next step is to install the D2xx.dll. While this is a communication port (RS-232)
emulator, no configuration of the RS-232 port is required.
Once installed, the FTDI USB device will show up as a USB SERIAL PORT (COMx) listed
under the “COMM PORTS AND LPT” within Device Manager. The “x” indicates the COMM
port number this will be used for that USB port connection to the printer.
324M/424M Operator’s Manual - 880026-0144 3-5
Getting Started Chapter 3
Connect the power cable and the USB cable to the printer and turn the printer on. If already
connected, disconnect USB and then reconnect the USB. The FTDI USB device should
now recognize and install.
3.3 MICPrinter USB Windows Driver
MICPrinter is a driver that allows most traditional Windows applications to print to a
Microcom printer equipped with fast USB capability. The Micprinter utility may also be used
in a command line environment if more than one device instance is needed. The
MicOptions GUI will only support one device at a time
The installation of the driver will require that the user has Administration privileges on the
host computer to complete the installation. Please note that the drivers should be installed
before connecting the printer and turning it on.
The first step would be to execute the MICPrinter installer (MICPrinter-Setup.exe) to install
the utility onto your system.
The first screen will be similar to:
Click the Next button to continue.
3-6 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
You will see a screen similar to this showing the progress of the installation.
Click “Continue Anyway” if this dialog box pops up.
324M/424M Operator’s Manual - 880026-0144 3-7
Getting Started Chapter 3
The next step is to install the FTDI USB driver. While this is a communication port (RS-232)
emulator, no configuration of the RS-232 port is required.
Once installed, the FTDI USB device will show up as a USB SERIAL PORT (COM) listed
under the “COMM PORTS AND LPT” within Device Manager. The “x” indicates the COMM
port number this will be used for that USB port connection to the printer.
Connect the power cable and the USB cable to the printer and turn the printer on. The FTDI
USB device should try to install. If it is unable to install, please manually install the by
following the example below.
Select YES to install the communications driver.
Select the FINISH button to complete the installation process.
The Micoption GUI may now be configured for the printer being used. You may access the
Micoptions GUI from either the PRINTERS and FAXES folder and select
3-8 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
Micprinter\Properties\Advanced Options\Setup Printer or START
button\Programs\Micoptions\Micoptions.
Micprinter listed under the Printers and Faxes folder.
324M/424M Operator’s Manual - 880026-0144 3-9
Getting Started Chapter 3
Selecting this will
This is a Micoptions configuration window sample.
Select the COMM port
# that the FTDI device
is connected to.
If selected, the driver
will auto detect the
communication port.
This should be disabled
if using the command
report the port
that the USB
device is
detected on.
The Form Setup may be used to save
a configuration.
Export the form to save the setup and
select Import to use an existing setup.
3-10 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
Media and
printer
configurations
Error monitors and the
ability to insert commands
or files into the data
stream.
Select and send commands, files, and
images directly to the printer port. This
is a great way to get started and to
verify printer settings.
324M/424M Operator’s Manual - 880026-0144 3-11
Getting Started Chapter 3
The Detect Hardware button is used to read
settings from the printer.
When the Autodetect is enabled, the driver will
communicate to the printer and automatically set
the Internal Parameters section.
The Calculate SPG button is to manually
calculate the SPG which is a registration
parameter used by the printer.
The AutoCalc SPG will cause the printer
to automatically calculate the parameter.
3-12 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
The Internal Parameters section is set
based on the printer being used. Please
use the table below to determine the
proper values if the Autodetect and
AutoCalc and not checked.
Product
Printhead
Width
203 or
300 dpi
Dot2Gap
Value
203 dpi 324M 640 203 284
300 dpi 324M 960 300 438
203 dpi 424M 832 203 284
300 dpi 424M 1280 300 438
203 dpi 424 832 203 468
300 dpi 424 1280 300 730
203 dpi 324M, TC, TM Black line 832 203 487
300 dpi 324M, TC, TM Black line 1280 300 720
203 dpi 324M, TC, TM Die-cut, Blow-
hole, Continuous
300 dpi 324M, TC, TM Die-cut, Blow-
hole, Continuous
832 203 264
1280 300 385
324M/424M Operator’s Manual - 880026-0144 3-13
Getting Started Chapter 3
saved.
The “APPLY” button
needs to be pressed in
order for changes to be
You will also need to create form sizes that match the media you are using within the
Windows form sizes if your form size is not included. To do this, open the Printers and
Faxes folder and select Server Properties from the File drop down menu.
3-14 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
A window similar to this will appear showing the available forms.
To create a new form, check the “Create a new form” check box, fill in the Form name, Form
description and remember to press Save Form to save it!
After you have created the appropriate forms you need. Press OK
Double click on the MICPrinter and you should see:
If we were printing any files they would be listed here. From the Printer drop down menu
select Properties. The properties pages are displayed.
324M/424M Operator’s Manual - 880026-0144 3-15
Getting Started Chapter 3
The appropriate form size for the media we are using with the printer is set within this
screen. Select Printing Preferences.
Now select Advanced…
3-16 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
Form Size
created under
Server
Properties
Print resolution
of the printer;
200 or 300
Press OK once
finished
Select the Paper Size (form size) being used.
Select the Print Resolution of the printer under the Print Quality.
Press the OK to continue.
Now we return to the MICPrinter Properties page.
Print Test
Page
Press the Print Test Page and see a sample printout.
Micprinter also provides the ability to use the driver in a Command line environment. If your
application needs more than one install per PC, then the command line operation would
324M/424M Operator’s Manual - 880026-0144 3-17
Getting Started Chapter 3
need to be used as the GUI will only support one install. Only one driver should be used at
a time. Issues may occur if more than one instance of Micprinter is used at the same time.
If a second printer is desired, then you could run two independent setups. You would need
to copy all of the supporting Micprinter files including the executable into separate
directories and specify the working directory of each as well.
From a Command line, type Micprint and press ENTER:
Reported to screen:
MICPrint.exe ver 2.8
Prints image based on attached BMP file and the registry entries..
Usage: MICPrint [<bmpfile>] - Send a bmpfile to the printer using the
registry settings
MICPrint [<bmpfile> 0] - same as above but for use with -f, -p and
-d options
MICPrint [<command_line> 1] - Send a command line to the printer
MICPrint [<cmdfile> 2] - Send a command file to the printer
MICPrint - this message
Other options:
-f<config_file> - Send the configuration to the printer as
a file (NOT READ FROM REGISTRY) This uses
the same exported setup file created from
the MICPrint Configuration utility
-p<communication_port> - Send the communication port to the
printer directly over-riding registry
and configuration file
-d<working_directory> - Directory for use with temporary files
-i - vertically invert the image before printing
-f<config_file> - This switch is used to specify the location of the Micoptions set file used to
configure the driver.
Syntax: -fc:\temp\app1\app1.set
-p<communication_port> - This switch is used to override the COMM port selection stored in
the configuration.
Syntax: -p08
-d<working_directory> - This switch is used to specify the location of the temporary files that
the driver creates to work. Each driver should have a unique working directory. Please not
that a space must follow the –d switch and the path must be surrounded by quotes with an
extra “\” character.
Syntax: -d "c:\\temp\\app1"
-i - vertically invert the image before printing – The image will be inverted before the driver
converts the image.
Here is an example of the Syntax used to print labels:
Example:
********************************************************************
cls
@echo off
REM Clears the environment variable so temporary status variable can be set
set errorlevel=
micprint c:\bin\odds4\sample.bmp 0 -p3 -d "c:\\bin\\odds4" fc:\bin\odds4\3.15x2.75_Odds.set
IF ERRORLEVEL 0 GOTO LabelP00
IF ERRORLEVEL -1 GOTO LabelN01
IF ERRORLEVEL -2 GOTO LabelN02
IF ERRORLEVEL -3 GOTO LabelN03
IF ERRORLEVEL -4 GOTO LabelN04
IF ERRORLEVEL -5 GOTO LabelN05
IF ERRORLEVEL -6 GOTO LabelN06
IF ERRORLEVEL -8 GOTO LabelN08
IF ERRORLEVEL -9 GOTO LabelN09
IF ERRORLEVEL -10 GOTO LabelN10
IF ERRORLEVEL -11 GOTO LabelN11
IF ERRORLEVEL -12 GOTO LabelN12
IF ERRORLEVEL -13 GOTO LabelN13
IF ERRORLEVEL -14 GOTO LabelN14
IF ERRORLEVEL -20 GOTO LabelN20
IF ERRORLEVEL -21 GOTO LabelN21
IF ERRORLEVEL -22 GOTO LabelN22
IF ERRORLEVEL -23 GOTO LabelN23
IF ERRORLEVEL -24 GOTO LabelN24
IF ERRORLEVEL -25 GOTO LabelN25
IF ERRORLEVEL -26 GOTO LabelN26
IF ERRORLEVEL -27 GOTO LabelN27
IF ERRORLEVEL -29 GOTO LabelN29
IF ERRORLEVEL -30 GOTO LabelN30
IF ERRORLEVEL -40 GOTO LabelN40
IF ERRORLEVEL -41 GOTO LabelN41
IF ERRORLEVEL -42 GOTO LabelN42
IF ERRORLEVEL -43 GOTO LabelN43
IF ERRORLEVEL -50 GOTO LabelN50
IF ERRORLEVEL -60 GOTO LabelN60
IF ERRORLEVEL -61 GOTO LabelN61
IF ERRORLEVEL -62 GOTO LabelN62
IF ERRORLEVEL -64 GOTO LabelN64
IF ERRORLEVEL -65 GOTO LabelN65
IF ERRORLEVEL -66 GOTO LabelN66
3-20 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
:LabelP00
echo SUCCESS
GOTO END
:LabelN01
echo UNABLE TO OPEN IMAGE FILE
GOTO END
:LabelN02
echo UNKNOWN IMAGE FILE TYPE
GOTO END
:LabelN03
echo UNABLE TO ALLOCATE MEMORY
GOTO END
:LabelN04
echo UNKNOWN ERROR
GOTO END
:LabelN05
echo UNSUPPORTED IMAGE RESOLUTION
GOTO END
:LabelN06
echo ERROR OPENING OUTPUT FILE
GOTO END
:LabelN08
echo ERROR OPENING BINARY OUTPUT FILE
GOTO END
:LabelN09
echo UNKNOWN ERROR
GOTO END
:LabelN10
echo UNKNOWN ERROR
GOTO END
:LabelN11
echo IMAGE COMPRESSIOM NOT SUPPORTED
GOTO END
:LabelN12
echo UNKNOWN ERROR
GOTO END
:LabelN13
echo UNKNOWN ERROR
GOTO END
:LabelN14
echo OUTPUT WIDTH EXCEED MAXIMUM
GOTO END
:LabelN20
echo BINARY IMAGE FILE NOT FOUND
GOTO END
:LabelN21
echo SETTING CONTRAST ERROR
GOTO END
:LabelN22
echo SETTING DISPENSE MODE 0 ERROR - NO DISPENSE MODE SENT
324M/424M Operator’s Manual - 880026-0144 3-21
Getting Started Chapter 3
GOTO END
:LabelN23
echo SETTING DISPENSE MODE 1 ERROR - ADVANCE WHEN IDLE
GOTO END
:LabelN24
echo SETTING DISPENSE MODE 2 ERROR - ADVANCE EVERY LABEL
GOTO END
:LabelN25
echo SETTING DISPENSE MODE 3 ERROR - CUT EVERY LABEL
GOTO END
:LabelN26
echo SETTING RETRACTION DELAY ERROR
GOTO END
:LabelN27
echo SEETING DISPENSE DISTANCE ERROR
GOTO END
:LabelN29
echo LOW STOCK PRIOR TO PRINTING
GOTO END
:LabelN30
echo LOW STOCK DETECTED POST PRINTING
GOTO END
:LabelN40
echo PRE-PRINT COMMAND STRING ERROR
GOTO END
:LabelN41
echo PRE PRINT COMMAND FILE ERROR
GOTO END
:LabelN42
echo POST-PRINT COMMAND STRING ERROR
GOTO END
:LabelN43
echo POST-PRINT COMMAND FILE ERROR
GOTO END
:LabelN50
echo SENDING FILE FORMAT ERROR
GOTO END
:LabelN60
echo BINARY FILE DOWNLOAD ERROR
GOTO END
:LabelN61
echo BINARY IMAGE DOWNLOAD TIMEOUT
GOTO END
:LabelN62
echo BINARY FILE SIZE ERROR
GOTO END
:LabelN64
echo STATUS AFTER PRINT TIMEOUT ERROR
GOTO END
3-22 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
:LabelN65
echo CLEAR MEMORY COMMAND ERROR
GOTO END
:LabelN66
echo IMAGE PROCESSING ERROR
GOTO END
:End
********************************************************************
3.3.1 Optional Cutter Interface
The printer is fitted with a connector on the rear panel for the optional cutter interface. Use
this connector when a cutter is to be installed on the printer. To prevent damage to the
printer and/or cutter, connect the cutter when the printer power is off. The cutter type is set
by the user using the ^D115 command and will be reported on the Statistics Label.
3.3.2 LPD Sensor Input
A Label Present Detector connector port is provided on the right side panel of the printer to
operate the optional LPD sensor. The LPD sensor detects when media is present on the
output side of the printer, and is used in conjunction with the tag/tear and peel-n-dispense
commands. A potentiometer is labeled as “RANGE” and is used to adjust the detection
range of the sensor. The maximum detection range may be adjusted from 0.20” to 0.85”
measured from the surface of the sensor to the reflecting surface of the media. A red LED
is provided (located left of the port) as a visual reference indicating media detection. If
using either the ^D97 tag/tear or ^D98 peel-n-dispense commands, the printer will also
issue the >TAKE LABEL< response when an enquiry request is issued.
3.3.3 Sensor Inputs 1 and 2
The printer provides two (2) General Purpose reflective sensor input ports on the right side
panel of the printer. These optional sensors are typically used to sense the presence or
absence of label media or a full catch tray.
These inputs, labeled “INPUT 1” and “INPUT 2”, have a fixed recommended detection
distance of 0.50” measured from the surface of the sensor to the reflecting surface or media.
3.3.3.1 Sensor INPUT 1
Input 1 provides a visual reference (amber LED) when the sensor is “tripped.” The printer
issues an >INPUT 1< when an enquiry response (^E) is requested. The active state
(normal or inverted) of the Input 1 is determined by the software switch bank 3, location 2
(^D23 Command).
3.3.3.2 Sensor Input 2
Input 2 provides a visual reference (green LED) when the sensor is “tripped.” The printer
issues an >INPUT 2< when an enquiry response (^E) is requested. The active state
(normal or inverted) of the Input 2 is determined by the software switch bank 3, location 4
(^D23 Command).
324M/424M Operator’s Manual - 880026-0144 3-23
Getting Started Chapter 3
LPD Sensor Port
LPD Range
Adjustment
Input 1
Input 2
LPD Sensor LED
(Flashes red when
label is present)
(Flashes amber when
Input 1 Sensor LED
label is present)
Input 2 Sensor LED
(Flashes green when
label is present)
Figure 3-4 Sensor Input Ports
3.4 Loading Media
The easy- to-release print head makes loading media into the Model 324M/424M printer an
easy process. Follow the instructions below to properly load the media.
1. Feed the media into the paper path, located on the back of the printer, until you feel
resistance.
2. Push and hold the Print Button to feed the media through the printer.
3. Once the media exits the front of the printer, release the Print Button.
The printer is also equipped with an AutoLoad feature. This feature allows the printer to
automatically sense new media as it is inserted into the printer, and automatically feed the
media to provide proper registration of the first label/tag to either the leading edge or a
registration mark. For more details on this feature, please refer to Chapter 5, AutoLoad
Commands.
3-24 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
Adjustable Paper Guides
Step 1.
Insert label stock
here until it stops…
Step 2.
… then press and hold
Print Button to advance
label stock.
Step 3.
Print test labels until print
is properly registering
with label stock by
tapping Print Button.
Figure 3-5 Loading Media
324M/424M Operator’s Manual - 880026-0144 3-25
Getting Started Chapter 3
Print
Button
3.5 Print Button and Status Indicator Light
The Print Button and the Status Indicator Light are used to identify and perform many
functions. This section provides a description to familiarize you with the basic function of
the Print Button and the Status Indicator Light.
Figure 3-6 Print Button and Status Indicator Light
Status Indicator Light
3.5.1 Print Button
Operation Description
Press the Print Button while the printer is IDLE or PAUSED to
Printing a label
Pause printing
Feeding labels
(Line feed)
reprint the last label.
A power up label will print after a power ON cycle when the Print
Button is pressed.
Press the Print Button briefly while the printer is printing to enter
the PAUSED mode.
Press the Print Button again to continue printing.
Press & hold the Print Button while the printer is IDLE to advance
label media. The printer will continue advancing label media until
the Print Button is released.
Table 3-5 Print Button Description
3-26 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
3.5.2 Status Indicator Light
Light Color Description
Solid Green
Solid Red
Solid Amber
Flashing Red
Indicates that the power is on and the printer is in a ready state.
Indicates an error has occurred. The printer will remain in this
state until the condition is removed. If an unexplained error
persists, contact your Service Representative.
The printer is in the Tag/Tear or Peel-and-Dispense mode and is
waiting for the label/tag to be taken.
OR
Indicates that the printer is in the Boot Loader mode (MCB) and is
not running the printer application program.
A cutter error has occurred.
OR
A memory download operation was not successful.
OR
Power Spike or low voltage on the AC line. (The printer will
remain in this mode until the condition is removed and the printer
power is cycled.)
Flashing Amber Printer is PAUSED,
Table 3-6 Status Indicator Light Description
3.6 Printer Modes
The printer has four primary modes of operation. The different types of modes have an
impact on how the Print Button and the Status Indicator Light operate. This section is
intended to provide the user with an explanation of these different modes.
3.6.1 Idle Mode: GREEN
The printer is in the IDLE Mode when it is not printing and/or has no pending activity. The
indicator light is GREEN, which indicates that the printer is ready to receive label formats
and/or commands.
In IDLE Mode the Print Button has several different functions:
1. Pressing the button quickly will reprint the last label
2. If the printer was just turned ON and no formats were sent to the printer,
pressing quickly will print the power-up label,
3. Holding the button depressed: Form Feed labels until the button is released.
324M/424M Operator’s Manual - 880026-0144 3-27
Getting Started Chapter 3
3.6.2 Halted Mode: RED
The printer is in the HALTED Mode when it has stopped due to an error condition. The
Status Indicator Light will be solid red in color when the printer has entered the HALTED
Mode. The printer will remain in this mode until the error has been corrected and cleared.
Once the error has been cleared, the printer will attempt to execute the previous format
and/or commands.
3.6.2.1 Steps to clear the >STOCK OUT< error
a) Load new label media.
b) Press the Print Button quickly to start printing.
c) Press the Print Button until label is properly registering on media.
d) Press the Print Button again during printing to resume batch printing.
3.6.2.2 Steps to clear the >STOCK OUT< error with “E-Z Out function”
If Soft Switch #5, Bit #1 is set to “1”, then a single quick press of the Print
Button will clear the >STOCK OUT< error once the printer has more label
media loaded.
3.6.2.3 Automatic Stock Eject on >STOCK OUT<
The printer performs an Automatic Stock Eject operation whenever it runs out
of label media. As soon as the >STOCK OUT< condition is detected, the
printer feeds the label media forward to clear the drive roller.
The feed distance is just enough to eject the last of the label media past the
drive roller and then stop. This happens automatically…the user doesn’t have
to hit the Print Button.
3.6.3 Paused Mode: Solid or Flashing AMBER
There are several ways that the operator can control the output of the printer. The printer
will display either solid or flashing AMBER depending upon the mode of operation. Also,
the printer will display a solid AMBER during a FLASH operation.
Solid AMBER A printed tag/label is waiting to be taken by the operator when the
printer is in a Tag/Tear (^D97) or Peel-and-Dispense (^D98) mode.
The printer is in the FLASH mode.
Flashing AMBER Pressing the Print Button during tag/label printing will pause printing. It
will resume printing by pressing the Print Button again.
3.6.4 Diagnostic Mode
The Diagnostic Mode temporarily powers up the printer using factory default parameters.
Also, the printer’s current user configuration parameters and statistical information are
printed out on a Status Label. This provides useful information to help diagnose and
troubleshoot problems. The printer will use the factory default parameters until the printer
has been reset using a soft reset or by cycling power. The printer will then return to the
configuration shown on the Status Label.
3-28 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
3.6.4.1 Entering Diagnostic Mode
To enter the Diagnostic Mode, press and hold the Print Button “IN” while turning the printer
“ON.” Release the Print Button after printer begins to print the Status Label. The printer will
enter the DIAGNOSTICS Mode, and print the Statistics label and a print test pattern.
In the DIAGNOSTICS Mode, the printer is forced to use the RS-232 port at 115,200 baud.
The normal Soft Switch settings are ignored, and factory default settings are loaded into the
printer. These default settings will remain in effect until the printer power is cycled or a Soft
RESET command is issued (^D32). These are the only 2 ways to get out of the
DIAGNOSTICS mode.
3.6.4.2 Statistics Label
The Statistics Label may be printed either by entering the DIAGNOSTICS Mode or sending
the Printing Statistics Command.
PRINTER SERIAL #: 00516645051
PRINTED LABELS: 303
PRINTED INCHES: 1533
TOTAL INCHES: 1571
POWER ON HOURS: 32.8
CUTTER TYPE: Guillotine
CUTTER ENABLED?: YES
CUTTER COUNTS: 1789
KIOSK CUT MODE: Disabled
KIOSK DISTANCE: 0
SWITCH BANK 1: 10001010
SWITCH BANK 2: 01010001
SWITCH BANK 3: 00000000
SWITCH BANK 4: 00000000
SWITCH BANK 5: 00000000
SWITCH BANK 6: 00000001
CURRENT COMM PORT: Autoselect USB/RS232
RS232 PARAMETERS: 115200-N-8-1
PRINT HEAD SIZE: 1280
PRINT HEAD DPI: 300
% CONTRAST: 100
D91 GAP VALUE: 30
TOF DISTANCE: 179
STOCK OUT VALUE: 100
PRINTER CODE REV: 02.12.050719A
BOOTLOADER CODE REV: 02.12.050719A
CODE ASSY PN. 071001-0212
PRINTER SERIAL #: 00516645051
PRINTED LABELS: 303
PRINTED INCHES: 1533
TOTAL INCHES: 1571
POWER ON HOURS: 32.8
CUTTER TYPE: None
KIOSK CUT MODE: Disabled
KIOSK DISTANCE: 0
SWITCH BANK 1: 10001010
SWITCH BANK 2: 01010001
SWITCH BANK 3: 00000000
SWITCH BANK 4: 00000000
SWITCH BANK 5: 00000000
SWITCH BANK 6: 01110010
CURRENT COMM PORT: Autoselect USB/RS232
RS232 PARAMETERS: 115200-N-8-1
PRINT HEAD SIZE: 1280
PRINT HEAD DPI: 300
% CONTRAST: 100
D91 GAP VALUE: 30
TOF DISTANCE: 160
STOCK OUT VALUE: 100
PRINTER CODE REV: 02.12.050719A
BOOTLOADER CODE REV: 02.12.050719A
CODE ASSY PN. 071001-0212
Figure 3-7 Status Label (Examples)
3.7 Printer Integration
When designing a kiosk, it is important to consider how the printer will be used, operated,
serviced, integrated with other kiosk components, and integrated into the enclosure itself.
The printer has some basic requirements in order to operate reliably for years. The printer
has some basic requirements in order to operate properly for years. Microcom has a staff
that is committed to helping integrate our products. We will do as much as needed to ensure
that the process goes correctly and smoothly. Reference documents, 3D CAD files and
drawings can be provided.
324M/424M Operator’s Manual - 880026-0144 3-29
Getting Started Chapter 3
The general issues are:
Only trained personnel should have access to, operate, or service the printer.
Dispense position of the media, top, front or dropped into a tub.
Mounting of the printer to the kiosk.
Printer Power Requirements.
Interface between the host computer and the printer.
Media Handing – The design of the kiosk should consider the type of media to be
used: roll or fan-fold media; the appropriate media dispensing system; the location of
the media in the kiosk relative to the printer; and the overall size of the media
package (roll diameter or stack height).
Operator access for loading, cleaning and service.
The printer's user interface for status lights and also access to view and press the
feed button while observing the status light for media loading, setup, and servicing
the printer.
Space to open, clean the print head or remove jams and replace the print head.
The media path between the printer and media (roll or fan-fold).
Access to the mounting hardware in order to service or replace the printer.
Ambient Lighting and external light sources which can affect printer’s behavior.
Keeping the printer cool and free from dust.
3.7.1 Environmental Considerations
Unless specified differently in the operator’s manual or in the product specification sheet,
the operating environment for Microcom printers is listed below.
- Relative humidity: 10-85% non-condensing
- Operation Temperature: 40° to 104° F (5° to 40° C)
3.7.2 Printer Mounting Orientations
The printer can be mounted horizontally or vertically, both up dispensing and down
dispensing, depending on the design of the kiosk. Environmental conditions that may affect
operation: Humidity, temperature, air circulation air in the kiosk, and static buildup on
adjacent kiosk components and surfaces, etc. Media considerations: Paper length, partial or
full cut, curl at the end of the media roll, thickness and weight, perforations on fan-fold
media, etc. Other considerations: Media mounting, media path, media access, printer
maintenance, cabling, etc.
It is recommended; when the designer wants the media to fall clear of the printer when cut,
that the printer be mounted vertically and the use of static prevention are used. See the
Electrostatic Discharges section later in the guide.
3-30 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
8.54”
5.52”
8.20”
4.56”
*Printer pictured with optional cutter installed.
Figure 3-8 Printer Dimensions
3.7.3 Media Mounting Considerations
The printer uses direct thermal media which is chemically treated to react to heat.
The printer has several basic requirements for running the media to the printer from a roll or
fan-fold media which include:
The printer uses direct thermal media which has been chemically treated to react to heat.
The printer has some basic requirements for the media to run successfully through the
printer.
• The centerline of the media roll or fan-fold stack should align with the center of the printer’s
paper path to provide the best tracking of the media and reduce media damage. A media
guide is required for printing accurately and consistently.
• Do not blow air onto the media. Air should be pulled from the kiosk to keep out dust (which
shortens print head life and affects print quality) and chemicals (such as cleaning solutions
like ammonia or bleach). Air flow within the kiosk should not pull exhaust heat from other
kiosk components and power supplies across the media or printer.
• Avoid direct sunlight, incandescent or infrared lighting or heat sources. These light sources
can come from openings in the kiosk and other kiosk components. Incandescent light bulbs,
sun light and heat sinks are examples of heat sources that shouldn’t be near the printer or
media.
• The media path must be smooth and not cause excessive drag. It should be clear of
cables, other kiosk components, or surfaces other than media guides, supply holders or the
fan-fold media tray. Roll media must be able to turn with minimal resistance and allow the
printer to smoothly pull media without jerking or snagging. Minimize friction with the roll
holder contact and avoid sharp corners in the media path. Larger, heavier media rolls are
more susceptible to these issues. Fan-fold media must have sufficient room to unfold and
not bind on media guides, tray surfaces or media perforations. An improper media path can
324M/424M Operator’s Manual - 880026-0144 3-31
Getting Started Chapter 3
produce a compressed print, slipping, and jamming which can occur more frequently as the
printer ages.
3.7.4 Designing a Roll Support
Media roll supports may be purchased from Microcom. If you are designing a custom roll
support, please be aware of the following design guidelines.
• Implement a simple design which allows the media to be gently placed in the kiosk.
• Minimize the drive train load caused by the media supply. Do not use wires, cables or rods
as a roll holder - all of these can cause the roll to stop and start and rock back and
forth. The inside of the roll core should be smooth and free from dust. The larger the roll, the
greater the effect it has on drag and possible slipping.
• The spindle used inside the core should be sized properly so that it doesn’t fit tight or
cause the core to rock on the spindle. A good rule is to make the spindle at least .05”
smaller than the inside diameter of the core.
• Leave plenty of access room to load media when designing the area for your roll holder.
3.7.5 Designing for Fan-Fold Media
Fan-fold media must be handled correctly. When it unfolds, it can get caught and the stack
may fall into other components and cabling. Make a tray to hold the fan-fold media. This tray
could be the box that fits into a shoe provided by the stock converter. Always test and
observe the media for these types of problems. Fan-fold media can un-fold differently at the
beginning and end of the stack. This stock can also stick to itself because of the
perforations. Choose a stock converter with experience with this process. The media stack
should never be able to be pulled into the back of the printer. When using fan-fold stock, the
stack should be located back from the printer far enough to allow the media to unfold prior
to entering the back of the printer to prevent it from jamming. Once again, the fan-fold media
should be in proper alignment with the paper path of the printer. This misalignment can
cause jamming or the print image not to appear correctly on the stock.
3.7.6 Designing Media Guides
The media guides need to have a minimum radius of .5”. The surface should be smooth and
not touch the edges of the media (causes drag or edge damage). They need to be in
alignment with the printer and the supply holder. Additional guides to ensure the paper
tracks straight may be necessary. These guides should be sized properly to ensure tracking
without damage to the stock. Check with the stock converter for the proper tolerance and
then size the left and right guides for some clearance over their maximum width. It is
recommended that a minimum of 1.5” long guides be used to ensure the stock doesn’t fold
over on itself or tear. These guides could also be used to keep cables away from the media.
3.7.6.1 Designing the Media Dispense Path
Properly dispensing the media from the printer is critical to the operation of the printer and
quality print.
• The media dispense chute should always be wider than the maximum width stock for the
printer being used.
3-32 324M/424M Operator’s Manual - 880026-0144
Chapter 3 Getting Started
• Upon exiting the printer, the media should never be forced or bent as this will cause
jamming.
• The stock should never be expected to drop through a chute as this may be unlikely due to
electrostatic discharge as covered later in this document.
• The exit chute should act as a funnel and always be larger than the dispense point.
• Never allow the user to grab the printed media prior to the cut operation as this could
cause jamming or stretched print. The use of a presenter or drop tub is recommended.
Guides specific to a fixed length can also be designed.
3.7.6.2 Cables and Routing
Always use cable ties and locking connectors if possible, allow for kiosk component
servicing, and avoid electrical noise sources.
• Cables that are near the printer, media path, or media should be tied to the kiosk chassis
or printer mounting hardware. The operator can accidentally disconnect the printer or other
kiosk components when maintaining the kiosk. Cabling must not interfere with the proper
operation of the printer and media. The operator can become caught on cabling and drop
heavy media damaging the kiosk, printer, or hurting themselves.
• Service Loops - There should be enough slack in the cabling to not put pressure on the
cable connectors or the circuit boards. Enough slack is needed to disconnect the printer (or
their kiosk components) for servicing. Allow for movement needed to access the cable locks
or slide the printer out.
• Avoid electrical noise sources: fluorescent lighting and ballast, power supplies, fans, AC
power lines, CRT monitors, etc.
• Avoid twisting power and communication cables together. This can cause electrical noise
on the communication port or raise emissions levels.
3.7.7 Power Supply Requirements
Thermal printers have special power requirements to operate correctly and safely within
compliance regulation guidelines. To achieve optimum performance, an approved power
supply should be used. Power supplies sold by Microcom Corporation have gone through
rigorous testing to ensure the proper function of the printer. If a non-Microcom supplied
power supply is used with the printer, it must comply with the requirements of that printer.
The same ground MUST be used for the printer, printer power supply, and any device (PC,
USB hub, etc.) connected to the printer communication ports, and the same AC power
circuit should be used whenever possible for these devices. If the printer does not have an
integrated power switch, it is recommended that the power supply have one on the ac input
side to the power supply. Plugging and unplugging the 24 volt supply into the back of the
printer hot can cause damage to the printer. Using an insufficient power supply can cause
damage to the printer. Thermal printers require high over current peaks of power that must
be handled by the power supply. When Short Circuit Protection or Over Current Protection
is activated, the power supply should shutdown automatically. Once the abnormal condition
resulting in the failure is removed, the power supply should restart accordingly. If over
324M/424M Operator’s Manual - 880026-0144 3-33
Getting Started Chapter 3
Voltage Protection is activated, the power supply will shut down. The power supply should
be fully protected against short circuits and automatically recover gracefully.
It is highly recommended that Microcom provide the power supply in order to prevent
damage to the printer or cause the printer not to function properly.
3.7.8 Electrostatic Discharges and Ground Connections
The printer should have a dedicated earth ground connection. Preventing ESD and earth
currents from affecting the printers operation requires proper connection to the printer
chassis via a 12 AWG wire to earth ground. The ground wire should be connected to the
printer chassis using a closed loop connector. Measure the resistance with an ohm meter to
ensure proper grounding.
The same ground MUST be used for the printer, printer power supply, and any device (PC,
USB hub, etc.) connected to the printer USB or serial ports. The same AC power circuit
ground location should be used whenever possible for these devices.
If the printer is in a low humidity environment, the use of anti static brushes or tinsel may be
required.
Electrostatic discharges can cause damage to the print head, memory or electronics. This
damage will manifest itself as lost pixels on the print head, memory scrambling,
communication to the printer lost or other issues causing the printer not to function properly.
This damage can be immediate or happen over time.
When working with the USB port, it is imperative that ESD and Ground connections are
adhered to or potential disconnect issues may be encountered. We also recommend
disabling the ability to allow the computer to turn off the USB device under the Power
management.
Example:
1. Open the system Device Manager.
2. Scroll to the Universal Serial Bus Controllers and expand the listing.
3. Open the USB Root Hub’s listed (not the USB 2.0 Root Hub’s).
4. Go to the Power Management tab under the Properties.
5. Uncheck the “Allow the computer to turn off this device to save power”.
6. Select OK and repeat for the remaining USB hubs.
3-34 324M/424M Operator’s Manual - 880026-0144
Chapter 4: Designing Labels Using LDS
Label Design Software (LDS) refers to the control language resident in the printer used to
create labels. All bitmapped fonts, character sets and bar codes are resident in the printer.
Additional fonts and graphic images may be sent from a host and stored in the printer’s
memory.
A label format is produced by a series of 5 steps:
1. Control commands to define printer operation.
2. A format header to define the label height, width, print speed, etc…
3. Field data that defines the placement of text, bar codes, graphics or lines.
4. Actual text data to place in the Field data strings.
5. Control commands to initiate printing.
4.1 Control Characters
Throughout this manual there are references to control characters. In order to print them in
this manual, they have been written using standard characters and icons. Escape
characters are represented by <ESC> and a carriage return is represented by <CR>. It is
important to note that all printer functions, unless otherwise noted, must be followed or
terminated with a carriage return (<CR> or HEX OD). The printer ignores the <LF> (Line
feed) or HEX 0A character so it si easier to read and troubleshoot files if the <LF> character
is sent after the <CR> character.
Note: Control codes are ignored when the printer is configured for binary compression
mode (^D23, bit 7).
4.2 LDS Design Exercises
There are many different machines capable of sending information to the printer including
main frames, mini-computers, special purpose computers and PC’s. For the purpose of
simplicity, the design exercises contained in this manual will use one of the easiest methods
by using an IBM compatible PC and a VT-100 terminal emulation software program. This
method of connection will allow two-way, serial communication with the printer.
Items required:
- A computer with at least one unused serial communication port (COM1, COM2…).
- A serial interface cable.
- A VT-100 terminal emulation program such as HyperTerminal™.
- A text editor that does not add formatting characters such as Microsoft® Notepad.
4.2.1 PC Connection (Serial)
The printer is shipped with serial communication parameters set to 115200 bits per second,
no parity, 8 data bits, and 1 stop bit (115200-N-8-1). This means that for proper
communication, the PC’s communication port must be set to these parameters. If a terminal
program is not available, it is possible to send files to the printer using the DOS COPY (for
example: C:\>COPY FILENAME COM1) command. When using DOS, set the
communications port up using the DOS MODE (for example: C:\>MODE
324M/424M Operator’s Manual - 880026-0144 4-1
Designing Labels Using LDS Chapter 4
COM1:115200,n,8,1,p) before copying the files to the port. Create a text file, enter “^D3”
<CR> (carriage return) and save it as “D3.txt”. Send the file to the printer by either using the
DOS COPY (C:\>copy d3.txt com1) command or by using a terminal program.
Figure 4-1 HyperTerminal™ Window Example
4.2.2 Format Creation
Special Control code functions (see Chapter 5, Special Control Codes) and/or label formats
may be entered directly through the keyboard but this is not the most efficient method if
entering a large amount of data or numerous commands. Large formats and/or numerous
commands should be entered in an ASCII text editor and then uploaded to the printer.
Microsoft® Notepad has been used for the creation of label designs in this manual because
it is simple to use and does not add formatting characters.
The LDS programming language uses thermal dots as the unit of measure. All commands
and parameters, unless noted otherwise, should be entered using dots. The 324M and
424M printers may be fitted with either a standard density 203dpi head, or a higher density
300dpi print head.
These are the conversion values for each print head:
Print head Dots/mm Dots/inch Inch/Dot
203 8 203 0.0049
300 12 300 0.0033
EXAMPLE: To enter the width of a label that is 2” wide when using a 203dpi head, the
value entered would be 406 (2” x 203 dots/in. = 406).
The printer can accept either the one-character control code (“Ctrl + E” (HEX05)) or the twocharacter caret (^) plus alpha character (“^E”). In other words, for a PC keyboard, the same
command can be generated either by holding down the “Ctrl” key and pressing the alpha
character or by entering the two characters; the “^” (the character generated when you
4-2 324M/424M Operator’s Manual - 880026-0144
Chapter 4 Designing Labels with LDS
press the “Shift” key and the “6”) plus the alpha character. See Chapter 5 for additional
information regarding control codes and printer commands.
There are some special features offered by the printer that assist in label design. For
example, the auto-size command (^A2^D39 <CR>) provides most of the header format
information needed to define the different properties of the media being used. The current
state of the printer is accessed through the enquiry command (^D5 <CR>, Ctrl E, or 5 NULL
characters + 01(HEX 00 00 00 00 00 01) if binary compression has been enabled). The
statistical information of the printer is made available through the use of the ^A0^D29 <CR>
or more simply ^D29 <CR> command.
The following sections of this chapter are intended to provide the user an overview of the
LDS language. The overview will include information regarding the label format, header
definition, and list the different types of field information available. The combination of these
sections and Chapter 5 should provide the user with the information required for easy format
creation and printing. Once some understanding of these basic concepts has been
achieved, use the Quick Reference Guide in Appendix C for expedient label design.
4.3 Label Design: An Overview
A label format consists of a header record and field records, followed by the text data to be
printed. The records describe how the label is to be printed. The header contains
information about the label itself such as label height, width, print speed, etc. The field
records refer to the data section and contain information about positioning coordinates, and
the type of character generation such as text, graphics, bar codes, etc. The number of
fields is limited only by the amount of free memory available.
Below is a sample label format created for the Model 424M with a 300 DPI print head. We
will refer to this format as we break down the steps and components to produce the format.
Refer to Error! Reference source not found. for a printed representation.
^D57 <CR> A label format is coming.
5,1280,900,19,38,7,0,1,405,0,0 <CR> Header Information.
1,640,650,8,1,5,0,4,2,2,,,,,0 <CR> Field #1 format information.
2,640,591,11,1,5,0,4,2,2,,,,,0 <CR> Field #2 format information.
3,640,443,26,1,5,0,4 <CR> Field #3 format information.
4,640,296,6,1,5,0,4 <CR> Field #4 format information.
4,640,148,6,16,3,,4,3,75 <CR> Field #4 format information.
^D56 <CR> Signals the end of the label field definition .
^D2 <CR> Text data is coming.
Microcom <CR> Text data string #1.
Corporation <CR> Text data string #2.
Thermal Printing Solutions <CR> Text data string #3.
012345 <CR> Text data string #4.
^D3 <CR> Print label.
The command ^D57<CR> on the first line informs the printer that a format is coming and
causes the printer to enter the format entry mode.
324M/424M Operator’s Manual - 880026-0144 4-3
Designing Labels Using LDS Chapter 4
The next line is the header information that sets the label size and other pertinent
information.
The next five lines are layout and configuration for each data field in the format.
The command ^D56<CR> selects the user’s layout or more simply the end of the formatting
information.
The command ^D2<CR> instructs the printer to start accepting data for each of the defined
field’s strings that are entered into the previous format received (between the ^D57 and
^D56 commands). Field #1 defines the placement and configuration for Text Data String
#1; Field #2 defines the placement and configuration for Text Data String #2, etc… The
label is printed from the bottom left corner to the top of the label.
The next three lines are the text data for the associated field format lines.
Text Data String #4 is being accessed twice. The format places the Text “012345” on the
label and then is accessed again placing a Code39 symbol representing “012345” on the
label.
The command ^D3<CR> instructs the printer to print.
Thermal Printing Solutions
Figure 4-2 3x3 Sample Label
Microcom
Corporation
012345
4.4 Label Header
The label header consists of eleven parameters that control the media layout as well as
printer configuration. A comma (,) delimiter is used to separate the parameters and a
carriage return is required to terminate the header.
The values for header elements requiring measurements are expressed as thermal dots or
pixels. Dot or pixel size varies depending upon the print resolution of the print head. Two
print resolutions are currently available for the 324M and 424M printers (203 DPI and 300
4-4 324M/424M Operator’s Manual - 880026-0144
Chapter 4 Designing Labels with LDS
This is the
3.0” or 900 Dots
DPI). The dot size of a 203 dots per inch head (8 dots/mm) is 0.0049”. The dot size of a
300 dots per inch head (12 dots/mm) is 0.0032”. The dot size is the same in both the
horizontal and vertical direction. For example, a 4” X 6” label printed with a 203 DPI print
head would be 812 (4 X 203) dots in the horizontal or “X” direction, and 1218 (6 X 203) dots
in the “Y” direction.
While the maximum number of dots in the horizontal or “X” direction is limited by print head
size, it is virtually unlimited in the vertical or “Y” direction. Vertical dot rows are “stepped” by
the drive roller motor.
This is a list of the header element mnemonics for the sample label in Error! Reference source not found.:
This parameter is used to specify the number of fields in the layout. If more format fields are
defined than specified in the HFM parameter, they will be ignored and will not print. The
HFM was set to a value of 5 in the format used to create the sample in Error! Reference source not found.. This means that a total of five format fields are to be generated. If the
HFM were changed to 4, only the first four format fields would be generated.
This parameter is used to specify the width of the print head using dots as the unit of
measure. The maximum width of the LSX parameter is determined by the width of the print
head. LDS has been specifically designed to accommodate a variety of print head widths.
These are the LSX values that should be used for proper print registration with various print
heads:
This parameter is used to specify the height of the label using dots as the unit of measure.
The maximum height is virtually unlimited and is dependant only with available printer
memory. The label sample (Error! Reference source not found.) LSY measures 3” or 900
dots.
The WEB parameter is the width, measured in dots, of the webbing or backing material that
is found on the left side of a die-cut label. This parameter is used to introduce an offset to
accommodate the backing of die-cut media. The label sample (Error! Reference source
This parameter is the height, measured in dots, of the registration mark used to identify the
beginning of a label. The label sample (Error! Reference source not found.) GAP
measures 0.123” or 38 dots.
The DPS parameter is used to set the printing speed for the printer. Refer to Table 4-2 for
the list of print speeds, DPS values, and corresponding inches per second values. To print
at greater speeds, change the DPS value to a lower setting as shown on Table 4-2.
Generally, better print quality is achieved by printing at lower speeds, however this is also
dependent on the media and contrast settings as well.
Labels per minute can be calculated by the equation below:
This parameter selects the method the printer uses for detecting registration marks on the
different media types. The Model 324M and 424M printers have both upper (transmissive)
and lower (reflective) gap detectors as standard equipment. The following sections discuss
the LCB settings for the different media types.
4.4.7.1 Die-Cut and Blow-Hole Media (setting = 0)
A selection of “0” in the LCB parameter instructs the printer to detect the leading edge of a
die-cut label or a “blow-hole” to identify the start of the next label. In this method light from
the lower sensor passes through the stock to the detector in the upper sensor. This is
referred to as “transmissive” sensing. The label sample (Error! Reference source not
found.) is die-cut, therefore, the LCB is set to “0”.
4.4.7.2 Continuous Media (setting = 2)
If the LCB parameter is set to a value of “2”, the printer will not search for a registration
mark. The gap detectors are only used for stock out conditions when set for continuous
media types. The printer will print all fields that contain data and then advance the media by
the amount specified in the SPG parameter of the header when the default AGD of “1” is
entered in the header. This means that fields that are left blank or text data for the
associating format fields that are left empty will not print.
For example: Imagine a receipt format that contains 100 lines. If data is provided for the
first 50 lines, the printer will not advance for the remaining 50 lines that have been left blank.
The printer would stop immediately after printing the 50th line and then advance the media
by the amount specified in the SPG header parameter.
When the AGD header parameter is set to “0”, the printer will advance the same amount of
media even when text data fields are left blank. In this case, the advance distance is
determined by adding the SPG parameter and LSY parameter values.
For example: Imagine the same format as mentioned above that has an LSY value of 900
(3” x 300 = 900), an SPG value of 385, and an AGD value of “0” that contains 100 format
lines. If text data is provided for the first 50 lines and the remaining 50 lines are left empty,
then the printer will print the first 50 lines, advance the next 50 lines, advance the remaining
LSY value, and then finally advance the SPG or 385 dots. Regardless of the format fields, if
the LSY is set to 900 and the SPG is set to 385 the printer will advance a total of 1285 dots
(900+385=1285).
4.4.7.3 Black Line Media (Reflective) (setting = 3)
The Reflective Black Line method is used when media using a black line for a registration
mark and reflective detection is desired; a “3” should be entered in the LCB parameter. This
setting will detect the leading edge of the black line by using the lower sensor only. The
light from the emitter in the lower sensor is reflected down to the detector in the lower
sensor. This method is the preferred method for detecting media containing a black line
and should be used whenever possible.
Note: The detector in the upper sensor is still used to detect a “paper out” condition.
This parameter selects the number of step (dot rows) that the printer should skip before gap
sensing is activated. This value is usually set to “1”. It is a good idea to set it to a value to
ignore areas of pre-printed or perforated stock that might cause incorrect gap detection.
This parameter is used to specify the number of steps (thermal dots) to advance the media
after a registration mark has been detected. This parameter is required to properly register
print on each label. The table below lists proper SPG settings for particular printer
configurations when the LSY is greater than the parameter value.
Model/Print Head DPI D2G Value
324M/424M – 203 DPI 284
324M/424M – 300 DPI 438
Table 4-3 Dot to Gap Parameters
For media that has a LSY value less than the parameter value in table 4-3, the SPG will
need to be calculated. SPG can be calculated using this formula:
SPG = (D2G + LSY - DRM) mod (LSY + SBL)
NOTE: All values are in pixels or dots.
D2G = This is a physical distance from the registration sensors to the print head's dot row,
and is a specific value for each model.
LSY = This is the actual height of the media in pixels or dots.
DRM = The Distance to Registration Mark is the distance from the leading edge of the
printable area to the beginning of the registration mark.
SBL = The Space Between Labels is the non-printable distance between the media,
typically found on die-cut labels. If the media contains space between the actual
printable portions of the media being used, this would be the SBL parameter.
Please note that this does not reflect a blowhole or black line height, as these
registration marks are typically positioned within the printable area. When die-cut
media is used, this value is also used in the GAP header parameter.
Calculation Examples:
Die-cut Media:
A 424M 203 DPI printer being used with 3" x 1" media containing a .125" die-cut gap. The
SPG would be calculated as follows:
SPG = (D2G + LSY - DRM) mod (LSY + SBL)
324M/424M Operator’s Manual - 880026-0144 4-9
Designing Labels Using LDS Chapter 4
SPG = (284 + 203 - 203) mod (203 + 25)
SPG = 284 mod 228
SPG = 56
D2G (468) = The Dot to Gap distance for a 203 DPI 424M printer (Table 4-3).
LSY (203) = The height of the printable area; 1" x 203 DPI = 203 dots.
SBL (25) = The Space Between Labels, or die-cut GAP in this case;
.125" x 203 DPI = 25 dots.
DRM (203) = The Distance to Registration Mark is from the leading edge of
the printable area to the next registration mark;
1" x 203 DPI = 203 dots.
The SPG can be fine adjusted by temporarily adding a line at dot row #1 using Line Draw
and adjusting the SPG number up and down to get desirable registration.
This parameter is used to move or offset all format fields in the Y direction without altering
the format fields coordinates themselves.
4.5 Sample Header
This is the header for the format used to generate the printed sample in Error! Reference
source not found. followed by a summary of the header values.
5,1280, 900, 19, 38, 7, 1, 405, 0, 0 <CR>
5 = 5 format fields are following the header.
1280 = LSX (total print head dots) is 1280 dots.
900 = LSY (label height) measures 3” or 900 dots.
19 = WEB measures 0.0625” or 19 dots.
38 = GAP measures 0.123” or 38 dots.
7 = Print speed (DPS) of 7 = 4.5 inches per second.
0 = LCB of 0 for die-cut labels.
1 = AGD of 1 step.
405 = SPG of 405 for proper placement of the next label.
0 = No X offset.
0 = No Y offset.
4-10 324M/424M Operator’s Manual - 880026-0144
Chapter 4 Designing Labels with LDS
This is the
XB
<CR> = A carriage return must follow the header.
4.6 Label Format Fields
The Label Format Fields are used to define the characteristics, placement and
representation of the corresponding text data of the individual fields. A format field is
broken down into many different parameters. It is not necessary to enter values for all of the
parameters (default value will be used if a parameter is left blank) but each parameter must
be separated with the comma delimiter (“,”). A carriage return must follow each format field
for proper operation to occur. The values entered must be positive integers for all of the
parameters of the format field.
This is a list of the first label format field element mnemonics for the sample label in Error!
The parameter determines which line of text data will be used for formatting. This allows for
more than one field to use the same text data. A TSN of “1” accesses the first line of data.
A TSN of “2” accesses the second line of data, and so forth. The text data is the text that
follows the “^D2<CR>” command in the label’s layout. A graphic image field must point to a
text string that contains at least one character. The maximum value for a TSN is 65536.
4.6.2 XB (X Beginning Coordinate)
The X coordinate of the field is measured in thermal dots. The far left edge of the print
head, as viewed from the front of the printer, is X coordinate “1”. There is no X coordinate
of “0”. The X coordinates increase in size from the left to right. An XB of 300 would place
the field one inch from the left side of the print head. Any offsets required for media that is
not as wide as the print head must be manually entered for the XB or the OFX header
element may be used.
Example: The 300 dpi print head is 1280 dots. If 3” or 900 dot wide media is used, the
offset of 190 should be added to each XB coordinate.
Offset example: 1280 – 900 = 380; 380/2 = 190
4.6.3 YB (Y Beginning Coordinate)
The Y coordinate of the field is measured in thermal dots. A YB of 1 would be the bottom
edge of the label as viewed front the front of the printer. The Y coordinates increase in size
from the bottom to the top of the label. A YB of 300 would place the insertion point one inch
from the bottom of the label.
4.6.4 CC (Character Count)
This parameter determines the number of characters that will be used by the format field. If
the number of characters in the selected text string is greater than the quantity specified by
the CC, the remainder of the text string will be ignored. If the text string has less than the
number specified by the CC, then only those characters defined by the text string will be
printed. For example, the text string “character count” should have a CC of “15” including
the space character. This parameter should be set to a value of “1” if the field is a graphic
image.
4.6.5 TCI (Text Conversion Identifier)
The TCI parameter determines how the text string will be printed. The TCI is used to select
text, bar codes, lines, downloadable font, or graphics. All of the TCI values used by the
324M/424M printer are listed in Table 4-4 below. For example, a TCI of “1” for the text
string data “012345” would print the text “012345” while a TCI of “15” would produce an
“Interleaved 2 of 5 symbol”.
4-12 324M/424M Operator’s Manual - 880026-0144
Chapter 4 Designing Labels with LDS
TCI VALUE TCI DESCRIPTION
1 Regular Text (standard embedded fonts, no barcode)
2 Text Surrounded by Asterisks
3* Text with UPC-A / UPC-E Checksum Digit Added
6 Line Draw
7 FLASH Fonts and Graphics
8 RAM Fonts and Graphics
12 UPC-A Symbol
13 UPC-E Symbol (Send 11 Digits)
14 UPC-E Symbol (Send 7 Digits)
15 Interleaved 2 of 5 Barcode
16 Code 39 Symbol
17* Text with UPC-E Checksum and Extended Bars Added
20 EAN-13 Symbol
21 EAN-8 Symbol
22* Text with EAN-13 Checksum and Extended Bars Added
23* Text with EAN-8 Checksum and Extended Bars Added
24 MSI 1 Symbol (Modified Plessey)
25 MSI 2 Symbol (Modified Plessey)
26 MSI 3 Symbol (Modified Plessey)
28* Text with MSI Checksum Added – Type 1
29* Text with MSI Checksum Added – Type 2
32* Text with UPC-A Checksum and Extended Bars Added
33* Text with UPC-A with Extended Bars Added
35 GS1 Databar
36 Postnet Symbol (Zip+4)
37 Postnet Symbol (Zip+6)
38 MaxiCode Symbol
40 Code 128 Symbol (Automatic Compression)
41 Code 128 Symbol (Manual Compression)
42 Codabar Symbol
43 Code 93 Symbol
46 PDF-417 Symbol
47 Datamatrix Symbol
48 Intelligent Mail Barcode
49 Planetcode Symbol
50 UCC/EAN 128 Symbol
51* Text with EAN 128 Information
* Human Readable - Refer to Chapter 8
Table 4-4 TCI Values
324M/424M Operator’s Manual - 880026-0144 4-13
Designing Labels Using LDS Chapter 4
4.6.6 CGN (Character Generator Number)
The CGN parameter is a numeric entry that determines the representation and size of
embedded font and bar codes as well as the memory location of graphic images that have
been selected by the TCI parameter.
4.6.6.1 Embedded Fonts
The Model 324M and 424M printers provide seven resident Helvetica style 203 dpi
embedded fonts that can be selected using the CGN when text is selected by the
appropriate TCI value.
Embedded Bitmapped Fonts
CGN
VALUE
1 6 Swiss™721 Bold
2 8 Swiss™721 Normal
3 10 Swiss™721 Normal
4 12 Swiss™721 Normal
5 14 Swiss™721 Normal
7 12 OCR-A
8 12 OCR-B
POINT
SIZE
FONT TYPE FONT SAMPLE
6pt ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
8pt ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
10pt ABCDEFGHIJKLMNOPQRSTUVWXYZ
12pt ABCDEFGHIJKLMNOPQRSTU
14pt ABCDEFGHIJKLMNOPQR
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
Table 4-5 CGN—Embedded Fonts
4.6.6.2 Downloadable Fonts and Graphics
When selecting downloadable fonts and graphics using TCI value of “7” or “8”, the CGN
denotes the memory slot (1-255) where the font or graphic has been stored. See Chapters
6 and 7 for additional information regarding downloadable fonts and graphics.
For example: If a graphic had been stored into RAM (volatile) memory slot 1 (see Chapter 5
for additional information), the proper TCI would be “8” and the CGN value would be “1”.
Standard Downloadable Font Set
CGN
VALUE
POINT
SIZE
10 6 Swiss™721 Normal 0 degree
11 6 Swiss™721 Normal 90 degree
12 8 Swiss™721 Normal 0 degree
13 8 Swiss™721 Normal 90 degree
14 10 Swiss™721 Normal 0 degree
15 10 Swiss™721 Normal 90 degree
16 12 Swiss™721 Normal 0 degree
4-14 324M/424M Operator’s Manual - 880026-0144
FONT TYPE
Chapter 4 Designing Labels with LDS
Standard Downloadable Font Set
CGN
VALUE
POINT
SIZE
FONT TYPE
17 12 Swiss™721 Normal 90 degree
18 14 Swiss™721 Normal 0 degree
19 14 Swiss™721 Normal 90 degree
20 16 Swiss™721 Normal 0 degree
21 16 Swiss™721 Normal 90 degree
22 20 Swiss™721 Normal 0 degree
23 20 Swiss™721 Normal 90 degree
24 24 Swiss™721 Normal 0 degree
25 24 Swiss™721 Normal 90 degree
30 6 Swiss™721 Bold 0 degree
31 6 Swiss™721 Bold 90 degree
32 8 Swiss™721 Bold 0 degree
33 8 Swiss™721 Bold 90 degree
34 10 Swiss™721 Bold 0 degree
35 10 Swiss™721 Bold 90 degree
36 12 Swiss™721 Bold 0 degree
37 12 Swiss™721 Bold 90 degree
38 14 Swiss™721 Bold 0 degree
39 14 Swiss™721 Bold 90 degree
40 16 Swiss™721 Bold 0 degree
41 16 Swiss™721 Bold 90 degree
42 20 Swiss™721 Bold 0 degree
43 20 Swiss™721 Bold 90 degree
44 24 Swiss™721 Bold 0 degree
45 24 Swiss™721 Bold 90 degree
50 12 OCR-A Normal 0 degree
51 12 OCR-A Normal 90 degree
52 12 OCR-B Normal 0 degree
53 12 OCR-B Normal 90 degree
54 8 OCR-B Normal 0 degree
55 8 OCR-B Normal 90 degree
Table 4-6 CGN - Standard Downloadable Font Set
324M/424M Operator’s Manual - 880026-0144 4-15
Designing Labels Using LDS Chapter 4
4.6.6.3 Embedded Bar Codes
Certain bar codes can be printed using various ratios and character spacing options. The
following table illustrates these options. See Chapter 8 for more detailed information on
designing label formats using bar code symbols. Some bar codes do not require a CGN
value and should be omitted by entering the comma delimiter.
For Example: If a TCI of 40 is selected the CGN will be omitted by entering nothing for the
CGN and surrounding the parameter with the comma delimiter.
1,200,200,10,40,,0,0,100,1
Bar Code Symbologies
SYMBOL
Code 39
I 2 of 5
UPC / EAN * - 40 % 1 - 0123
UPC Readable * - 40 % 1 - 0123
Code 128 & UCC / EAN 128 * - 40 % 1 - 0123
Codabar
Code 93 - 2:1 1 - 0123
AS-10 - 2:1 1 - 0123
MSI (Modified Plessey) - 1:1 1 - 0123
CGN
VALUE
2
3
5
8
2
3
5
2
3
5
RATIO HEIGHT SPACING FO **
2:1
3:1
5:2
8:3
2:1
3:1
5:2
2:1
3:1
5:2
1
1
1
1
1
1
1
1
1
1
2
2
2
3
-
-
-
-
-
-
0123
0123
0123
0123
0123
0123
0123
0123
0123
0123
Table 4-7 CGN—Bar Code Symbologies
* These Symbols must use the CMX or CMY multipliers by 2 to produce an 80% ratio.
** The “FO” field represents the available Field Orientation or print rotation.
4.6.7 FO (Field Orientation)
This parameter defines the rotation of the format field on the label. The point of rotation is
determined from the Field Justification parameter.
This parameter defines the justification of the format field on the label.
0 Left Justified above the base-line
1 Right Justified above the base-line
2 Left Justified below the base-line
3 Right Justified below the base-line
4 Centered above the base-line
5Centered below the base-line
The table below shows how to obtain the proper character placement or starting positions
relative to the format field’s orientations and justifications.
ROTATION FIELD ORIENTATION and JUSTIFICATION
0 – Left justified above the base-line
1 – Right justified above the base-line
0 & 180 Degrees
90 & 270 Degrees
2 – Left justified below the base-line
3 – Right justified below the base-line
4 – Centered above the base-line
5 – Centered below the base-line
0 – Left justified above the base-line
1 – Right justified above the base-line
2 – Left justified below the base-line
3 – Right justified below the base-line
4 – Centered on the Y axis, right of X coordinate
5 – Centered on the Y axis, left of the X coordinate
Table 4-8 FO & FJ Character Starting Positions
4.6.9 CMX (Character Multiplier X Direction)
The CMX parameter multiplies each character in the X direction. The valid range is 1 to
65536. For bar codes with a FO of 0 & 180 degree rotation, the CMX would be the
multiplier while the CMY would be the actual height in thermal dots. For bar codes with a
FO of 90 & 270 degree rotation, the CMX would be the actual height in thermal dots while
the CMY parameter would be the multiplier.
4.6.10 CMY (Character Multiplier Y Direction)
The CMY parameter multiplies each character in the Y direction. The valid range is 1 to
65536. For bar codes with a FO of 90 & 270 degree rotation, the CMY would be the
multiplier while the CMX would be the actual height in thermal dots. For bar codes with a
FO of 0 & 180 degree rotation, the CMY would be the actual height in thermal dots while the
CMX parameter would be the multiplier.
324M/424M Operator’s Manual - 880026-0144 4-17
Designing Labels Using LDS Chapter 4
4.6.11 CS (Character Spacing)
This parameter adjusts the spacing between each character. If this parameter is omitted,
then the default for the selected character generator (CGN) is used. The values (0-127) add
dots while (128-255) subtract dots. For example, a value of 4 would insert 4 dots between
the characters while a value of 131 would subtract 4 dots between the characters. Bar
codes have default spacing according to the indicated multiplier. Multiplying a text string will
not multiply the spacing between characters. This element may be used to properly space
the characters to create the desired printed effect.
4.6.12 TSP (Text Starting Position)
This parameter marks the starting position of the character in the text string to be used as
data. This is useful for allowing several fields to use sections of the same text string,
minimizing the amount of data transmitted. For example, for the text string 0123456789, a
TSP of 5 and a CC (Character Count) of 2 would print 45.
4.6.13 ,,, (Reserved Spaces)
These are spaces reserved for future use and nothing should be entered between the
comma delimiters.
4.6.14 AN (Attribute Number)
The AN parameter has four different effects. If set to a value of “0” the character spacing is
proportional. Reverse Text (white on black) is created by setting the AN to a value of “1”
and printing a black box on top of the text using the Line Draw function. (Special Note: The
AN parameter of the line field should also be set to a “1” for proper reverse imaging.) If the
AN parameter is set to a value of “2”, the character spacing will be fixed / non-proportional.
A setting of “3” will print both fixed/non-proportional character spacing and reversed text.
0 Proportional Character Spacing
1 Reverse Video
2 Fixed / Non-proportional Character Spacing
3 Fixed / Non-proportional Character Spacing and Reverse Video
8 True Reverse Video: Character cell = BLACK, Character = WHITE
4.7 Line Draw
It is possible to design lines into a label utilizing some of the elements of label format fields.
Specifically, a TCI value of “6” enables the line draw function. XB and YB provide a starting
position for a line draw. CMX and CMY provide length and thickness to a line. Other
elements not necessary to draw a line such as CC, CGN, FO, FJ, CS, and AN are ignored
by simply adding delimiters (commas) without values.
An example of two lines drawn on a label is shown in Error! Reference source not found..
This 3 x 3” label was designed for a 424M printer with a 300 DPI print head.
TSN (Text String Number) The TSN parameter may point to any valid text string but it is a
good idea to always use “1” to make trouble-shooting formats easier. The text string that
the TSN is referencing must contain at least one character in order for a line to print
properly. “Line” was used in the example to clearly define the label format fields that contain
line values. However, it could have simply been one character such as a period “.”
XB (X Beginning Coordinate) The X and Y coordinates determine the start of the line
draw.
YB (Y Beginning Coordinate) The X and Y coordinates determine the start of the line
draw.
CC (Character Count) This element is not used in line draw. No value is necessary,
however, a comma needs to be entered to acknowledge the position.
TCI (Text Conversion Identifier) The TCI is always set to a “6” for line draw.
4-20 324M/424M Operator’s Manual - 880026-0144
Chapter 4 Designing Labels with LDS
CGN (Character Generator Number) This element is not used in line draw. No value is
necessary, however, a comma needs to be entered to acknowledge the position.
FO (Field Orientation) This element is not used in line draw. No value is necessary,
however, a comma needs to be entered to acknowledge the position.
CMX (Character Multiplier X Direction) This element sets the length of a horizontal line
or the thickness of a vertical line.
CMY (Character Multiplier Y Direction) This element sets the length of a vertical line or
the thickness of a horizontal line.
CS (Character Spacing) This element is not used in line draw. No value is necessary,
however, a comma needs to be entered to acknowledge the position.
TSP (Text Starting Position) This element is not used in line draw. No value is
necessary, however, a comma needs to be entered to acknowledge the position.
,,, (Reserved Spaces) These are reserved for future use and no values should be
added between the commas.
AN (Attribute Number) This element should be set to “0” for line draw.
4.8 Reverse Video
The printer has the ability to produce Reverse Video by printing white text over a black
background. Two methods are used to produce this effect. The advantages and
disadvantages are covered in greater detail in the following two sections.
4.8.1 Reverse Video
The first method (Reverse Video) is to place text over a black box created with line draw.
When the label format defines print at the same coordinate twice the printer will not print
creating a reverse print effect when the Attribute Number (AN) is set to “1” for the Label
Format Fields defining the line draw and the text fields. The size of the box is not defined
by the text. Adjustment to the size of the box must be made by adjusting the line draw
coordinates.
The second method (True Reverse Video) will create a white character in a black character
cell. The size of the black box surrounding the character will be determined by the
character cell. Adjusting the size of the box that is surrounding the text is not possible using
this method. It is possible to create a reverse video effect with barcodes using this method.
The printer has a large and versatile collection of control commands to meet the special
needs of the most demanding applications. Most of the commands use the “^D” control
sequence, however the printer also recognizes a selected number of other control
sequences.
For all commands listed in this manual, the printer will recognize the one character control
code (“Ctrl+D”) or the two-character caret plus alpha character (“^+D+<CR>”) sequence. In
other words, the same command may be generated by either holding the control (Ctrl) key
down and pressing the alpha character or by entering the two characters – the ^ (caret,
generated when the “Shift” key is pressed and then the “6” key) and then the appropriate
alpha key (upper and/or lower case).
Unless specified otherwise, commands are entered by sending the ^Dxx command where
xx is the command number. The ^D commands are terminated by either issuing a carriage
return after the command or by issuing another command and/or control code. Some
commands load data or control numbers and are preceded by the ^Axx command. The xx
specifies the value and/or control number for the associating ^D command. The ^D
commands should precede or follow the actual format layout. They should be placed before
the ^D57 or just before the ^D3 print command unless otherwise mentioned.
To protect against errors, in situations where the two-character caret and alpha sequences
are used exclusively as printer commands, the control character recognition may be
disabled. This is accomplished by using the ^D93 command or by using the ^D21
command to setup Soft Switch #1 (^D21) Bit 3 (See 5.2.1.1).
Some mainframe and mini-computers cannot use the ASCII “^” character. In these cases,
substitute the ASCII pipe symbol (“|”) or use the one-character control code representation.
5.1 Special Printer Control Codes
To perform special functions, the printer uses the following control characters. All other
control characters will be ignored. Some of these instructions are also accessible through a
“^D” command sequence and will be noted as such.
^A Accumulator Mode: Used to supply the parameters for the ^D commands.
These parameters must be positive integers and are generally decimal
numbers but may be entered as binary if the ASCII “B” precedes the value or
parameter. For example, “^AB00000001^D21 <CR>” may also be entered as
“^A1^D21 <CR>” as well.
^B Text Entry Mode: Instructs the printer to enter printable text entry mode.
This command (or the preferred “^D <CR>”) must be sent before the text
string information. This command is the equivalent of the “^D<CR>” sequence
but does not require the carriage return (^B text string data). Because the
“control B” is shorter, it is easier to use in direct terminal mode. In general it is
better to use the ^D2 command sequence inside a file or program to assist in
trouble-shooting the format.
324M/424M Operator’s Manual - 880026-0144 5-1
Printer Commands Chapter 5
^C Print: Starts the print cycle or batch. This command is the equivalent of the
“^D3<CR>” command sequence but does not require the carriage return.
Because the “control C” is shorter than the ^D3 command sequence it is
easier to use in direct terminal mode. In general the ^D3 sequence is better to
use inside a format and/or program to assist in trouble-shooting the format.
^D Command Mode: Used to issue commands to the printer. This command is
normally preceded by the ^A sequence. The ^D commands must be
terminated with a carriage return or another command sequence
(^A9^D73^D3<CR> is the same as ^A9^D73<CR> and ^D3<CR>).
^E Printer Enquiry: This command is used to attain the current status or
operational state of the printer. The “^E” does not require a carriage return
and is the equivalent to the “^D5<CR>” command sequence. If Binary
Compression is enabled (default setting) the ^E command will not function.
Five NULL characters (0x00) followed by a SOH (0x01) (00 00 00 00 00 01)
are required to get the printer’s immediate status when configured for binary
compression use. The serialized ^D5 command will continue to function while
in binary compression mode if the printer is idle or not in an error. It is
recommended that the five NULL’s method is used to request printer status as
it functions with a printer in binary compression, binary compression disabled,
or if the printer is in an error condition. See 5.1.1 for additional information
regarding the Printer Enquiries.
^M Terminate Text or Data String: This command is the equivalent of the
carriage return character and is used to terminate commands and format lines.
^H Delete: This control code is used to delete the last printable character when
communicating to the printer through a keyboard via a terminal. The ^H is the
equivalent of the “Backspace” key on the keyboard.
^K Print Test Pattern: Used to generate a test pattern, which consists of a
series of diagonal lines. The pattern is helpful in determining the condition of
the thermal dots on the print head. The ^K code is the equivalent of the “^D11
<CR>” command sequence.
^L Form Feed: Used to feed one blank form based on the previous format
configuration parameters. This command is the equivalent of the “^D12
<CR>” command sequence.
^Q XON: Instructs the printer to send data or resume sending data.
^S XOFF: Instructs the printer to stop sending data.
5 NULLS + 01: The 5 NULL method commands are a way to pass commands to the
printer even when the printer in configured in binary compression mode. The
command is sent to the printer as HEX characters; 00 00 00 00 00 01 are sent
to the printer in order to issue the command. This command is used to request
the printer’s status and is very similar to the ^E command. The biggest
difference between this command and the ^E is that when printers are
5-2 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
configured for binary compression (D23 -SW3 bit 7), which is required if saving
graphics, the ^E will not function. This means that if the printer is going to be
using binary compression, the 5 NULL’s method should be used to request
status instead of the ^E command.
5 NULLS + 02: The 5 NULL method commands are a way to pass commands to the
printer even when the printer in configured in binary compression mode. The
command is sent to the printer as HEX characters; 00 00 00 00 00 02 are sent
to the printer in order to issue the command. This command is used to cancel
pending jobs/commands and to remotely clear errors returning the printer to
an idle >READY< state. If the condition causing the original error condition
still exists, sending new jobs will cause the printer to go back into an error
condition. This command simply provides the ability to remotely clear error
conditions and return the printer to a state that allows normal communication.
5 NULLS + 04: The 5 NULL method commands are a way to pass commands to the
printer even when the printer in configured in binary compression mode. The
command is sent to the printer as HEX characters; 00 00 00 00 00 04 are sent
to the printer in order to issue the command. This command is used to cancel
and exit an LTS Dispense Mode (^D97, ^D98) and to return the printer to an
idle >READY< state.
5.1.1 Enquiry Responses
It is important for the host computer to know the status of the printer as labels are being
produced. This facilitates security in the system and flags electrical, mechanical, and
functional error conditions. Enquiries also aid the system designer in adjusting the pace of
the printer with that of the operator or host system.
The printer returns enquiry responses to the host in two different modes depending on how
Software Switch#1 is configured. (See Section 5.2.1.1)
Text Mode: The response is sent to the host as text as shown in Table . The strings are
sent out the active communication port with a CR LF (0x0D 0x0A) separating each one.
The end of the response is terminated with an extra CR LF.
Byte Mode: The response is sent to the host as a hexadecimal number (byte) as shown in
Table . Each string is represented by a single byte with nothing separating them. The end
of the response is terminated with a 0xFF character.
5.1.1.1 STL Status Responses
If the STL Emulation (Switch Bank #6 bit 2; D26 command) is enabled, the printer will report
STL type responses instead of the normal LDS status responses. The STL mode continues
to follow the Text and/or Byte mode rule above but will only Display the Decimal codes.
324M/424M Operator’s Manual - 880026-0144 5-3
Printer Commands Chapter 5
Text Mode Response
Byte Mode
Response
Definition
6 6 TICKET ACK
16 16 OUT OF TICKETS
25 25 ILLEGAL DATA
29 29 CUTTER JAM
Table 5-1 STL Status Responses
Text Mode Response
Byte Mode
Response
Definition
>RESTARTED< 1A Printer has been reset
>READY< 06 Normal condition
>CUTTER ERROR< 07 Cutter cannot rotate
>TAKE LABEL< 16 Printer is waiting for label to be taken
>LOW STOCK< 19 Media supply is low or out
>INPUT 1< 0E Input sensor #1 active
>INPUT 2< 21 Input sensor #2 active
>TRAY FULL< 09 Printed label tray is full
>PRINTER PAUSED< 10 Printer is paused
>TOF ERROR< 1F Top of Form is not sensed properly
>OVER VDD< 1E VDD voltage is out of operational range
>UNDER VDD< 1C VDD voltage is out of operational range
>OVER TEMP< 1D Print Head is too hot
>DATA ERROR< 15 Communication error
>STOCK NOT LOADED< 22 Printer power on without media installed.
>BUTTON PRESSED< C0
>LPD STOCK JAM< 11
>BROWNOUT RECOVERY<
Print button configured to report message
when pressed.
Reports when jams are detected. Switch 8
position 8 enables this feature
Printer entered and recovered from a
brownout power condition
>FAIL TIMEOUT<
>FAIL SIZE<
5-4 324M/424M Operator’s Manual - 880026-0144
Timeout failure occurred using the D149
Image Print Mode
Incorrect size of the image was received
using the D149 Image Print Mode
Chapter 5 Printer Commands
The printer was unable to locate a valid
>NO FLASH DATA FOUND<
configuration and is forcing the default
configuration or “birth” pattern.
>CHECKSUM
VERIFICATION FAILED<
>FLASH READBACK
FAILED<
>ERASE FAILED FOR
SECTOR n<
Table 5-2 Enquiry Responses
Configuration checksum does not match
printer will attempt to restore configuration.
The printer failed to read and verify the
configuration parameters are present.
The flash was unable to erase at the
memory sector noted by the “n”
5.2 Printer Configuration Commands
The following commands are used to set up printer configuration. Most of these commands
are non-volatile and, therefore, do not need to be resent unless changes are desired.
Note: When the printer is in the DEFAULT MODE, factory settings control printer operation.
This provides a starting point for re-establishing communication with the printer so that user
settings may be sent to the printer. The statistics label printed when the printer entered the
DEFAULT MODE reflects current printer settings and not the factory default settings.
5.2.1 Software Switches
The Software Switch settings are non-volatile. The Switch commands may use either ^A
(decimal) or ^AB (binary) values. Since each bit represents a setting for the printer, the soft
switches are always reported as binary. Changes made with these commands will not take
effect until the printer’s power is cycled “OFF” and “ON”, a “reboot” command (^A1^D143),
or a “soft restart” command (^D32 command) is sent to the printer.
Example: ^AB10100001^D21<CR> configures serial port #1 for text equivalent
enquiry responses, accept control codes, disables echo, and enables XON/XOFF
flow control.
5.2.1.1 Software Switch #1
^AB ^D COMMAND
XX 21 Change SW1: Software Switch #1.
^AB12345678 (each bit is represented by a numeric position number)
Position:
1,2 Enquiry Response: This determines what the printer will send back in
response to an enquiry command.
00 = Control Codes
10 = Text Equivalent
3 Control Codes: This position sets how the printer handles incoming
control codes.
324M/424M Operator’s Manual - 880026-0144 5-5
Printer Commands Chapter 5
1 = Ignore Incoming Control Codes
0 = Accept Incoming Control Codes
4 Port #1 Parity Selection: Sets the printer port #1 parity for serial
communication.
1 = Odd Parity
0 = Even Parity
5 Port #1 Parity Enable: Turns printer port #1 parity ON or OFF for serial
communication.
1 = Disable Parity (NONE)
0 = Enable Parity
6 Echo: If this feature is enabled, the printer will echo all received
characters to the serial port.
1 = Enable
0 = Disable
7 Number of Data Bits: Sets the printer’s serial port to use either 7 or 8
data bits.
1 = 8 Data Bits
0 = 7 Data Bits
8 XON/XOFF Flow Control: Sets software flow control handshaking.
CTS/RTS hardware handshaking is always enabled.
1 = Enable
0 = Disable
5.2.1.2 Software Switch #2
^AB ^D COMMAND
XX 22 Change SW2: Software Switch #2.
^AB12345678 (each bit is represented by a numeric position number)
Position:
1 Clear Text Function: If enabled, all variable text strings will be erased
when the ^D<CR> is processed.
1= Enable
0 = Disable
2 >RESTARTED< Response: If the printer has been reset and this
switch has been enabled, the printer will respond with the
>RESTARTED< message for the first enquiry ONLY, to denote the
reset condition and then >READY< with following enquiries.
1 = Enable (>RESTARTED< on first inquiry then >READY<)
0 = Disable (Always responds with >READY<)
3 Button Use: If set to a “1”, the printer will disable the Print Button. 1 = Disable
5-6 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
0 = Enable
4 Print Repetition: Defines the function of the Print Button. If set to a
“0”, the button can be used for feeding labels but the print function is
disabled and blank forms will be issued.
1 = Label PRINT
0 = Label FEED only
5 Power-ON Format Type: Determines whether to use a saved format
file or a standard ROM format. User downloaded Label FORMAT files
are saved in non-volatile FLASH memory. Any of these FORMATs may
be used for the Power-ON label. When SW2:5=1, the format is
selected by SW2 switch positions 6, 7, and 8.
1 = Power-ON label is selected by SW2: 6, 7, and 8
0 = Power-ON label is standard format
6,7,8 Power-up Format: These switches work in conjunction with switch
location 5 above. They determine which stored format is loaded at
power-up. The printer can be instructed not to load a format at powerup by setting all three switches to 0.
000 = No Power-up Format
001 = ROM or Saved Format File 1
010 = ROM or Saved Format File 2
011 = ROM or Saved Format File 3
100 = ROM or Saved Format File 4
101 = ROM or Saved Format File 5
110 = Rom or Saved Format File 6
111 = ROM of Saved Format File 7
5.2.1.3 Software Switch #3
^AB ^D COMMAND
XX 23 Change SW3: Software Switch #3
^AB12345678 (each bit is represented by a numeric position number)
Position:
1 Extended ASCII: Controls whether characters over HEX 7F will be
processed.
1 = Don’t process input characters greater than 7F0 = Process input characters greater than 7F
2 INPUT 1 Active State: This bit determines whether the INPUT 1 sensor
must see an object or not to send back the >INPUT 1< response. A
setting of 1 (active LOW) will report the >INPUT 1< message if no
reflection is detected. A setting of 0 (active HIGH) will report the
>INPUT 1< message if a reflection is detected.
1 = Send >INPUT 1< active LOW
0 = Send >INPUT 1< active HIGH
324M/424M Operator’s Manual - 880026-0144 5-7
Printer Commands Chapter 5
3 Response After Print: If enabled, an enquiry response will be sent
through the communications after every print automatically.
1 = Enable
0 = Disable
4 INPUT 2 Active State: This bit determines whether the INPUT 2 sensor
must see an object or not to send back the >INPUT 2< response. A
setting of 1 (active LOW) will report the >INPUT 2< message if no
reflection is detected. A setting of 0 (active HIGH) will report the
>INPUT 2< message if a reflection is detected.
1 = Send >INPUT 2< active LOW
0 = Send >INPUT 2< active HIGH
5 Accept “|” for Ctrl: Sets whether the “pipe” character will be
interpreted the same as the “Ctrl” key. The “pipe” character is the
<SHIFT> + \ key.
7 Binary Compression: If enabled, the printer will accept downloaded
binary compressed font and/or graphic files. The ^E command will not
function. (See 5.1)
1 = Enable Binary Mode
0 = Disable Binary Mode
8 Detect Black Line on Power-up: If enabled, the printer automatically
feeds labels on Power-up to determine the proper ^D90 value.
1 = Enable
0 = Disable
5.2.1.4 Software Switch #4
^AB ^D COMMAND
XX 24 Change SW4: Software Switch #4.
^AB12345678 (each bit is represented by a numeric position number)
Position:
1 Slashed Zeros: If enabled, the printer will print a slash through the
embedded zero (“0”) characters.
1 = Enable
0 = Disable
5-8 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
2 External Print Request: (Call Microcom for more information.)1 = Enable
0 = Disable
3 Stock Out function: Enable this function to get a >LOW STOCK<
message when the printer runs out of stock. When this is disabled, the
printer will not report stock out conditions.
1 = Disable
0 = Enable (stock out detection reports >LOW STOCK<)
4 Auto-size on Power-up: When enabled, the printer automatically sizes
the label to determine the appropriate format header values on powerup. The printer will then use these values on all subsequent label
formats. Refer to the ^D39 command for additional information.
1 = Enable
0 = Disable
5,6,7,8 Code Page Selection: Positions 5 through 8 are used to select from
the available code pages stored within the printer.
See Chapter 9 for more details
0000 = Not Decoded (Default)
0001 = Danish
0010 = 860
0011 = Spanish
0100 = 850
0101 = German
0110 = 865
0111 = Swiss
1000 = 852
1001 = French
1010 = 863
1011 = Swedish
1100 = 437
1101 = Italian
1110 = English - UK
1111 = English – US
5.2.1.5 Software Switch #5
^AB ^D COMMAND
XX 25 Change SW5: Software Switch #5.
^AB12345678 (each bit is represented by a numeric position number)
Position:
1 Single Button Press Error Clear: If enabled, error conditions are cleared
with a single press of the print button after reloading the printer with more
media.
324M/424M Operator’s Manual - 880026-0144 5-9
Printer Commands Chapter 5
If this function is disabled, pressing the print button clears the error
condition, prints the pending job, and reenters the previous halting error
state. The button must be pressed and held during printing in order to exit
the error routine. This is used to reprint the pending job until the print
2 >BUTTON PRESSED< status enable. When enabled, pressing the
button will cause the printer to report the >BUTTON PRESSED< or 0xC0
depending on the printer’s ^D21 response mode configuration. This is
typically used on systems that preload a batch of jobs to the printer but wait
on the >BUTTON PRESSED< message before sending the print
command.
1 = Enable >BUTTON PRESSED<
2 = Disabled
3 Type of Top-Of-Form Sensor: The leading edge of the label stock can be
sensed using either a reflective sensor or a transmissive sensor. The
correct type of sensor is determined by the printer hardware configuration
being used.
1 = TOF is TRANSMISSIVE
0 = TOF is REFLECTIVE
4 Enable Power ON TOF: This bit controls whether or not the printer will
do an automatic Top Of Form (TOF) when it is turned ON.
1 = Enable Power-ON TOF
0 = Disable
5 Enable Button TOF: This bit determines whether the GREEN button
functions as a Top-Of-Form or as defined by SW#2 bit 4. The button is
always configured to clear error conditions.
1 = Button is TOF
0 = Button is defined by SW#2 bit 4
6 Enable AutoLoad: This bit determines whether the AutoLoad function
is ON or OFF. When Autoload is enabled, and a no media to media
transition is detected by the printer’s internal transmissive sensor, the
printer will step the pulled the media into the printer and perform either
a TOF or a Form Feed depending on SW#5 bit 7 configuration.
1 = Enable AutoLoad
0 = Disable AutoLoad
7 Type of AutoLoad: This bit determines whether the AutoLoad function
uses the Top-Of-Form sensor (TOF), or if it uses the Form Feed
technique.
1 = AutoLoad + TOF
0 = AutoLoad + FF
5-10 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
8 Status Byte Mode: If enabled, the printer will enter a special mode that
sends a status byte to the host. See D110 command
1 = Enable Status Byte Mode
0 = Disable Status Byte Mode
5.2.1.6 Software Switch #6
^AB ^D COMMAND
XX 26 Change SW6: Software Switch #6.
^AB12345678 (each bit is represented by a numeric position number)
Position:
1 Enable >TRAY FULL< response: This bit is used to define whether a
test pattern will print, or if the printer will halt on a >TRAY FULL< error
condition when the printer is used with the optional catch tray on the
Model 424 printer. This bit will also determine the printer’s response
when pin 4 of P17 is active.
2 Enable STL Emulation: This bit determines whether the STL
emulation is enabled or not. This command provides similar
functionality of other printer manufacturers that specify exact placement
and location of blackline media used for registration. The printer takes
in STL commands and internally converts them to LDS command
tables.
When enabled, the Stock Class (SW#7 bits 1-3) and Width (SW#7 bits
456) must be set properly in order for the STL Emulation to function
properly.
1 = Enable STL Emulation
0 = Disable STL Emulation
3 Enable Pre-Stock Out feature: This command supports the PSO
option and is used to detect stock out errors using an optional sensor
before the media enters the printer. Once enabled, when the PSO
(>INPUT 1<) sensor goes active the printer will finish printing the
current label, not cut it (if using a cutter command), then feed he stock
until it clears the dot row plus 1/2". At this point the normal stock out
function will be active and the printer status will respond with: >LOW
STOCK<>INPUT 1< (if the polarity of input one is set correctly).
1 = Enable AutoHeader
0 = Disable AutoHeader
4 Enable >STOCK NOT LOADED< Response: When enabled, the
printer will return >STOCK NOT LOADED< or 0x22 (depending on the
^D21 response mode configuration) to status requests if media is not
detected in the printer at power up. The status message will continue
to be reported until media is installed in the printer. This message will
only be reported if media is not detected by the internal sensors
following a power on, reboot command (^D143), and/or restart (^D32)
commands.
324M/424M Operator’s Manual - 880026-0144 5-11
Printer Commands Chapter 5
1 = Enable >STOCK NOT LOADED< response
0 = Disable >STOCK NOT LOADED< response
5 48-466 Compatibility Mode: A special limited 466/48-466 LDS
compatibility mode has been developed for the X24/X24M code base.
The objective of this compatibility mode is to allow applications that use
formats and/or commands developed for a Model 48-466 printer to be
sent to a 203 dpi X24 or X24M Model printer with little or no changes
required. This command allows the printer to enable a limited 48-466
emulation feature of the printer. When enabled, the printer will process
a 48-466 data stream and convert the data stream for proper operation
on an X24M printer. The emulation mode uses a lookup table for fonts
stored in flash and does not use the TCI 1 embedded fonts while this
mode is enabled. Please note that the X24 products store fonts in 0
/180 degree rotation and in 180/270 degree rotation. The odd memory
slots denote 0 or 180 degree rotation fonts while the even memory slots
denote 90/270 degree rotated fonts. The flash memory slot locations
are shown below:
Table 5-3 48-466 Compatibility Fonts
The 48-466 emulation supports unique 48-466 command operations
and will process the data in the same way when technically possible.
These unique operations are briefly discussed below. Please consult
the Model 48-466 Operators Manual for additional information regarding
the command operation.
a) The printer supports the CGN lookup as defined above and in the
48-466 Operators manual when the emulation command is enabled.
b) The 48-466 graphic structure is used when the emulation command
is enabled and discussed in greater detail the 48-466 Operators
manual.
c) The ^D59 command allows format slots 121 to 128 to be overwritten
to when the emulation command is enabled.
48-466 TCI = 1, CGN # X24 Flash Memory Slot
1 1 and 2
2 3 and 4
3 5 and 6
4 7and 8
5 9 and 10
6 11 and 12
7 13 and 14
8 15 and 16
5-12 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
d) The ^Ax^D125 command controls the location of the euro character
as provided in the model 48-466 printers. The euro character which
by default is mapped to location 0xE3 (227 decimal) can be moved
to another location specified by the x if x>0. If x=0 no remapping will
take place and the euro will stay at location 0xE3. Also if the printer
must be configured to use a code page other than the default (0000)
code page.
The 48-466 and X24 code bases are not fully compatible, so the
emulation does have some limitations. The known limitations are briefly
mentioned below:
a) The 48-466 data stream should not use an Attribute Number of 2
(fixed/non-proportional) which is the seventeenth parameter. It is
not technically possible to emulate this model 48-466 feature.
b) The CS value used in conjunction with the AN set to a 2 to produce
a negative kerning effect should be removed and the field defaulted.
This is the 11th field defined in the format lines.
c) Fields that were using an AN of 2 and CS for negative kerning may
require that their placement coordinates are adjusted to produce the
same outputs.
Once these changes are made, the resulting data may be sent to a 48466 and 424M printer to produce the same printed image in most
cases.
6 Select GP I/O Hardware Mode: This command is used to select from the various General Purpose I/O modes the printer supports.
0 = Enable Custom General Purpose I/O Hardware. This mode is a
custom solution developed for a specific customer and is not intended
to be used by other users.
1 = Enable General Purpose I/O Hardware. When this command is
enabled, the printer provides the ability to report the current status of 4
additional inputs accessed through the P17 connector on the PCB,
report the status of 4 additional outputs accessed through the P21
connector on the PCB, to change the status of the outputs, and to
configure the inputs to generate immediate errors.
GP INPUTS:
The P17 connector is used for the GP inputs. These inputs are active
high (24VDC) and may be independently controlled.
The ^D150 command is used to report the current status of the inputs.
When issued, the printer will send the host the current status of the 4
324M/424M Operator’s Manual - 880026-0144 5-13
Printer Commands Chapter 5
general inputs in the form of “>IO 0nH< where “n” is a hex number from
0 to F.
Example: A status of >IO 05H< would indicate that inputs 1 and 3 are
active (24v) and that inputs 2 and 4 are inactive (0v); 05H =
0101(binary).
The ^D151 is a nonvolatile command used to set which GP inputs are
configured to cause an immediate error when active. An immediate
error will immediately stop printing and go into an error condition. Once
the input is inactive, the “error” would need to be cleared before the
printer will continue. The ^D29 statistical listing reports the GP inputs
that are configured to generate error conditions when active and are
listed under the “ERROR INPUT: 0nH” with the value for “n” equaling
the HEX value of the inputs. The inputs equal a binary number with the
inputs in the following order; 4321.
Command Syntax:
^D151<CR>0n<CR>
n = the hex value from 0 to F.
Example: If the application wanted to configure inputs 1 and 3 to
generate error conditions when active, a ^D151<CR>05<CR>
command (the <CR> indicates carriage return characters) would be
issued. The printer ignores the LF characters, so a <CR+LF> is
interpreted as a <CR> as well) would be sent to the printer.
GP OUTPUTS:
The P21 connector is used to provide 4 general purpose outputs.
These outputs provide 24V and may be used to provide the voltage
needed to power the GP INPUTS.
The ^D69 command is used to read and report the current status of the
GP Outputs in the form of “>IO 0nH< where “n” is a hex number from 0
to F. The outputs equal a binary number with the values in the
following order; 4321.
Example: A status of >IO 05H< would indicate that outputs 1 and 3 are
active (24v) and that outputs 2 and 4 are inactive (0v); 05H =
0101(binary).
The ^D68 is a nonvolatile command used to enable which GP outputs
are active. The outputs are entered in as a HEX value that is equal to a
binary number with the outputs in the following order; 4321.
Command Syntax:
^D68<CR>0n<CR>
n = the hex value from 0 to F.
5-14 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
Example: If the application wanted to configure outputs 1 and 3 active,
a ^D68<CR>05<CR> command (the <CR> indicates carriage return
characters) would be issued. The printer ignores the LF characters, so
a <CR+LF> is interpreted as a <CR> as well) would be sent to the
printer.
NOTE: A status request (^E, ^D5, or 5 NULL’s 01) will never show the
status of the outputs while a status request will show the input status if:
1) GP I/O is enabled AND
2) One or more bits have been configured to generate errors when
active AND
3) One or more of those halting bits have gone active and have
produced an error that has not been cleared.
NOTE: If the printer is not in the general purpose I/O mode, the inputs
status may still be read with the ^D150 command but the outputs
cannot be read (or written to) with the ^D69 or ^D68 commands.
NOTE: If an input has caused an error to be generated, then goes
inactive, and another print request received before the error is cleared,
the printer will not print and will remain in the error state. A status
request will show the active error inputs. This condition will remain until
the error is cleared.
NOTE: Default power up will disable I/O mode.
The P17 and P21 connectors are 8 pin MTA50 AMP part number
#1445350-8 and Microcom Corporation part number 510188-0008.
The pin out is as follows (the square pad denotes pin one on the PCB):
All inputs are active high. 24.0 VDC = high 0.0 VDC = low
Connector P21 is the output port.
1 = ground
2 = g/p output 1 - In Reset or printing
3 = ground
4 = g/p output 2 - Error
5 = ground
6 = g/p output 3 - Downloading a format
7 = ground
324M/424M Operator’s Manual - 880026-0144 5-15
Printer Commands Chapter 5
INPUTS
OUTPUTS
8 = g/p output 4 - Format loaded
All outputs are active high. 24.0 VDC = high 0.0 VDC = low
Pin 1
Pin 1
P17
P17
Figure 5-1 General Purpose Hardware Inputs and Outputs
7 Select PIC Mode: This command is used to select from the various PIC
modes the printer supports. The PIC code is dedicated to the take-up
motor or the cutter.
0 = Select Cutter PIC mode of operation. When this mode is
selected the printer will power and energize a cutter when the cutter
enable command (^D99 or ^D111) is issued after a print job
1 = Select Take-up PIC mode of operation. When this mode is
selected the printer will energize a DC motor to be used in a rewind or
take up capacity. Unless the printer is properly configured with a takeup motor and correct take-up motor specific PIC, this mode should not
be enabled because it could potentially damage the cutter.
8 Nonstick TOF Mode: This feature was added to handle some
applications where an unmanned system is left idle for long periods of
time. The printer will periodically move the media to keep it from
adhering to the platen roller in an effort to prevent media jams. Each
time the value times out, the printer will advance 75 full steps at .5ips
and then perform a TOF at normal speed. The timer is then reset and
starts to count down once again. The default time interval is set to 4
hours or 144400 seconds. The interval may be adjusted by using the
D156 command.
5-16 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
5.2.1.7 Software Switch #7
^AB ^D COMMAND
XX 27 Change SW7: Software Switch #7.
^AB12345678 (each bit is represented by a numeric position number)
Position:
123 Select STL Stock Class:
These bits are used to select the class of the stock to be used according to
the following bit pattern:
100 – Standard
010 – Cinema Ticket
001 - Wristbands
456 Select STL Stock Width:
These bits are used to select the width of the stock (in inches) to be used
according to the following bit pattern:
000 – 1.00
100 – 1.328
010 – 2
110 – 2.125
001 – 2.5
101 – 2.75
011 – 3.25
111 – 4
7 Disable System Parameter Saving: When enabled, the printer will not save
the non-volatile system parameters on power downs. The ^A1^D143 will
continue to save system parameters.
1 = Disable system parameter saving
0 = Enable system parameter saving
8 Finish Mode: When enabled, the printer will finish printing the current label
as far as it can after a stock out error. The change will take place after a power
cycle or after the restart command. When a stock out occurs the printer will
finish printing the entire label if the LSY is less than the dot-to-gap distance. If
greater, it will continue printing for a distance equal to the dot to gap distance
OR until the label finishes; which ever comes first. The dot-to-gap value is
configurable using the D158 command. The error will be acknowledged at the
end of printing. This will work with all media (continuous, black line, and gap).
1 = Enable Finish Mode
0 = Disable Finish Mode
324M/424M Operator’s Manual - 880026-0144 5-17
Printer Commands Chapter 5
5.2.1.8 Software Switch #8
^AB ^D COMMAND
XX 28 Change SW8: Software Switch #8.
^AB12345678 (each bit is represented by a numeric position number)
Position:
1 Custom Test Ticket: When this feature is enabled, the printer will process
the saved power up format specified by the D22 command every time the
printer button on the printer is pressed.
1 = Enable Custom Test Ticket
0 = Disable Custom Test Ticket
2 Reserved
3 Line Feed: This feature is used to control the line feed. When enabled, the
printer will line feed while the button is pressed and held. When this feature is
disabled, pressing and holding the button will be ignored.
1 = Disable Custom Test Ticket
0 = Enable Custom Test Ticket
4, 5 STL Autoheader Mode:
STL Autoheader (^D147) may be configured to execute using three different
methods or modes.
00 Standard Autoheader mode
10 Autoheader Table mode
11 Autoheader User mode
Standard Autoheader Mode
This is the default mode used to automatically detect the proper values for a
format header. The printer uses the reflective sensor to determine stock sizes
within the Ticketing Industry.
Autoheader Table Mode
The table mode takes the calculated blsy value that the standard autosize
measures and replaces it with the Norm value based on a 203 dpi table or the
300 dpi table.
If the measured value is >= the 1st value and <= the 3rd value, then blsy is
forced to the middle normalized value.
If the measured blsy value falls outside of the table, the value is not changed.
Example – Stock is autosized and found to be 1362 dots long (203 dpi). This
value will then be changed to 1320. It is this changed value that will be
reported (^D148) and used as blsy.
The tables are based on ticketing industry stock sizes off:
2” 2½” 3” 3¼” 3½” 4” 4½” 5” 5½” 5 5/8” 6” 6½” 7” 11”
The Autoheader User Mode operates in a similar fashion to the Table Mode,
but uses a table that the user creates. The user can have up to three stock
ranges within the table (3, 6, or 9 values).
To enter stock ranges use the ^D170 command as follows.
The 1st range is entered like this:
^A1^D170[CR]Range1LowThreshold[CR]
^A2^D170[CR]Range1Target[CR]
^A3^D170[CR]Range1UpperThreshold[CR]
The 2nd range is entered like this:
^A4^D170[CR]Range2LowThreshold[CR]
^A5^D170[CR]Range2Target[CR]
^A6^D170[CR]Range2UpperThreshold[CR]
The 3rd range is entered like this:
^A7^D170[CR]Range3LowThreshold[CR]
^A8^D170[CR]Range3Target[CR]
^A9^D170[CR]Range3UpperThreshold[CR]]
Value1 is the lower boundary, value3 is the upper boundary, and value2 is the
blsy value for this range. Up to 9 values can be entered for a total of 3 ranges.
All values are non volatile and are stored with the other non volatile
parameters. Like the table, if the measured blsy doesn’t fall into any of the
ranges the value won’t change and will be used as is.
To see all of the table and user values enter
^A0^D170 [CR]
Using one of these smart autosize modes gives the user single dot accuracy in
using Boca autosize to find blsy.
6 Reserved
324M/424M Operator’s Manual - 880026-0144 5-19
Printer Commands Chapter 5
7 Reflective Stock Out Detection: When this feature is enabled, the printer
will use reflective sensor to detect stock out conditions. This should only be
used if a Transmissive sensor is not available.
1 = Enable Reflective Stock Out Detection
0 = Disable Reflective Stock Out Detection
8 LTS Jam Detection: This feature uses the printer’s Label Present or Label
Taken sensor to identify a jam condition after sending a print job to the printer.
When enabled, the printer will report the >LPD STOCK JAM< message if the
printer was sent a print job and the LTS did not detect the media exiting the
printer.
1 = Enable LTS Jam Detection
0 = Disable LTS Jam Detection
5.2.2 Communication Port Configuration
These commands are used to configure the communication speed or Baud rate of the
printer and to configure which port is the active port. A number of printer’s are configured
with more than one port, however only one is active at any given time.
5.2.2.1 Baud Rate
This non-volatile command changes the serial port communication speed.
Note: Unless otherwise noted, the factory default baud setting is 115,200. The baud
rate will be temporarily set to 115,200 when the printer is in the Diagnostic Mode if
the user setting is different. The user set baud rate will resume after a “soft reset”
(^D32) or cycling the power to the printer.
^A ^D COMMAND
X 20 Set Bits Per Second:
This command sets the serial/USB port communication speed or BAUD rate of
the printer. Settings of 12 (230400) and higher are not intended to be used by
normal serial operations. These settings are only intended to be used by the
D149 USB image print mode.
5.2.2.2 Set Serial Port Source Command (Non-volatile- ^D108)
This command sets which serial port will be used the next time the printer is turned ON. The
224/424 printer has three serial data ports on the rear panel: RS-232, USB, or Ethernet.
Only 1 port can be active at any given time. The D108 command sets how the printer
selects the active serial port the next time the printer is powered ON. Settings made with
D108 are saved in the printer’s system parameters and are used to select the serial port on
power-up.
^A ^D Command
X 108 Serial Port Source (Non-volatile)
0 AutoSelect: When the printer powers up, it scans the USB and RS-232 ports
and selects the “Active” port. The USB port will be selected if the USB cable is
connected between the printer and a PC that is powered “ON.” The RS-232
port will be selected if the USB cable is not plugged in and a character comes
in on the RS-232 port. The printer will continue to scan both ports until one or
the other condition is satisfied.
3 RS232: When the active port is set to a 3, the printer will ignore other ports
being plugged into the machine and will only be active on the RS232 port.
4 USB: When the active port is set to a 4, the printer will ignore other ports
being plugged into the machine and will only be active on the USB port.
5.2.2.3 Set Serial Port Source Command (Volatile - ^D109)
This command is similar to the ^D108 command, except the ^D109 command immediately
switches between the 3 serial ports without the need to cycle power. Settings made with
^D109 command are NOT saved on power-down. The printer returns to the original port
setting on the next power-ON.
Note: The Auto Select option is not available with the ^D109 command.
^A ^D Command
X 109 Serial Port Source (volatile)
0 RS-232
1 USB
2 Ethernet
5.2.3 Print Head Size Commands
The different printer models may be configured with a variety of different print head sizes
and densities. The ^D78 and ^D79 commands (non-volatile) allow the printer to be setup
through software to configure the different print head sizes and densities. Power cycle or
^D32 is required before command settings take affect.
Note: When using these commands, the ^D79 command MUST be sent prior to the ^D78
^A ^D COMMAND
X 79 Set print head dots/inch (dpi). This command sets the dot density of the
print head.
324M/424M Operator’s Manual - 880026-0144 5-21
Printer Commands Chapter 5
0 203DPI: This sets the printhead resolution to 203dpi. This requires that a
203dpi printhead is installed on the printer. If the setting is not set properly,
the printed image could produce
1 300DPI: This command the printhead resolution to 300dpi. This requires that
a 300dpi printhead is installed on the printer. If the setting is not set properly,
the printed image could produce
The only valid entries are ^A0 for 203dpi and ^A1 for 300dpi.
XX 78 Set print head number of dots. This command sets # of dots in the print
head. This command MUST be sent AFTER the dot density (dpi) is set with
the ^D79 command. The only valid entries for XX are the numbers in the “# of
Dots” column in the table above.
Printer Model Dots/Inch
D79 value
224 203
224 300
324M 203
324M 300
424 203
424 300
424M 203
424M 300
X28 203
X28 300
448
640
640
960
832
1280
832
1280
832
1280
Table 5-4 Printhead sizes - D78
These are examples of how to use the ^D78 and ^D79 commands:
EXAMPLE #1: How to set the printer for a 640 dot, 300 dpi print head:
EXAMPLE #2: How to set the printer for an 832 dot, 203 dpi print head:
^A0^D79<CR> (Sets 203 dpi)
^A832^D78<CR> (Sets 832 dots)
5.3 General Purpose I/O
When this command is enabled (Switch 6 bit 6; D26 command), the printer provides the
ability to report the current status of 4 additional inputs accessed through the P17 connector
on the PCB, report the status of 4 additional outputs accessed through the P21 connector
on the PCB, to change the status of the outputs, and to configure the inputs to generate
immediate errors.
5-22 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
^A ^D Command
XX 110 General Purpose Status Byte
The printer has a special mode of communication for General Purpose control
environments. Communication is over the Ethernet port and uses the
following protocol.
The host sends a command byte to the Ethernet port every few milliseconds.
The printer’s Ethernet interface will pass the command byte on to the printer
only when there is a change, i.e., when there is a new command.
The printer sends a byte of status data to its Ethernet interface using the same
data format, and will only send the data when there is a change in status. The
printer’s Ethernet interface will send the printer status byte to the HOST every
few milliseconds.
This is the command byte configuration:
Command Byte From Host to Printer:
Bit # Function when = “1” Function when = “0”
0 PRINT DON’T PRINT
1 PRINT TEST PATTERN DON’T PRINT TEST PATTERN
2 RESET DON’T RESET
3 not used
4 not used
5 not used
6 not used
7 not used
The HOST only sends the command byte to the printer. The printer’s Ethernet
interface receives this command byte from the HOST and tests it to see if it is
different from the previous command byte. If there is a change, then the
command byte is put into the “xx” of a ^Axx^D110 command and sent to the
printer. Valid values for “xx” are determined from the “Host to Printer” table
above.
The printer sends a status byte to the host every few milliseconds thru its
Ethernet interface. This status byte is sent whether there is a change of status
or not.
Status Byte From Printer to Host:
Bit # Function when = “1” Function when = “0”
0 (LSB) IN RESET or PRINTING NOT BUSY
1 ERROR NO ERROR
2 DOWNLOADING A FORMAT FINISHED DOWNLOAD
3 FORMAT LOADED NO FORMAT LOADED
4 not used
5 not used
6 not used
7 (MSB) not used
324M/424M Operator’s Manual - 880026-0144 5-23
Printer Commands Chapter 5
The General Purpose Status byte mode of operation is enabled by Soft Switch
#5, Bit #8. These are the specific commands:
^ABxxxxxxx1^D25 Enable General Purpose Mode
^ABxxxxxxx0^D25 Disable General Purpose Mode
Note that the binary data entry mode is shown in these 2 commands. The
user must set the “xxxxxxx” values to agree with current settings in order to
avoid changing any of the other settings in Soft Switch #5.
Entering General Purpose Status Byte Mode
Sending the “Enable General Purpose Mode” command will set the printer up
to go into General Purpose mode. The printer will NOT go into General
Purpose Mode until a power cycle occurs to cause the data to be stored in
FLASH memory. This command is nonvolatile, so once the General Purpose
Mode is entered the printer will stay in General Purpose Mode thru
subsequent power cycles.
Exiting General Purpose Status Byte Mode
A printer that is in General Purpose Mode will stay in General Purpose mode
thru power cycles until the “Disable General Purpose Mode” command
(^ABxxxxxxx0^D25) is issued. The next power-ON after a “Disable General
Purpose Mode” command will cause the printer to leave General Purpose
Mode.
Note: A default power-ON will also take the printer out of General Purpose Mode.
5.4 Specialized Print Modes
5.4.1 Synchronous Print Mode
This mode allows the printer to be synchronized to external equipment thru an external
PRINT control line. A second input control line ABORT allows a pending print job to be
terminated. Using this mode allows any label, no matter what size to begin printing
IMMEDIATELY using the print input signal. Printing begins 11 microseconds after the rising
edge of the PRINT control line.
Two control signals are required:
1) PRINT input line (connector P17, Pin #2),
2) ABORT input line (connector P17, Pin #8)
Signal logic levels:
The signals are active high and must be between +15Vdc and +24Vdc to be “1”.
The signals must drop below +10Vdc to be “0”.
To use this mode, follow these steps:
a) Download a label format to the printer. This format should not
have the normal ^D3 (PRINT command) in the format. If the
^D3 is left in the format, an initial label will be printed
regardless of the special input line settings.
5-24 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
a) Send the printer a ^D116<CR> command. This will force the
printer to process the label to the point that the label bitmap is
ready to be sent to the print head. After this command is sent
no communications will be possible with the printer until the
next step is completed.
b) To start the print, send a high-going pulse on the PRINT input
line. To ABORT the job, whether printing or not, send a highgoing pulse on the ABORT input line.
c) After the label prints or aborts, the printer will return to its
normal non-sync mode of operation.
The PRINT pulse should go back to “0” before the print ends to avoid a second label being
printed. A 10 millisecond pulse works fine.
Continuous sync mode is similar to single sync mode except after the label is printed the
printer will immediately begin reprocessing the format to prepare another image for printing.
If an external print signal is provided on the General Purpose print input, the printer will
begin printing as soon as the image has completed reprocessing plus approximately 10
msecs. If sufficient time is allowed for the reprocessing to complete prior to the next General
Purpose print input, the printer will begin printing almost immediately (~10 msecs).
The time between the completion of printing and when the next label is available to print is a
function of the size of the image being generated. Larger labels will take longer.
The main difference between the two modes is single sync mode prints one label and exits
sync mode. Continuous sync mode allows a user to print as many labels as they want using
the print signal until the abort is received or a paper-out occurs.
^A ^D Command
116 Synchronous Print Mode
0 Exit all sync. modes.
1 Enter single sync. mode.
2 Enter continuous sync. mode.
WARNING! There is NO time-out on this command! Once the printer receives the ^D116
command and is waiting for the PRINT or ABORT pulse, it will wait forever!
5.4.2 USB Image Print Mode
149 USB Image Print Mode:
This command controls an image print mode protocol that is used with the
USB port to shift images to the printhead at fast baud rates. This mode
requires that the bmp2mic rev 1.02 or later be used to convert the 1 bit
monochrome bitmap image to be printed. This mode basically shifts data
directly to the printhead and does not use the normal LDS command protocol.
This mode also uses additional baud rates for higher speed image printing.
Protocol:
1. The HOST sends a format to the printer that identifies the media
being used:
324M/424M Operator’s Manual - 880026-0144 5-25
Printer Commands Chapter 5
Example: ^D57[CR][LF]
1,1280,940,,,3,0,1[CR][LF]
^D56[CR][LF]
This format only needs to be sent one time after the unit has powered
on. The >RESTARTED< status message could be used to indicate
when this needs to be sent or simply send it each time a print is
desired.
2. The Host then sends the printer the ^D149 command followed by the
raw image size that has been converted by the bmp2mic rev 1.02 or
later. Please note that the size is only terminated with a [CR] and the
[LF] is not included.
Example: ^D149[CR][LF]size[CR]
3. The printer will report back the image size back to the Host as an
indication that the printer is ready to receive the image.
Example: size[CR][LF]
4. The host then sends the converted image to the printer.
This image print protocol has a 5 second inter-character timer that starts as
soon as the printer sends back the size of the image. If the 5 second times
out, the download will fail. The printer will report >FAIL TIMEOUT<, the status
light will turn RED, and the printer will not respond to any commands until
receiving the Image mode clear command.
Image Mode Clear command:
ETBYKFNR
or in hex
45 54 42 59 4b 46 4e 52
The protocol will also fail if the image data is larger than the value entered
after the ^D149 command. The printer will report >FAIL SIZE<, the status light
will turn RED, and the printer will not respond to any commands until receiving
the image mode clear command.
The graphic needs to be downloaded each time it is to be printed as reprints
are not available in the D149 Image print mode. However, the format needs to
be downloaded only once. The label will print based on the last format that
was sent to the printer.
5.4.3 Contrast Adjustment Commands
These commands are used to adjust the darkness of the label print. Print quality will vary
not only with different label stocks, sometimes even in different batches of the same label
stock. It is highly recommended that contrast adjustments be maintained at minimum
settings to achieve desired print quality. Higher contrast settings will reduce the life of the
print head.
5-26 324M/424M Operator’s Manual - 880026-0144
Chapter 5 Printer Commands
5.4.3.1 Adjust Contrast Window (Volatile - ^D35)
This command is useful for adjusting contrast for specific label formats where different label
media is used on a single printer. The command can be entered into specific label formats
rather than affecting print contrast on all label formats.
^A ^D COMMAND
XX 35 Adjust Contrast Window: This is a volatile command used to adjust the
contrast window. The range is 1 to 9 of the base (^D36).
5.4.3.2 Adjust Contrast Base (Non-volatile - ^D36)
This command is used to adjust overall contrast on all formats.
XX 36 Adjust Contrast Base: This non-volatile command is used to skew the entire
contrast window (^D35). Contrast settings above 150 reduce the overall life of
the printer. This command has a ^A range of 10 to 200%.
X 161 Contrast Limit: This command is used to set the contrast limit of the printer.
The command uses the same contrast values of the D36 command. When
this command is set, the printer will ignore all contrast settings that are above
the limit command.
5.4.4 Slice Buffer Size and Set Starting Slice Number Commands
^A ^D COMMAND
XX 92 Set Starting Slice Number: This non-volatile command adjusts the number of
slices (dot rows) generated before the printer starts moving the label stock.
The default is set to 67% of the slice buffer size. Anytime the size of the slice
buffer is changed (ref. ^D94 command), the Starting Slice # is also changed
automatically to a value that is 67% of the new slice buffer size. The
maximum number of slices (XX) is dependent on the size of the slice buffer
(^D94) command.
X 94 Set Slice Buffer Size: This non-volatile command is used to set the size of
the slice buffer that is used by the printer. If the slice buffer memory size is set
to low, the printer may start printing and then stop to process additional slices
before starting again. This typically happens on more dense formats were
more memory is required so that the printer can build the image to be printed
before actually printing the image. This command is used in conjunction with
the ^D92 command to fully optimize the slice buffer memory.