?
Solved

Connect to a Barcode Printer  from VB

Posted on 1999-01-19
8
Medium Priority
?
445 Views
Last Modified: 2013-11-18
In my application I've to print some barcode labels. My application is developed inVB. First I thought bringing up windows print dialog would serve the purpose. But when I really tested it I can see all the printers or devices connected except this barcode printer. Can anyone help me with How I can send information to the printer and print the barcode labels
0
Comment
Question by:VBLearner
[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
  • 5
  • 2
8 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 2014758
I assume you're using a dedicated barcode printer instead of using a general purpose printer and using a barcode control. For me, I'd go the barcode control route. This will allow you to print barcodes on any printer you choose.

However, if you must use a specialty printer for barcoding then you'll have to figure out the interface that the printer is using and then program VB to speak to that. I've written some code for barcode printers that connect via the serial port. You'll have to dig into the printer reference manuals to understand how to program them. There is no industry-wide standardization for barcode printers. Each vendor is pretty much free to do their own thing and generally do if only to prevent their printer being used without their special software.

The printers have their own programming language. Generally you define a form to the printer and down load that at the start of the day. Then you can just send data fields to the printer and it'll print a label on demand.

Watch out for trash in the data stream. Some printers use " as a delimiter. If you data stream contains a field that says 14" MONTIOR then your printer will cr*p out as it chokes on the " in the data.

You really need to be working with the printer vendor on this one.

M

0
 
LVL 12

Expert Comment

by:mark2150
ID: 2014759
What was reason for reject?

M

0
 

Accepted Solution

by:
danroach earned 150 total points
ID: 2014760
Most major bar code printer manufacturers have available, the printer drivers for their printers on their web site. Some bar code software suppliers also offer printer drivers for
various printers at no charge. Seagull Scientific's website offers printer drivers for multiple
printers such as Zebra, Intermec and Eltron. Get the driver that fits your printer and install
it. Once that is done, your app will be able to see the additional printer using the printer API.
0
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.

 
LVL 12

Expert Comment

by:mark2150
ID: 2014761
Hey, VBLearner! You never did tell me what you didn't like about my answer!

M

0
 

Author Comment

by:VBLearner
ID: 2014762
Sorry Mr.M I didn't mean to upset you. I didn't mean to reject your answer. I should be careful when i play around these things
0
 
LVL 12

Expert Comment

by:mark2150
ID: 2014763
Ok, I was just wundering! <g>

What kind of barcode printer are you interfacing to?

What kind of barcodes are you printing? UPC? Code39? Codabar?

M

0
 

Author Comment

by:VBLearner
ID: 2014764
we are using code39 barcode printing
0
 
LVL 12

Expert Comment

by:mark2150
ID: 2014765
There's usually a simpler way out. Mabry has a barcode control that will allow code39 label printing on *ANY* printer that windows can reach. Additionally I have a CODE39 font set that DOS programs can use to download to laser printers. You download the font, select the font, and then *EVERYTHING* the printer prints comes out in barcode.

The only reason that I would spec a special "barcode" printer is if I needed to print labels on mylar or some other specialty material.

M

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Original post  on Monitis Blog. Web performance monitoring is broken into two camps: passive and active. Passive monitoring is defined as looking at real-world historical performance by monitoring actual log-ins, site hits, clicks, requests for …
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

719 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