Solved

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

Posted on 2016-10-20
3
45 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)
Comment Utility
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 26

Assisted Solution

by:mrcoffee365
mrcoffee365 earned 250 total points (awarded by participants)
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Surprisingly, there is a lot to Gym battles, and I thought it would be helpful to share knowledge about all the ins and outs of this feature!
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
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 …

772 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

10 Experts available now in Live!

Get 1:1 Help Now