Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




  • Ticket Extensions
  • Ticket Keywords
  • Static Images
  • Ticket Emailer
  • Printer Setup

    Ticket Settings

    A ticket format file is used by Interact as a template for generating printed or emailed transaction tickets. Use the Ticket Editor to create and modify ticket format files.

    Multiple ticket formats can be created. Within the Interact program, a system default ticket is selected. Unless otherwise specified, all transaction tickets will print using the default ticket. A different ticket format file, that will override the system default ticket, can be selected for an individual account or truck.

    To open the Ticket Editor, select Utilities | Ticket EditorThe Ticket Editor is used to create ticket formats or templates for printed or emailed tickets. Use this table to:

    To add new, edit existing, or delete ticket formats, select Utilities | Ticket Editor. Click the Image Added Add New button. A window similar to the following will appear.

    Image Removed

    To create a new ticket design, click the Image RemovedNew button. A blank form appears.

    Enter a meaningful name and file extension for the ticket, TicketSample.gtk for our example.

    Click the Image RemovedSave button to continue. To undo any changes click the Image RemovedUndo button.
    Note
    titleTicket File Import

    A ticket format file created using a text editor such as Notepad, can be imported into Interact. Once the file has been imported additional modifications can be made to the ticket using Ticket Editor. Select Setup | Weigh Options to learn more. This is a great way to import ticket format files used in older revisions of Interact.

    Info
    titleTicket Extensions

    Interact uses file extensions to perform different functions; the file extension will tell Interact if the ticket should print for an outbound transaction or an inbound transaction or an unattended transaction. Go to the Ticket Extensions page to learn more about ticket extensions.

    Ticket Design

    Types of Information

    Tickets may contain the following types of information.

    • Static Text
    • Database Fields
    • Flag Fields
    • Printer Commands
    • Horizontal and Vertical Positioning
    • Images and Logos

    To accommodate multiple item transactions, the ticket is split into three sections: header, body, and footer. Header lines are printed once before the first transaction item. Body lines are printed once per transaction item. Footer lines are printed once after the last transaction item. Header lines are designated by the letter 'H' in the first character position of the format line. Body lines are designated by the letter 'B' and footer lines by the letter 'F'. Each section letter must be followed by a space.

    Any format line without a section identifier is considered a header line.

    Static Text

    Static text fields are contained in double quote ("). Any desired text character enclosed in the double quotes, spaces included, will appear on the ticket.

    Database Fields

    Database fields that are stored in the Interact database. A database field is placed on a ticket by enclosing the field name in square brackets ([ ]). A list of available database fields can be found on the Ticket Keywords page.

    Flag Fields

    A flag is set in the database whenever a special condition has been met by a transaction.  A list of available flag fields can be found in the Flag Fields section of the Ticket Keywords page.

    Printer Commands

    Every printer has its own set of commands. 

    Horizontal and Vertical Positioning

    Commands used to align text and database fields on a printed ticket. Instructions to use horizontal and vertical positioning commands can be found on the Font and Positioning Commands page.

    Images/Logos

    Images can be added to a ticket design using the following command: {IMAGE "filename,Horizontal,Vertical,Width,Height"}. The following example will print the image in the top left corner of the ticket.

    • {IMAGE "Bedrock SGLogo,0,0,2.75,1.0"}
      • Command - IMAGE
      • Filename - Bedrock SGLogo
      • Horizontal Position (X) - 0.0 Inches
      • Vertical Position (Y) - 0.0 Inches
      • Width of Image - 2.75 Inches
      • Height of Image - 1.0 Inches
    Warning
    titleImage Name

    Use only the filename. The file extension (JPG, PNG, or BMP) are not required. The image will not appear if the file extension is included.

    The following is an example of a very simple laser printer ticket design.

    Image Removed

    To view, add, or delete images from the database, click the Image Removed MODIFIY STATIC IMAGES button. 

    To preview the ticket design as a printed ticket, click the Image Removed REFRESH PREVIEW button. Below is an example of what the TicketSample.gtk file will look like when printed. This sample ticket was designed without a logo.

    Image Removed

    Additional sample tickets can be found by clicking the following link: Sample Ticket Designs

    Transaction Used for Preview

    To select a specific transaction to be used when previewing a ticket design enter the ticket number in the space provided. To search for recent tickets click the Image RemovedSEARCH TRANSACTIONS button. A list of recent transactions appears. Select one from the available list and click the Image Removed REFRESH PREVIEW button.

    System Default and Custom Ticket Designs (new page)

    Other ticket files can be created and used as custom tickets. To use a specific ticket for a particular customer, truck, or truck type, design the ticket and give the ticket a meaningful name. Select the account, truck or truck type then select the custom ticket filename from the available drop-down list. Click the Image RemovedSave button to continue. To undo any changes click the Image RemovedUndo button.

    Ticket printing will choose the ticket name (excluding the suffix) of the file based on the following priority ranking:

    1. Truck Preference Ticket
    2. Truck Type Preference Ticket
    3. Account Preference Ticket
    4. System Global Ticket
    Panel
    borderColor#003399
    bgColor#FFFFFF
    titleColor#FFFFFF
    borderWidth2
    titleBGColor#003399
    borderStylesolid
    titleRelated Links

    Image Added

    Use the Related Links section for links to additional documentation.