Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2016-10-20
3
Medium Priority
?
243 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 35

Accepted Solution

by:
Gary Patterson earned 1000 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 1000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

916 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