Today I developed an application that generate EAN-13 Barcode. around 166 bar code is being generated and printed in two pages.
Now the problem I am seeing is operation is slow and heavy. It Sends 17.24 Mega Bytes of data to printer to print. And the entire process is really slow.
here is the steps to do so:
//I am not going through all the detail. If this code does not help you then let me know.
// a process to create and draw the image on hdc using
// i got an application available in CodeProject.
DrawText(...);//to draw the number at the bottom of the barcode
Now the problem is data is too much for two page.
But even an 8 page mistake print is so fast that it ends printing before I reach to printer to stop. What's wrong with this way? more over is there a better way? or too much ink?
I think it would. I didn't check it yet though. But I think it would, but because it creates raw data for printing, and it creates a bit mapped image of 6600x5100 size. but I know that the the data transfer will be faster than the last time
This printer is capable of printing 600 points in one inch and I didn't intend to change it.
I watched it all. the data transfer is slow. But network is not slow. It actually take time to transfer data. The printer is high performance printer. I need to calculate how much time it takes time to generate single barcode
I need to calculate how much time it takes time to generate single barcode
If you mean inside your code then that's easy, just take the time at the start and end of your print process. If you mean from the PC to the printer I do not know of any simple method. Also different printers operate in different ways with regard to when they start printing relative to when the print data arrives.
One of these days I'm going to think of a really clever signature.