1 printer command field – Rice Lake TransAct 2.0 User Manual
Page 121

120
Appendix
the TransAct menu bar to set up the printer.
When creating a ticket, these following field types are available:
•
Static Text
•
Database
•
Flag Fields
•
Printer Commands
•
Column Positioning
To accommodate multiple item transactions, TransAct splits the ticket into
three sections:
Header Lines—Printed once before the first transaction item; designated by
an H in the first character position of the format line.
Body Lines—Printed once per transaction item; designated by a B in the
first character position of the format line.
Footer Lines—Printed once after the last transaction item; designated by an
F in the first character position of the format line.
Below is an example of a custom ticket format file.
\27 24 18\\
H"Account No. "[Account] COL46"Transaction Information
H[Account Name]
COL46"Ticket Number "[Ticket Number]
H[Account Address]
COL46"Date In "[Date In]
H[Account Address2]
COL46"Date Out "[Date Out]
H[Account City]","[Account State]" "[Account Zip Code]
H
H"Truck No.:" COL12[Truck Number]
H
H"Detailed Transaction Information"
H"Refuse Code:"COL15"Rate""Gross Weight:"COL40"Tare Weight:"COL55"Net Weight:"
B[Refuse Code]COL15[Rate]COL25[Weight In]COL40[Weight Out]COL55[Net Weight]
F
F
F
F"Total Items"COL12[Ticket Items]COL23"Total Weight:"[Grand Total Weight]
F"Total Charge"[Grand Total Charge]
F
F{Edited"Ticket Edited"} COL48[Notes]
F{Reprint"Reprinted Ticket"}
F{Keyed Weight"Keyed Weight"}
12.4.1 Printer Command Field
Every printer has its own set of commands. These commands can be helpful
when printing to a preprinted form. The TransAct program understands the
decimal version of the command enclosed in double backslashes. The first
line of the sample ticket format above is a printer command:
\\27 24 18\\
. This command initializes the printer and sets the character