















                           D O C U M E N T A T I O N



                                     F O R




                            S E T U P P O S. E X E








                        S E T U P   O F   P O S A T 3.6



















                                       by


                                   G.P.R.DATA







.
.





























                 Sales person setup.                          1

                 Cash drawer setup.                           1

                 Setup for denomination, width of docket,     2
                            docket push out and rounding.

                 Setup for low stock warning, tax rate        3
                          and low-medium-high discount.

                 Docket set up.                               4

                 Docket header.                               4

                 Setup for the article and total lines.       5

                 Language setup.                              6

                 Docket bottom                                6

                 Sample docket and finish of setup.           6

                 SETUPPOS does not work or "hang's".          6












.
.


                                                                        1





                              SALES PERSON SETUP.
                              -------------------

        In the evaluation and standard copy is provision to install 5
        sales persons.  For each sales person there is a one space wide
        code field,  and a 9 space wide name field allocated.
        Any number or letter can be used in the code.

        Do not use the same code for more than one sales person, you can
        however use the same names. Type the sales person codes and
        names as required. If a field does not need changing, then
        press the ENTER key. If a name is longer as 9 characters, then
        it will be truncated. The letters will turn blue while you
        type in or when a field is finished.

        In case there are no 5 sales person, then use dummy codes and
        names or X xxxxx's.

        If a mistake was made, then the backspace or in some fields the
        ~  key will move you to the front while still in that field.

        At the end of most setup screen's there will be a:
                    Do you want to do it again  Y/N.
        If you type a "Y", then the cursor will move back to the first
        item on this screen. If you type "N", it will move on to the
        next screen.


                               CASH DRAWER SETUP.
                               ------------------

        The cash drawer and printer setup are closely related. Normally
        The printer is connected to the parallel port, and the cash
        drawer to the serial port (COM1). Some printers however must be
        connected to a serial port(COM1), and consequently the cash-
        drawers must be moved to receive the open up signal from COM2.

        Some docket printers do have a special cash drawer port, and it
        is preferable to use that.

        NOTE: Before any serial port can be used(COM1-COM4), an
        appropriate MODE command must be issued. The same does apply for
        redirecting the output to the printer if it is connected to a
        serial port. This commands must be given before POSAT36 is run.
        (The best solution is to placed them in the AUTOEXEC.BAT file,
        as this will save you from typing the same commands every day).










.
.


                                                                        2



        Example: The syntax to initialize COM1  =  MODE COM1:96,N,8,1
                 Look in your DOS manual, as it may vary from version
                 to version.
                 The syntax to redirect the print output from parallel
                 port to a serial port (COM1)  =  MODE LPT1:=COM1:
                 The initializing commands are best placed in the file
                 AUTOEXEC.BAT.

        Below is the list of available options:

        Printer  Cash  type        comments
                drawer
        -----------------------------------------------------------------
        no        no    0  If nothing is connected, then POSAT3.6 will
                           sent nothing to the ports.
        parallel  no    0  Connect printer to parallel port.
        parallel  yes   0  If the cash drawer is connected to the printer.
        parallel  yes   1  If the cash drawer is connected to serial port
                           COM1.   Note: Initialize COM1.
        serial    yes   2  Redirect the print out put from LPT1 to COM1.
                           Connect the printer to COM1.
                           Connect the cash drawer to COM2.
                           Note:  Initialize COM1 and COM2.


        SETUP FOR DENOMINATION, DOCKET WIDTH, DOCKET PUSH OUT, ROUNDING.
        ----------------------------------------------------------------

        The denomination field is two characters wide. You can use
        either or both.
        EXAMPLES:   $  0.00;   $ 0.00;   DM 0.00

        In the second field type "R" if you want the TOTAL rounded or
        "N" if you do not want the TOTAL rounded.
        When the rounding is switched on, then the last figure of the
        total sum is from 1 to 4 rounded down to 0,
                 and from 6 to 9 rounded down to 5.

        In the third field you type the number of how many characters
        your docket printer can print on a line (in the font PICA).

        If you have a 40 column printer or better, then type 40.
        The printer will print the article, dotted and total lines as
        below:

         Article description          10  x      15.00     150.00
         --------------------------------------------------------
         Rounding     $ 0.00         Total               $ 150.00

        If this lines are printed in semi compressed mode, the actual
        docket is 10 cm or only this
        |---------------------------------------| wide.
        There is provision to center (push print out to the right)
        to suit wide printers.




