Announcements
Hi ,
How should I go about printing a receipt using vb.net code, from my Custom POS button ?
Currently I'm using the Printnormal method and some ESC commands , but it only works for a specific printer.In other printers there are alignment issues.
Is there any method I can use to print receipt from my code irrespective of the printer attached to the POS and also from any drivers (Windows or OPOS) ?
Please help.
thanks
Ansuman
*This post is locked for comments
Elizas:
This is not easily down. You have to create a custom addon for the PrintReceipt Hook. You would have to set a global variable in qsrules for the command, then interpret that variable in your addon. Also that addon has to either interface with the windows printer or the opos printer. Make sure to "Share OPOS printer with other applications" option is checked within RMS Manager.
IF you need someone to do this for you, let me know. I have done this several and would be willing to talk to you about it.
Pandayan IT:
You can NOT edit any internal commands. You would have to create your own but you first have to figure out the compression type for the journal entry for the receipt.
Mabuhay! Can we ask also how to see the command PrintLastReceipt so that we can edit it to print just ta trnasaction type #? Thanks
Hello Jeff,
thanks for the reply. I need a way to print the customized string (very similar to the sales receipt) on click of a button in Custom Form.The string needs to be generated using the grid data in the custom form.
Is there some way to print this ?
thanks
Hello,
There is a way to print the last receipt from RMS using a FireEvent command. To do so:
In Store Operations Manager go to Custom POS Buttons. Create a new button and choose Internal Command as the style. You can use something like Reprint Last Receipt or whatever you choose for the Caption. For the command, type "PrintLastReceipt" without the double quotes, no parentheses or anything else, just the words, then click OK.
Now when you open POS the button should be there and when you click it, you should get the last receipt that was generated in POS.
Thanks,
Jeff
André Arnaud de Cal...
293,406
Super User 2025 Season 1
Martin Dráb
232,552
Most Valuable Professional
nmaenpaa
101,158
Moderator