Solved

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

Posted on 2016-10-20
3
68 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Finding a job can be stressful - searches, resume tweaks, and networking events can be super boring. Luckily we're here to help you land your dream job!
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

785 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