Help - select quantity of copies to print before receipt prints?

I am using store ops version 1.3.1010. We are using a windows and not an OPOS printer for our receipt printing. When we post a transaction, I would like the cashier to have the ability to enter how many copies of receipt to print before it prints.

To do this I added the PrintReceipt hook to my windows registry, and have code added to my custom DLL that is triggered when this hook is activated. That piece is working fine.

My code contains the following lines:

Dim MyCount as Integer MyCount = InputBox("Enter receipt quantity", "Receipt Quantity") posSession.Configuration.ReceiptCount = MyCount

The inputbox is popping up, but no matter what I enter for a quantity, 2 receipts are printed.

Also if I insert the code:

MsgBox posSession.Configuration.ReceiptCount

The receipt count returned is 1, and not 2. However, 2 is the receipt count that is currently set in store ops manager, under Database - Registers - Receipt Formats.

Why does this code not work? When I set the ReceiptCount in the code, what exactyl is that changing and why doesn't it have any affect on the number of receipts that print?

Thank you, Kevin

Reply to
kskinne
Loading thread data ...

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.