Print Receipt through COM

I've created a dll does some calculations and stores it in the db. This dll is triggered when a trasaction is tendered out. So far everthing work great.

Now, when the trasaction is tendered out the customer get a sales receipt. I want to create an "additional" seperate receipt that prints out some info that the dll calculates to give to the customer. I can create a xml receipt template, but how do I call the custom receipt from my dll.

TIA

Reply to
Chuck
Loading thread data ...

Each register have two printer, you can use first printer to print standard receipt, and second printer to print the additional receipt through an add-in that enable/disable the print...

bye antonio

Reply to
Antonio Mazzeo

HI Antonio,

Thanks for your reply, not sure I understand, we have only one receipt printer and would like to use that without buying another printer. I guess I need help trying to figure out how to:

- Send the calculate data to the xml receipt template

- How to tell my com object to print the xml receipt template.

Thanks

Reply to
Chuck

You can use the same printer.. with different receipt...

you can use session.variable[1..10] ..

enable/disable second printer..

bye antonio

Reply to
Antonio Mazzeo

Hi,

Still confused about your comment "enable/disable second printer.. "

I have only one printer. Do you have a line of code I could look at that would call the receipt template.

Thanks

Reply to
Chuck

You only need 1 physical printer, in manager turn on the second printer and call it something like printer2 and at the register set up printer2 as the same printer as printer1 (two OPOS names for the same device)

Reply to
root

Yes ^_^

and a custom hook that enable/disable the printer2 into qsrules before receipt print hook ...

thank you /root

Antonio

Reply to
Antonio Mazzeo

Thanks for the reply, but how do I call that custom receipt xml template through code.

Reply to
Chuck

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.