Solved

POS Print VB.net

Posted on 2010-11-10
4
1,190 Views
Last Modified: 2012-05-10
Hi. I am curently using Crystal Reports for POS printing but if printer is connected on any port other than USB it takes 10-20 seconds for printer to complete printing the receipt. Of course, over USB is almost instant, so I guess that problem is in big report and slow communication cable.

I was playing with sending strings to printer and that is working, but i have to create bunch of strings for many reports that will need to be printed.

My question is, do you know of better way for POS printing over serial, parallel cable (fast printing, controling drawer, Buzzer, Cutter...). Maybe ready to use module (I don't mind if it cost me something to have quality solution, and learn something in the process)
0
Comment
Question by:Grogel
  • 2
4 Comments
 
LVL 3

Expert Comment

by:big_one01
ID: 34106426
Maybe is the kind of POS printer.
Thermal POS printers are very much fasters  than impact POS printers,

Maybe you must check some ones here:
http://pos.epson.com/products/TM-T88v.htm
0
 

Author Comment

by:Grogel
ID: 34107577
Sorry I am not very good in English, my question may sound confusing.

I created POS application, and I am using Crystal Report for receipt printing. Most of my clients have thermal printers connected through USB and they are working great. I need some info on easiest way to communicate with printer through serial and/or parallel cable and get fast print so I can stop using CR.

Once printer recives printing job actual printing is fast, but that sending communication takes too long.




0
 
LVL 5

Accepted Solution

by:
andr_gin earned 500 total points
ID: 34111420
You have two ways to send data to the printer

1.) You use a windows printer driver that sends generates the printer commands and prints the page page.
2.) You can send data to the printer directly with serial/parallel or network connection (but not USB).

Using a printer driver has the advantage that you can use any printer port and that you do not need to generate the printer commands that are different for every printer type.
The disadvantage is that you have less control over the sending and can not set specific printing options automatically (like printing speed).

If you want to support all POS printers of your customers and not only a specific model you have to use windows printer drivers.

If you are using the serial connection you can modify the baud rate of the printer. If the customer can increase the baud rate the transmission of the printjob will be faster (but not the printing speed itself).

For testing you can also install the printer driver of the customers printer and set the port to FILE instead of COM1. Then you can save the printjob to your harddisk and look how big it is.
0
 

Author Comment

by:Grogel
ID: 34112123
Thank you. I guess windows driver is the best option. Too bad CR generate big file, and it takes time for COM printer recives that data.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question