CUSTOM DAY-END FORM PRINTING for Rapid Rental Using the CUSTOM DAY-END FORM feature of Rapid Rental, you can customize your day-end cash out sheet to suit your needs. For this feature to be enabled, you must have a file called DAYFORM.DAT in your directory. The existance of this file causes Rapid Rental to use this file and not the default day-end format when printing a sub-total or day-end report. Use the supplied EDIT program or a word processor to make a text file to match your present day-end as closely as possible. There is a file included in version 3.92 called DAYFORM.DA1 which closely matches the default day-end form generated by Rapid Rental. You can use this form as a starting point and modify it to suit your needs. At all places in the file where totals should be printed, you must use the at-sign (@) followed by a number to tell the computer you want to print a variable number on the form. For example, to print the total movie revenue on the form, you would have something like: Total movie revenue: @1312 The "@1312" will be replaced by the movie revenue when the form is printed. Here is a table of what each number corresponds to: @-Number What is printed on the form ----------------------------------------------------- 3000 Total movie rental revenue 3001-3190 Total movie rental revenue for each type 3191 Total movie rental revenue for undefined types 3200 Total # of movies rented 3201-3390 Total # of movies rented for each type 3391 Total # of movies rented for undefined types 3400 Total movie rental revenue 3401-3590 Total movie rental revenue for each category 3591 Total movie rental revenue for undefined movie categories 3600 Total # of movies rented 3601-3790 Total # of movies rented for each category 3791 Total # of movies rented for undefined categories 3800 Total sales revenue 3801-3990 Sales revenue for each sales category 3991 Sales revenue for undefined categories 4000 Total number of sales 4001-4190 Total number of items sold for each sales category 4191 Total number of items sold for undefined sales categories 4601-4791 SALES category descriptions ( 15 chars. wide ) 4401-4591 CATEGORY descriptions ( 15 chars. wide ) 4201-4391 TYPE descriptions ( 15 chars. wide ) 1300 Total P.S.T. collected (Tax #1) 1306 Total G.S.T. collected (Tax #2) 1301 Charged to account balance (including tax) 1456 Charged to account balance-PST (Tax #1) 1457 Charged to account balance-GST (Tax #2) 1302 Received on account balance (including tax) 1395 Charge to LATE balance 1396 Received against LATE balance-including taxes 1453 Received against late balance-Base amount 1454 Received against late balance-PST (Tax #1) 1455 Received against late balance-GST (Tax #2) 1303 Number of movie rentals 1304 Number of free rentals from customer's account 1305 Number of free rentals from nth free movie on cust account 1307 Number of late returns 1308 Number of sale item returns 1309 Dollar value of sale item returns 1310 Taxable rentals 1311 Non-taxable rentals 1312 Rentals total 1313 GST taxable rentals 1314 PST taxable rentals 1320 Taxable sales 1321 Non-taxable sales 1322 Sales total 1323 GST taxable sales 1324 PST taxable sales 1330 Taxable late charges 1331 Non-taxable late charges 1332 Late charges totals 1333 GST taxable late charges 1334 PST taxable late charges 1340 Taxable total 1341 Non-taxable total 1342 Total revenue without tax 1343 Total revenue WITH tax 1344 GST taxable total 1345 PST taxable total 1380 Number of voided transactions 1381 Dollar value of voided transactions 1382 Number of items that had their price changed manually 1383 Dollar value of manual price changes (negative means prices were reduced, positive means prices were increased). 1384 Number of late items that had their price overridden 1385 Dollar value of price changes to late items 1390 GST Paid out 1391 PST Paid out 1392 GST Remittance total (GST collected - GST paid out) 1393 PST Remittance total (PST collected - PST paid out) 1397 Starting transaction number for this day-end report. 1398 Ending " " " " . 1399 Date for this day-end report. 1400 Payment type totals 1401-1408 Total for each payment type 1411-1419 Total number of payments for each payment type 1419 Payout type totals without taxes 1420 Payout type totals with taxes 1421-1430 Total for each payout type (without taxes) 1501-1511 Name of each payment type 1450 Shift number 1451 Store number 1452 Program version 1458 Number of customer visits 1459 Average Rentals per visit 1460 Which workstation the totals being shown are for. PRINTER CONTROL CODES: You can also insert special printer control codes into your day-end data file to make large print, small print, or special characters print out. To do this, you must have the following: @p025 (The p can be upper or lower case) This will send an ASCII code 25 to the printer. The printer control sequence MUST be five characters long! If you send @p25 to the printer, unknown results will occur. The following sequence of characters will enable double printing mode on Roland printers: @p027@p071 There are also some build-in commands for printing bold, etc.: Bold printing: @b{This will print in bold} Wide printing: @w{This will print in WIDE characters} Compressed printing: @c{This will print in compressed characters} Underline printing: @u{This will have a line underneath} You cannot nest the 1-letter printer control commands, i.e. you cannot have @b{This is bold@u{and underline}} <<-- This is WRONG! Nested printer control commands will come in a future version of Rapid Rental. You can, however, put a variable lookup number inside a printer control command. For example: Store name @b{@50} <<-- This will print the store name in BOLD. USING OPERATORS, FORMULAS and VARIABLES You can also include multiplication and division operations in custom day-end forms and custom receipts. The most common use for these operators are to print percentages. For example, to print the percentage of rentals for the first category of movies to the total number of movies rented you would have the formula: @!(@3601*10/@3600)% In your DAYFORM.DAT file. You must multiply the numerator by 10, and put a % symbol after the formula in order to output it in the correct format for percentages. Also, if your DAYFORM.DAT file is becoming too cluttered with formulas, you can use 26 variables (A-Z) to store totals that are used frequently throughout your day-end. For example, the following line will add the total rental revenue, P.S.T., G.S.T., and late charge revenue and store the result in variable "S": ;@!S(@3000+@1300+@1306+@1332) If you have a semi-colon as a first character in the line, the line will not print on the final day-end form. If you now would like to include the total contained in variable "S" in another formula, Put "@#" in front of the variable letter. For example: @!(@3004*10/@#S)% The most common reason for custom day-end forms not adding up is due to movies rented with undefined categories and types. On the generic Rapid Rental day-end form, these totals are shown. If you have no movies in your database that are undefined, (you can check this using option #2-2-9) you do not have to worry about these codes.