0 print formatting, 1 print formatting commands, 2 customizing print formats – Rice Lake 120 Digital Weight Indicator User Manual

Page 31: 1 using the edp port, 0 print, Formatting, Using the edp port

Advertising
background image

Print Formatting

27

6.0

Print Formatting

The 120 print format can be edited to specify the
format of the printed output when the

PRINT

key is

pressed or when a KPRINT EDP command is
received.

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
i n d i c a t o r f r o n t p a n e l ( PF O R M T m e n u ) , E D P
commands, or the Revolution® configuration utility
to customize the print format.

6.1

Print Formatting Commands

Table 6-1 lists commands you can use to format the
print format. Text included in the format string must
be enclosed in quotation marks (hex 22). Text
characters can include any ASCII character that can
be printed by the output device.

Table 6-1. Print Format Commands

Command

Description

@G

Gross weight in displayed units

@N

Net weight in displayed units

@T

Tare weight in displayed units

@C

Consecutive number

@M

Conditional net and tare weights.

Use the @M command in pairs to enclose the
@N and @T commands. If no tare is in the
system, net and tare weights are not printed.

@t

Time

@d

Date

@Lnn

New line (nn = number of termination characters
[CR/LF or CR] )

@Snn

Space (nn = number of spaces)*

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.

Note

The 300-character limit of the 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.

6.2

Customizing Print Formats

The following sections describe procedures for
customizing the print format using the EDP port or the
front panel (PFORMT menu).

6.2.1

Using the EDP Port

With a personal computer, terminal, or remote
keyboard attached to the 120 EDP port, you can use
the EDP command set to customize the print format
string.

To view the current setting of the print format, type
WWPF (to enter ASCII text) or WPF (to enter hex
values) then press

ENTER

. The indicator responds by

sending the current configuration for the print format:

Use the WWPF or WPF EDP command followed by
an equals sign (=) and zero (0) to edit the print format
string.

The following example shows the commands used to
define a print format string for an Eltron LP-2742
printer.

Note

Note

The N, AxxxxxxN, Bx, and P1 commands used
in the example are all Eltron printer-specific
commands.

WWPF=0
N
A0,0,0,3,1,2,N,”Blue Hills Transfer Co. @d @t @C”
A8,50,0,5,1,1,N,”@G”
@M A8,120,0,5,1,1,N,”@T”
A8,190,0,5,1,1,N,”@N”@M
B8,260,0,3,3,7,100,B,”@G”
P1

After entering the WWPF=0 or WPF=0
command, you must begin entering the print
format. If no data is entered, the command
times out, resulting in a blank format.

Advertising