Layout file preferences.txt

     This file contains settings for the program. You may alter value's with an editor (notepad or wordpad or ..).
     Note to yes or no: only the yes part is described, no means it will not do ....
  1. Example contents preferences.txt:
    number_of_employes          30
    keep_stock                  yes
    keep_discount               no
    discount_on_all             0
    sales_per_year              yes
    sales_per_month             yes
    sales_per_day               yes
    sales_per_employe           yes
    file_per_receipt            yes
    balloon_tips                yes
    receipt_prefix              2006_
    receipt_nbr_digits          5
    actual_receipt_number       1
    receipt_postfix             
    print_receipt               no
    receipt_header              receipt_header.txt
    receipt_quantity            yes
    receipt_quantity_digits     5
    receipt_item_chars          50
    receipt_price               yes
    receipt_price_digits        8
    receipt_subtotal_digits     10
    receipt_trailer             receipt_trailer.txt
    receipt_fontsize            7
    csv_seperator               ,
    revert_after_power_dip      yes
    sound_item_not_found        C:\WINDOWS\Media\Windows XP Critical Stop.wav
    
  2. number_of_employes
    Range 1..30 ,defines how many seperate receipts you want to keep open simultanious.
    If you have 30 tables in the restaurant then maybe you want to keep track of 30 seperate receipts.
    Or you have more then 1 employes selling things for you and want to keep track of their sellings.
    Names of tables or empoyes can be set via menu_lingua.txt
    Set it to 1 if you don't care or are the only.

  3. keep_stock
    yes or no, set to yes and the stock value of pricelist.txt is updated with every completed receipt.
    In addition you can generate a stock report whenever you want via menu "Files", menu item "Stock report".

  4. keep_discount
    yes or no, set to yes and the discount on all items is, at the start of the program, set to the value of discount_on_all and then
    again after every receipt is completed. When set to no the discount on all items is reset to 0.0 after each completed receipt.

  5. discount_on_all
    value, when keep_discount is set to yes the discount on all items is set to this value and reset to this value after the receipt is completed.

  6. sales_per_year
    yes or no, set it to yes and all sales per calender year are kept/stored in file "overall_solds_year.csv".
    The file is located in the year folder where year stands for 2005, 2006, etc.
    The layout of the file is described in solds
    The prefix name of the file, "", may be altered via etc_lingua.txt

  7. sales_per_month
    yes or no, set it to yes and all sales per calender month are kept/stored in file "overall_solds_month.csv".
    The file is located in the year folder and then sub-folder year_month where year_month stands for
    2005_12, 2006_01, etc. The layout of the file is described in solds
    The prefix name of the file, "", may be altered via etc_lingua.txt

  8. sales_per_day
    yes or no, set it to yes and all sales per calender day are kept/stored in file "solds_day.csv"
    The file is located in the year\year_month folder and then sub-folder year_month_day where
    year_month_day stands for 2005_12_01, 2005_12_02, etc. The layout of the file is described in solds
    The prefix name of the file, "", may be altered via etc_lingua.txt
    The layout of the file is described in solds

  9. sales_per_employe
    yes or no, set it to yes and all sales per employe/table day are kept/stored per month in file
    "solds_name.csv" where name stands for the name of the employe/table as identified via menu_lingua.txt
    The prefix name of the file may, "", be altered via etc_lingua.txt
    The layout of the file is described in solds

  10. file_per_receipt
    yes or no, set it to yes and a copy of each receipt is kept in folder year\receipts.

  11. balloon_tips
    yes or no, set it to yes and balloon tips pop up when the mouse moves over buttons or area's.
    The text of the ballon tips may be altered via balloon_lingua.txt

  12. receipt_prefix
    any text you want as prefix (header) of the receip number; example: 2005_ or MainShop or leave it blank if you don't want to use it.

  13. receipt_nbr_digits
    any number of digits the receipt number must have, filled in with leading zero's.
    Example 5 means 5 digits thus 1 is 00001.
    Note that after 99999 the next number will be 100000 thus 6 digits.

  14. actual_receipt_number
    is the number of the receipt that will be completed, start with 1 then, if you want, reset it self
    at 1-januari of each year.
    The actual number is kept here thus this number is updated with every completed receipt.

  15. receipt_postfix
    any text you want as postfix (trailer) of the receip number; example: _post or _Amsterdam or leave it blank if you don't want to use it.

  16. print_receipt
    yes or no, set it to yes and receipts are printed.
  17. receipt_header
    any txt or rtf file, a txt file uses font Courier New and receipt_fontsize.
    Leave the name blank when you do not want to use a header.

  18. receipt_quantity
    yes or no, set it to yes and the quantity of an item is added to the receipt.

  19. receipt_quantity_digits
    any number of digits the receipt quantity must have, filled in with blanks.
    Example 3 means 3 digits thus 1 is " 1".

  20. receipt_item_chars
    any number of characters the receipt item must have, depends on the maximum length of the items.
    If the item has less characters it is filled with trailing blanks (spaces).

  21. receipt_price
    yes or no, set it to yes and the 1 piece price of the item is added to the receipt.

  22. receipt_price_digits
    any number of digits including ".", suppose 999.99 euro is your maximum then 6 is the value.
    If the price has less digits then leading blanks (spaces) are added.

  23. receipt_subtotal_digits
    any number of digits including "." for the subtotal ( = quantity * price ) , 10 seems more then enough

  24. receipt_trailer
    any txt or rtf file, a txt file uses font Courier New and receipt_fontsize
    Leave the name blank when you do not want to use a header.

  25. receipt_fontsize
    fontsize used for receipt data in font Courier New

  26. csv_seperator
    seperator to be used for csv files, can be set to (preferred) ";" or ","

    The regional and language options of your computer may cause a conflict
    between the Spreadsheet program and the casgregister program.
    The cashregister program uses a decimal dot and not a comma for decimal numbers !!

  27. revert_after_power_dip
    yes or no, set it to yes and all actions per receipt are logged in a file. When the electric power dips (stops) the program reverts to the situation just before the power dip. That is if your computer will start and the harddisk and files are not corrupted. Use Windows XP and the NTFS file system for the best results on this.

  28. sound_item_not_found
    the complete file path to the wave file, the file is played when the item or barcode is not found. When left blank no sound will be played if the search failed.

  29. NOTE: if for some reason the file becomes spagetti then delete it and cashregister.exe generates a new one.

Seperator

home