Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27358

POS .NET vb.net 2012 - print 2 copies of the receipt?

$
0
0
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!!! :)

Viewing all articles
Browse latest Browse all 27358

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>