.
.


                                                                        3




        If the printer is not able to print 40 column in PICA, then
        type a number from 34 to 39 in this field. This will yield a
        smaller docket at the expense of some truncations and printing
        the article code instead the article description as below:

         CODEXY       0 x        0.00       0.00
         ---------------------------------------
         Round  $  0.00     Total      $  0.00

        The actual width of above printed, would be (using 34) this
        |-------------------------|  wide.   Using 39 approximately
        |------------------------------|  wide. (6.5 to 9cm).

        It is also another function for small printers in the making.
        With this the article description will be printed as in the wide
        version, and will then skip down to the next line to print the
        numbers.

        The last field will determine how many line the finished docket
        will be ejected. For most printers a 5 to 7 will be sufficient.


                SETUP FOR INVENTORY, TAX RATE AND DISCOUNT'S.
                ---------------------------------------------

        The type of INVENTORY is set by typing a low stock warning No.
        greater than 0 in this field. The low stock warning is then also
        switched on. If you type 0, then POSAT36 will run with SEMI
        INVENTORY and no low stock warning.  Type the number as % but do
        NOT  use a decimal figure. The warning will be activated when the
        on stock figure for this article does fall below the percentage
        determent in this field.

        Example: If you do set the Maximum stock level for an article to
        40 (in the pricelist), and the low stock warning is 25, the an
        alarm will sound when the stock does fall to 10 or below.
        NOTE: The on stock figure for each article is updated every
        time POSAT36F.EXE is run.

        If you want to switch off the low stock warning, or you are
        using semi inventory, then type in this field a 0.

        In the next field you type the tax rate. This evaluation copy
        will be sent all around the world and therefore has to handle a
        number of different tax implementations. It will cope with most
        but not all.
        The registered copy will have the tax function implemented to
        suit the country it is used in.

        If this evaluation copy did not suit, then please sent me a few
        lines explaining what you would like added, left out or changed.
        I'm confident that I can alter POSAT36 to make it suitable for
        any country.




.
.


                                                                        4





        If you do not want tax added to the total, then type a 0.

        If you want tax added to the total, then type the appropriate
        tax rate.  Decimals are OK.

        If the tax is already included in the sales price, then type
        a 0.  In this case, you should run POSAT36F with a different
        setup file which does include the tax rate (not needed with
        the registered version). This will give you the amount of tax
        contained in the total.

        In the next three fields type the discount figures for low,
        medium and high discount. The discount function is activated
        when you type at the sales screen in the:
         Is this correct field Y/N, a:
                                       Y = no discount
                                       L = low discount
                                       M = medium discount
                                       H = high discount
         Decimals are OK.


                                 DOCKET SETUP.
                                 -------------
        The next two screens are a introduction for the docket setup
        and printer control characters. Please read them and consult the
        manual of your printer to find the relevant control codes.
        You may have to reset the printer dip switches to enable the IBM
        graphic set II

                                 DOCKET HEADER.
                                 --------------
        Most printers are capable to print in different sizes and fonts.
        To choose a particular font a printer control code must be sent
        to the printer.  This p-codes (printer codes) enable the printer
        to print on a line more (but smaller) or less (but wider)
        characters.

        How many characters will fit on a line is determent by the font
        used for this line. If the samples below would be printed with
        the correct p-codes, then the resulting printed lines would all
        fit and fill out the space between the arrows exactly.
        Ŀ
        >                                        <
          PICA.DOUBLE-WIDE..19
          ELITE.DOUBLE-WIDE.20..24
          SEMICOMPRESSED.DOUBLE-WIDE..30
          COMPRESSED.DOUBLE-WIDE......30..34
          PICA....10........20........30........40
          ELITE...10........20........30........40.....47
          SEMICOMPRESSED....20........30........40........50.......59
          COMPRESSED........20........30........40........50........60......68




