By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,749 Members | 1,627 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,749 IT Pros & Developers. It's quick & easy.

How to set print font scaling for barcode print?

P: n/a
sam
can someone show how to change print font width & heigh scaling? I am
writing a code for barcode printing on smaller label. I do not want change
font size, because this may cause the bar code reader could work well is bar
code is too small, I want to keep same font heigh but smaller font width? is
it possible to do that?
Apr 4 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
There is no easy way to change the height of a font independently of
the width. For barcodes, it is extremely important that the widths of
the bars and spaces in the barcode be printed precisely because it is
the widths of the bars and spaces in the barcode that encode the data.
If you change the font size of a barcode font, you will almost
certainly cause the barcode to be either difficult or impossible to
read.
If you want to be able to adjust the height of the bars independently
of the width, then you need to use a different approach. The best way
to do things is to use a barcode ActiveX Control that generates a
vector graphic image of the barcodes instead of a using a barcode
font. ActiveX controls that produce images of bar codes allow you to
control the height of the bars independently of the width of the bars.
The best barcode ActiveX on the market is available from TALtech at
the following URL:
http://www.taltech.com/products/activex_barcodes.html

If you are working with vb.net then you should not have any problems
using a barcode ActiveX control. There is a fully functional demo
version of the TALtech barcode ActiveX control on the above web page.
You can also find source code samples that show how to use it at the
following page:
http://www.taltech.com/support/bcax/CodeSamples.htm
On Fri, 4 Apr 2008 14:07:21 +0800, "sam" <fa*********@sina.comwrote:
>can someone show how to change print font width & heigh scaling? I am
writing a code for barcode printing on smaller label. I do not want change
font size, because this may cause the bar code reader could work well is bar
code is too small, I want to keep same font heigh but smaller font width? is
it possible to do that?
Jun 27 '08 #2

P: n/a
Use Morovia Barcode ActiveX. It has a VB example included:

http://mdn.morovia.com/manuals/bax3/
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.