[RESOLVED] POS .NET vb.net 2012 - print 2 copies of the receipt?
Using the POS.net with an EPSON TM-T20 i have the receipts printing perfectly.... my issue is printing 2 copies.
Right now it loops through the code, rebuilding the receipt then printing it a second time, which works, but its slower.
It SEEMS like there should be a way to set the printer to just print it twice?
I have searched everywhere, cant find it.
Thanks!
EDIT:
why is it 1/2 the time i give up.. and post here... the idea/solution comes to me moments after posting!!
i built the entire receipt into a string.. did a transaction print and shot the string to the printer twice before finsih
Code:
EPSON.TransactionPrint(PrinterStation.Receipt, PrinterTransactionControl.Transaction)
For I As Integer = 1 To Copies
EPSON.PrintNormal(PrinterStation.Receipt, strPrint)
EPSON.PrintNormal(PrinterStation.Receipt, FEEDCUT)
Next
EPSON.TransactionPrint(PrinterStation.Receipt, PrinterTransactionControl.Normal)
now, if only i could get it to actually start printing faster!!! :)
Re: POS .NET vb.net 2012 - print 2 copies of the receipt?
Quote:
if only i could get it to actually start printing faster!!!
But It prints sales receipts at up to 150 mm per second!!!
I just love it when they write stuff like that! Up to! So if it's only a tenth of that they still didn't lie. Magic!
Re: POS .NET vb.net 2012 - print 2 copies of the receipt?
it actually prints fast as hell when it starts.. I just need to figure out why it takes about 4-5 seconds for it to start printing
Re: POS .NET vb.net 2012 - print 2 copies of the receipt?
It's a thermal printer, isn't it? Needs to warm up! And then there's spooling and overcoming existential angst and ....
Re: POS .NET vb.net 2012 - print 2 copies of the receipt?
it is but its not that... if you print a test page from windows its almost instant and its dumping a LOT of data
i Have shaved it down to about 1 second, it seems that using the command to right align ( ESC + "|rA") is a horrible command! lol
its better to pad the left side with spaces.. goes MUCH faster. odd... but i think i am happy with 1 second.
and i have tested so many times, i used an entire roll of paper!!! lol