3 using serial commands, Using serial commands – Rice Lake 920i Installation Manual V1.05 User Manual

Page 55

Advertising
background image

Print Formatting

51

6.3.3

Using Serial Commands

With a personal computer, terminal, or remote keyboard attached to one of the

920i

serial ports, you can use the

serial command set described in Table 6-1 on page 47 to customize the print format strings.

To view the current setting of a format string, type the name of the print format and press the

enter

key. For

example, to check the current conÞguration of the GFMT format, type GFMT.FMT and press

enter

. The

indicator responds by sending the current conÞguration for the gross format:

GFMT.FMT=<G> GROSS<NL>

To change the format, use the GFMT.FMT or NFMT.FMT serial command followed by an equals sign (=) and
the modiÞed print format string. For example, to add the name and address of a company to the gross format, you
could send the following serial command:

GFMT.FMT=MOE'S DUMP<NL>2356 EAST HIGHWAY ROAD<NL>SMALLTOWN<NL2><G> GROSS<NL>

A ticket printed using this format might look like the following:

MOE'S DUMP
2356 EAST HIGHWAY ROAD
SMALLTOWN

1345 LB GROSS

The ticket above could also be formatted by specifying the company address information in the HDRFMT1
ticket format, then substituting the <H1> command for the address in the GFMT ticket format:

HDRFMT1=MOE'S DUMP<NL>2356 EAST HIGHWAY ROAD<NL>SMALLTOWN<NL2>

GFMT.FMT=<H1><G> GROSS<NL>

Advertising