beautypg.com

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

Page 55

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= GROSS

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 DUMP2356 EAST HIGHWAY ROADSMALLTOWN GROSS

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

command for the address in the GFMT ticket format:

HDRFMT1=MOE'S DUMP2356 EAST HIGHWAY ROADSMALLTOWN

GFMT.FMT=

GROSS