0 print formatting, 1 print format commands, Table 6-1. print format commands – Rice Lake 120 Plus Digital Weight Indicator User Manual

Page 37: 2 using any editor through edp

Advertising
background image

Print Formatting

33

6.0

Print Formatting

6.1

Print Format Commands

The following table gives the possible indicator parameters and command values that may be printed.

This section describes setting the print formats for the indicator, using the serial port or the front panel. There are
two methods to edit the print format.

6.2

Using Any Editor Through EDP

Write the print format data in pure text format. The following samples are for an Eltron LP 2742 printer.

Wwpf = 0 N
A0,0,0,3,1,2,N,"Vishay Transducers Ltd. @d @t @C" A8,50,0,5,1,1,N,"@G" @MA8,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

First, place a "WWPF=0" in the first line to indicate that the following is a print format file. Place printer
parameters in the beginning of each line as required, and then use double quotes to contain the text that you want
to print on the ticket (see table above).

Note in the above example, N, AxxxxN, B, and P1 are printer specific parameters for the Eltron LP 2742. ASCII
characters in HEX mode:

wpf=0
4E 0D 41 30 2C 30 2C 30 2C 33 2C 31 2C 32 2C 4E 2C 22 43 65 6C 74 72 6F 6E 20 54 65 63 68 6E 6F 6C 6F 67 69 65 73
20 49 6E 63 2E 20 40 64 20 40 74 20 40 43 22 0D 41 38 2C 35 30 2C 30 2C 35 2C 31 2C 31 2C 4E 2C 22 40 47 22 0D 40
4D 41 38 2C 31 32 30 2C 30 2C 35 2C 31 2C 31 2C 4E 2C 22 40 54 22 0D 41 38 2C 31 39 30 2C 30 2C 35 2C 31 2C 31
2C 4E 2C 22 40 4E 22 40 4D 0D 42 38 2C 32 36 30 2C 30 2C 33 2C 33 2C 37 2C 31 30 30 2C 42 2C 22 40 47 22 0D 50
31 0D

First, place "WPF=0" in the first line to indicate that the following is a print format file. Then place each character
in ASCII HEX format and include a 0D for carriage return.

Command

Description

@G

Gross weight in displayed units. This also displays the weight units used.

@T

Tare weight in displayed units.

@N

Net weight in displayed units.

@C

Print consecutive number.

@Ln

New line, n specifies termination number.

@t

Time

@d

Date

@Sn

Space, n specifies the number of spaces.

@M

Use in pairs to quote Tare and Net data. If Tare is present, then the Tare and Net data will be printed
on the ticket.

identifier. The 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.
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

Table 6-1. Print Format Commands

Advertising