zabak / open-source-self-check

Automatically exported from code.google.com/p/open-source-self-check
0 stars 0 forks source link

Possible to print receipts automatically? #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
We recently installed your self-checkout application and it is working without 
significant issues. However, instead of having buttons displayed onscreen to 
print receipts, we would like receipts printed automatically for each 
successful item checkout. Can you offer any suggestions for making such a 
change to your code?

Our self-check receipts will be printed on paper that blocks security tags 
beneath the date due card pocket. Our patrons will need to have a receipt for 
each self-checkout - if a receipt is not in a book pocket, the item will set 
off our security system. Given our setup, we always want receipts printed for 
self-chekouts. 

What part of your code should we look at to manage such a change? Although we 
are novices at this, your work has encouraged us to learn more. Thank you for 
your help; have a good day.

What version of the product are you using? On what operating system?
We are using open-source-self-check v1.043 on Windows XP.

Please provide any additional information below.
Eric at Town & Country PL

Original issue reported on code.google.com by magicbou...@gmail.com on 8 Feb 2011 at 9:53

GoogleCodeExporter commented 8 years ago
Do your receipt printers have automatic cutters that cut the paper when their 
done printing?

Original comment by ericmelton1@gmail.com on 8 Feb 2011 at 10:14

GoogleCodeExporter commented 8 years ago
Eric,

Thank you very much. The files you sent us removed the print receipt buttons 
from the self-check screen and initiated a print job for each checkout 
automatically. 

We noticed that a Windows print dialog box still displayed so we eliminated it 
as well. There may be more elegant ways to bypass the print dialog box, but we 
followed the steps at:
http://fiddyp.co.uk/bypass-disable-print-dialog-box-in-firefox-with-javascript-p
rint/

With your edited files and the tweak that disabled the print dialog in Firefox, 
receipts are printing after each checkout - without the need for patron 
interaction. This is a great improvement for us.

Staff here are excited by your work. They are starting to ask about modifying 
the display of the self-checkout screen...

Regards,

Eric at Town & Country PL

Original comment by amendic...@gmail.com on 9 Feb 2011 at 9:48

GoogleCodeExporter commented 8 years ago
Glad it worked!

The print silent feature of Firefox is what we use as well.

Let me know if you have other questions/requests.

Eric

Original comment by ericmelton1@gmail.com on 9 Feb 2011 at 10:10

GoogleCodeExporter commented 8 years ago

Original comment by ericmelton1@gmail.com on 9 Feb 2011 at 10:12