|
-
May 4th, 2013, 09:07 AM
#1
[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!!!
Last edited by Static; May 4th, 2013 at 09:18 AM.
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
May 4th, 2013, 10:16 AM
#2
Re: POS .NET vb.net 2012 - print 2 copies of the receipt?
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!
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
May 4th, 2013, 06:49 PM
#3
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
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
May 4th, 2013, 07:00 PM
#4
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 ....
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
May 4th, 2013, 09:42 PM
#5
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
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|