SCO Unix»How to setup a receipt printer
  • RSS Feed

Last modified on 1/7/2015 9:50 AM by User.

Tags:

How to setup a receipt printer

         A receipt printer is a special printer that prints invoices on
        40 column paper.
        It will replace the warehouse printer.  So you can't have both
        a warehouse printer and a receipt printer at the same time.
 
---------
Overview:
---------
           Add printer to system (scoadmin)
                rcpt1
 
           Order Entry parms
                INVOICE'TYPE'RULES=1  or blank
                RECEIPT'HDR'PRINT=O
                RECEIPT'ITEM'PRINT=Ts
                RECEIPT'TRL'PRINT=
                WALT'INVOICE'PROMPT=Cash sale
 
           System printer definition
                Add line for printer with "receipt" in description
                Adjust margin for tear off bar.
 
           Order Entry printer assignments
                Change column #3 to RCPT1
 
 
---------------------------------------
Step 1.  Add the printer to the system.
---------------------------------------
       - If you are replacing an existing printer then you can attach the
         receipt printer to the existing cable for the old printer and go
         to step 2.
 
       - If this is going to be an additional printer, you will need to
         have MV Software add a new printer device to the operating system.
         Be prepared to answer these questions:
            - Will this printer be shared between multiple terminals?
            - How is the printer to be connected?
              - To the back of a dumb terminal?
              - The digi-board (which port is unused)?
              - To a PC?
 
---------------------------------
Step 2.  Change Order Entry parms
---------------------------------
 
        Module:     Order Entry
          Task: 32. System management
       Subtask: 22. Modify parameter files
        Select:  1. O/E - General
 
        Press Esc.
        enter:         s INVOICE'TYPE'RULES
        press enter
 
        The cursor should be on the line for INVOICE'TYPE'RULES
 
        Change the line to INVOICE'TYPE'RULES=1
 
               1= Any invoice that doesn't have an in-house charge tender
                  will go to the receipt printer automatically when
                  action "22. Invoice" is chosen on the Order Entry collection
                  screen.
 
               blank= Receipt will print only if the operator chooses
                      action "25. Cash Sale" from the Order Entry collection
                      screen.
 
        Press Esc.
        enter:         s WALT'INVOICE'PROMPT
        press enter
 
 
        The cursor should be on the line for WALT'INVOICE'PROMPT
 
        Change the line to WALT'INVOICE'PROMPT=Cash sale
 
        This will make the Order Entry collection screen display "Cash sale"
        for action 25.
 
        -----------------
        Optional settings
        -----------------
        You can make the receipt print other things by changing the value of
        the parameters:
 
                RECEIPT'HDR'PRINT=O
                RECEIPT'ITEM'PRINT=Ts
                RECEIPT'TRL'PRINT=
 
        The above parameter is the "standard" receipt and will print all
        line items with a desription, amount, and a "T" beside the taxable
        items, single spaced.
 
        Add any of the following letters to make the receipt print that
        information. (upper and lower case letters mean different things).
 
            RECEIPT'ITEM'PRINT=
                 D=dimensions, S=Serial#, I=Item #, Q=Qty, P=Unit price,
                 W=Warranty, d=discount, t=trade-in
 
        For example:  RECEIPT'ITEM'PRINT=TsQI  will also print the
                      Quantity and item number.
 
        For example:  RECEIPT'ITEM'PRINT=   will not print the "T" next
                      to taxable items, and all line items will be
                      double spaced.
 
            RECEIPT'TRL'PRINT=
                 B=Bill to ,  S=Ship to
 
        For example: RECEIPT'TRL'PRINT=S will print the ship-to information
                     in the trailer.
 
 
        When you are finished with your changes you have to save them
 
               Press Esc.
               enter:         f  (to save changes)   q (to cancel changes)
               press enter
 
 
---------------------------------------------
Step 3.  Change the system printer definition
---------------------------------------------
 
        Add a new printer to Profits Plus system printers.
 
        Module:     Software Maintenance
          Task: 22. System printers
       subtask:  1. Enter new Printer record
 
        Fill in the 1st 4 fields as shown below.  As soon as you enter the
        Model ID the remaining fields on the screen will get filled
        automatically.  Just press enter for the remaining fields.
 
        Example:
 
        01. Printer name:RCPT1
        02. List Seq#   :0600
        03. OS Dev name :RCPT1                (press tab to pick from a list)
        04. Model ID    :RECEIPT
        05. Description :Receipt printer
        06. Keywords    :RECEIPT
        07. Cmp codes   :000,000,000,000
        08. Nor codes   :000,000,000,000
        09. Cmp pg width:80
        10. Nor pg width:40
        11. Top margin  :6                 (You may have to "tweak" field 11)
        12. Lines/page  :99
        13. Spool cmd   :
        14. Notes       :
 
        Field "11. Top margin" specifies the number of blank lines to print
        after every receipt so it advances the printed portion of the receipt
        past the tear bar.  You may have to come back later and
        change this number for your particular printer.
 
 
---------------------------------
Step 4.  Change Order Entry parms
---------------------------------
 
        Module:     Order Entry
          Task: 32. System management
       Subtask: 17. Modify application tables
        Select:  2. Order entry printer assignments
 
       Change column #3 to RCPT1 (the receipt printer name) for every
       terminal that will use the receipt printer.
 
;             #1     #2     #3     #4     #5     #6
"TERM01" , "PRINT2,PRINT2,RCPT1 ,PRINT2,PRINT2,PRINT2"
"TERM02" , "PRINT2,PRINT2,RCPT1 ,PRINT2,PRINT2,PRINT2"
"TERM02" , "PRINT2,PRINT2,RCPT1 ,PRINT2,PRINT2,PRINT2"
                            |
                            |
                            +--- Change this to the receipt printer name
 
        When you are finished with your changes you have to save them
 
               Press Esc.
               enter:         f  (to save changes)   q (to cancel changes)
               press enter
 
 
------------------------
Step 5. Test the printer
------------------------
        Take one terminal and start up order entry.  If it was already in
        order entry you'll have to return it to the menu and start order
        entry again to activate the above changes.
 
        Print a test receipt.  If the paper does not advance far enough
        to tear it off at the tear bar you will have to go back to step 3
        and adjust the M (margin) setting.
 
        If you can't get the printer to work at all then you can disable
        the receipt printer for all other terminals quickly by going
        back into step 2 and changing "INVOICE'TYPE'RULES=" to blank.
            Example:  INVOICE'TYPE'RULES=
 
        When you are ready to test the receipt printer again you must
        go back into step 2 and change INVOICE'TYPE'RULES=1 before running
        your test.
 
 
----------------------------
Step 6.  Restart Order Entry
----------------------------
        After all the above changes are made, have each order entry terminal
        return to the menu and select order entry again.  This will activate
        the changes you have made.