Solved

VB.NET - Slow Printing of Labels to a Thermal Barcode Printer

Posted on 2016-10-20
3
57 Views
Last Modified: 2016-11-17
I am experiencing very slow printing of labels (including barcodes) in vb.net to a thermal printer (TOSHIBA TEC B-SA4T) especially when I have to create several tags (each slightly different) in one batch.  

Can anyone help me out and maybe suggest a better alternative?  I have read a few articles which stipulate that vb.net is slower than vb6 when it comes to printing (I don’t want to downgrade to vb6).  

Current benchmark with VB 6 the object prints after 1 second, with a vb.net command (printDocument) prints after 3 seconds.

How to write to barcodes 128 or QR codes in TOSHIBA TEC printer using native fonts, what should I reference?
TEC-Barcode code128 is not visible in my Visual Studio 2012.
0
Comment
Question by:tzadmin
3 Comments
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 250 total points (awarded by participants)
ID: 41861577
Slow printing can be caused by a lot of different things:

Slow network connection along the way.
Poor physical connection along the path from the system generating the print file and the printer.
Unusually large print files being generated.
Failure to use built-in barcode fonts.
Failure to use built-in character fonts.
Failure to use image compression (if printing images).
Contention for resources (CPU/memory/disk) on the system generating the print file or an intermediate system like a print server.

The manual that comes with the printer driver explains how to install and use the resident fonts, including barcode fonts.

https://www.toshibatec.com/download_overseas/printer/printer_driver/

Want more specific help?  Post your old and new code so we can compare them.
0
 
LVL 27

Assisted Solution

by:mrcoffee365
mrcoffee365 earned 250 total points (awarded by participants)
ID: 41864529
Gary Patterson above is right.

If the barcode printer is using a graphic image of the barcode it is likely to be slower than other methods.  We have found it adds a second and sometimes more.  However, some barcode formats cannot be successfully read by all scanners without the graphic image.  So we switched to the graphic image and live with the slightly slower print times.  YMMV
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now