0 print formatting, 1 print formatting commands, 2 customizing print formats – Rice Lake IQ Plus 355 Installation Manual V1.17 User Manual

Page 31: 1 using the edp port, Print formatting, Using the edp port

Advertising
background image

Print Formatting

27

5.0

Print Formatting

The IQ plus 355 provides two print formats, GFMT

and NFMT, that determine the format of the printed

output when the

PRINT

key is pressed or when a

KPRINT EDP command is received. If a tare has been

entered or acquired, NFMT is used; otherwise, GFMT

is used.
Each print format can be customized to include up to

300 characters of information, such as company name

and address, on printed tickets. You can use the

indicator front panel (PFORMT menu), EDP
commands, or the Revolution

configuration utility to

customize the print formats.

5.1

Print Formatting Commands

Table 5-1 lists commands you can use to format the

gross and net print formats. Commands included in

the format strings must be enclosed between < and >

delimiters. Any characters outside of the delimiters

are printed as text on the ticket. Text characters can

include any ASCII character that can be printed by the

output device.

The default GFMT and NFMT print formats use only

the new line (<NL>) command and the commands for

gross, net, and tare weights in displayed units (<G>,

<N>, and <T>).
The default IQ plus 355 print formats are shown in

Table 5-2:

NOTES:

The <G2>, <N2>, and <T2> commands listed

in Table 5-1 print the gross, net, and tare

weights in non-displayed units—that is, in the

units not currently displayed on the indicator.

ID numbers included in the print format string

(<ID> command) must be set using the

KNEWID EDP command.

The 300-character limit of each print format

string includes the output field length of the

print formatting commands, not the command

length. For example, if the indicator is

configured to show a decimal point, the <G>

command generates an output field of 13

characters: the 10-character weight value

(including decimal point), one space, and a

two-digit units identifier.

5.2

Customizing Print Formats

The following sections describe procedures for

customizing the GFMT and NFMT formats using the

EDP port, the front panel (PFORMT menu), and the

Revolution configuration utility.

5.2.1

Using the EDP Port

With a personal computer, terminal, or remote

keyboard attached to the IQ plus 355 EDP port, you

can use the EDP command set to customize the print

format strings.
To view the current setting of a format string, type the

name of the string (GFMT or NFMT) and press

E N T E R

. F o r e x a m p l e , t o c h e c k t h e c u r r e n t

configuration of the GFMT format, type GFMT and

press

ENTER

. The indicator responds by sending the

current configuration for the gross format:

GFMT=<G> GROSS<NL>

Command

Description

<G>

Gross weight in displayed units

<G2>

Gross weight in non-displayed units

<N>

Net weight in displayed units

<N2>

Net weight in non-displayed units

<T>

Tare weight in displayed units

<T2>

Tare weight in non-displayed units

<ID>

ID number

<CN>

Consecutive number

<NLnn>

New line (nn = number of termination (<CR/LF>
or <CR>) characters)*

<SPnn>

Space (nn = number of spaces)*

<SU>

Toggle weight data format (formatted/
unformatted)**

Gross, net, and tare weights are 9 digits in length, including
sign (10 digits with decimal point), followed by a space and a
two-digit units identifier. Total field length with units identifier
is 12 (or 13) characters.

ID and consecutive number (CN) fields are 1–6 characters in
length, as required.

* If nn is not specified, 1 is assumed. Value must be in the
range 1–99.

** After receiving an SU command, the indicator sends
unformatted data until the next SU command is received.
Unformatted data omits decimal points, leading and trailing
characters.

Table 5-1. Print Format Commands

Format

Default Format String

Sample Output

GFMT

<G> GROSS<NL>

2046.81 LB GROSS

NFMT

<G> GROSS<NL>
<T> TARE<NL>
<N> NET<NL>

4053.1 LB GROSS
15.6 LB TARE
4037.5 LB NET

NOTE: In OIML and CANADA modes, the letters PT (preset
tare) are automatically inserted after the printed tare weight.

Table 5-2. GFMT and NFMT Formats

Advertising