.
.


                                                                        5





        Live would be just to easy if every body would do the same.
        Printer manufacturers make no exception and using all different
        control codes to make the printer doing the same thing.


        The SHOPDATA.EVC included, does contain the printer codes
        (control characters) for a EPSON printer, including a sample
        docket header and bottom. Also included are a number of SHOPDATA
        files to suit other brands of printers. This files carry printer
        brandnames and the extension PRN.

        EXAMPLE: if you rename the file STAR.PRN to SHOPDATA.EVC, then
        this file should work with any STAR dot matrix printers.

        This paragraph does apply for this and all following screens.
        ------------------------------------------------------------ ******
        If you want to change a field, then you must start at the front
        of the field. First typing the print code (p-code), then the
        required number of spaces (to push the following entry to the
        right), and then what you want to be printed on the docket. To
        type an ESC character simply press the ESC key. To start a line
        again press the ~ key. If a line does not need changing, then
        press the ENTER key. Some printers do need release codes before
        they can print any another font. If this is not needed, then
        press ENTER in such fields. Note that p-codes or the spaces they
        occupy are not printed, but every thing after.

        In the first field are two p-codes. The first to print this line
        in PICA, the second to print double wide and then the shop name.
        In the second field there is a release code to stop the double
        wide printing. The next fields are for the address and telephone/
        fax No and the accompanying release fields.


                     SETUP FOR THE ARTICLE AND TOTAL LINES.
                     --------------------------------------

        Type in the first field the p-codes for the article, dotted,
        total lines. In the third line type the p-code for the "paid by"
        (cash, cheque, credit) line and in the fifth field the p-code
        for the "Served by" line. In line two, four and six type the
        relevant release codes or if non are needed, then press ENTER.
        Above lines can be "pushed" to the right by typing spaces after
        the p-code. The grey bar below those fields do indicate how many
        characters and spaces was placed there at the last setup.
        For this spaces a different not visible character is used when
        you press the space bar, as a printer would not print spaces
        when no "real" characters are further down that line.








.
.


                                                                        6




                                LANGUAGE SETUP.
                                ---------------

        The next two screens do allow you to change the words used in
        the docket to the equivalent words in your language.

        This field have all a set width, and the words used must fit
        within the spaces allocated or must be truncated. Below are the
        names of the fields and a number expressing the maximum width
        of them.
          Tax 6;  Total 8;  Served by 10;  Subtotal and Rounding 11;
          and all other fields 14.

        If you use the small docket, then the Subtotal and Rounding only
        will be truncated to a width of 6.



                                 DOCKET BOTTOM.
                                 --------------

         The docket bottom is very similar as the docket header. Fill in
        the fields with the p-codes, a few friendly words and the shop
        name or leave them empty.

         If you have a cash drawer which is connected to the printer,
        then you may have to put the special code to open the cash
        drawer in one of above fields.



                        FINISH SETUP AND SAMPLE DOCKET.
                        -------------------------------

        The last screen does enable you to print a sample docket.
        The sample docket will have the same dimensions, line width and
        positions of words and amounts as the real docket would.

        Next you'll have the choice of doing the docket setup, or the
        whole setup again.

        In the last field type a "Y" or all changes will be lost. If you
        type "Y", then a copy of the previous setup will be saved to the
        file SHOPDATA.OLD.



                   SETUPPOS DOES NOT WORK OR "HANG'S".
                   -----------------------------------

        The program may hang or stop with a "runtime" error if the file
        SHOPDATA.EVC is corrupt.  Should this happen, then exit the program
        delete the file SHOPDATA.EVC and restart this setup program.
        Should this not fix the problem, then the program SETUPPOS.EXE
        is corrupt.
        If the docket has characters missing, then set the printer dip
        switches to IBM graphic mode I or II.  (Set dip switch 1 to off,
        and switch 7 to on.                                                 
