Chapter 5: designing labels using lds, 1 control characters, 2 lds design exercises – Microcom 322M User Manual

Page 27

Advertising
background image

322M Operator’s Manual

23

Chapter 5: 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.

5.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).

5.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 lea

st one unused serial communication port (COM1, COM2…).

- A serial interface cable (see section 4.1.1).
- A VT-100 terminal emulation program such as HyperTer

minal™.

- A text editor that does not add formatting characters such as Microsoft® Notepad.

5.2.1

PC Connection (Serial)

The printer ships with serial communication parameters set to 9600 bits per second, no
parity, 8 data bits, and 1 stop bit (9600-N-8-1). This means that for proper communication,
the PC’s communication port will have to 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, it is a good idea to set the
communications port up using the DOS MODE (for example: C:\>MODE
COM1:9600,n,8,1,p) command 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

Advertising