Solved

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

Posted on 2016-10-20
3
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

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

Are You Headed to Black Hat USA 2017?

Getting ready for Black Hat next week? Kick things off with the WatchGuard Badge Challenge and test your puzzle and cipher skills. Do you have what it takes to earn our limited edition Firebox Badge? Get started today - https://crimsonthorn.net

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

623 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