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 ....
- 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
- 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.
- 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".
- 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.
- 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.
- 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
- 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
- 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
- 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
- file_per_receipt
yes or no, set it to yes and a copy of each receipt is kept in folder year\receipts.
- 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
- 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.
- 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.
- 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.
- 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.
- print_receipt
yes or no, set it to yes and receipts are printed.
- 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.
- receipt_quantity
yes or no, set it to yes and the quantity of an item is added to the receipt.
- 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".
- 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).
- receipt_price
yes or no, set it to yes and the 1 piece price of the item is added to the receipt.
- 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.
- receipt_subtotal_digits
any number of digits including "." for the subtotal ( = quantity * price ) , 10 seems more then enough
- 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.
- receipt_fontsize
fontsize used for receipt data in font Courier New
- 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 !!
- 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.
- 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.
- NOTE: if for some reason the file becomes spagetti then delete it and cashregister.exe generates a new one.
|