austgl / open-source-self-check

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

indivdual receipts #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We've just installed this and seem to have most things working (with Horizon).  
One question that has come up is if there is a way to make it print individual 
receipts.  The library we are helping has an old RF security system, so they 
need to print individual receipts on detuner paper. 

I'm just learning php, so addressing this is currently way beyond my skill set. 
 Would appreciate even a pointer in the right direction.

Original issue reported on code.google.com by METycko...@gmail.com on 20 Jul 2011 at 6:33

GoogleCodeExporter commented 9 years ago
Try the download linked below (you'll need to redo the config.php file)

http://kplcatalog.ankenyiowa.gov:81/opensource_selfcheck.zip

Let me know how it works out.

Original comment by ericmelton1@gmail.com on 20 Jul 2011 at 7:05

GoogleCodeExporter commented 9 years ago
We're getting individual receipts (yeah!), but we're wondering if there is a 
way to specify the length of the receipts?  On the first try they were getting 
really long receipts, after a reboot now they are getting about 3" receipts and 
they need about 5".  I'm not afraid to hack code, if I know where to look 
although php is still a foreign language to me - or maybe it's just a page 
length setting in Firefox portable about:config?

Original comment by METycko...@gmail.com on 21 Jul 2011 at 10:20

GoogleCodeExporter commented 9 years ago
Try going to page setup in firefox and playing with the margins if that doesn't 
work let me know as there's some code that can be changed.

Original comment by ericmelton1@gmail.com on 21 Jul 2011 at 10:31

GoogleCodeExporter commented 9 years ago
Unfortunately, changing the bottom margin in Firefox had no affect on the 
receipt length.  Really appreciate your help on this.

Original comment by METycko...@gmail.com on 22 Jul 2011 at 6:58

GoogleCodeExporter commented 9 years ago
On vacation will respond next week

Original comment by ericmelton1@gmail.com on 24 Jul 2011 at 4:44

GoogleCodeExporter commented 9 years ago
check your email. Let me know if you need additional help.

Original comment by ericmelton1@gmail.com on 1 Aug 2011 at 4:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
If their receipt printers are Epson TM series, I think I have the answer for 
their problem.

In FireFox open File/Page Setup. On the Margins/Headers & Footers tab set all 
margins to 0 and all headers and footers to --blank--.
That makes all print outs match the desired page. To add the spacing at the end 
of the document simply change the
printer driver settings from the print spooler (double click on the printer, in 
the menu go to printer properties):
Layout tab check the Reduced size Print and accept the popup box default 
setting of print to fittable.
Document Setting tab under Send command/End of document check the send box and 
type 1B 64 05 in the box.

The 1B is an escape character, 64 is the command to add lines and 05 is the 
number of blank lines. Be sure to do this from the spooler, for some reason 
FireFox tends to ignore these changes if done directly on the printer icon.

Original comment by lclnetwo...@gmail.com on 5 Oct 2011 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by ericmelton1@gmail.com on 28 Apr 2012 at 10:19