Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi list, i'm using barcode font ty

Status
Not open for further replies.

parames

MIS
Jun 26, 2000
71
MY
Hi list,
i'm using barcode font type in my asp page to print out barcode label.
The font type is "3 of 9 Barcode".
The problem is that i cannot make the label bigger. My code looks like this:
response.write &quot;<center><font size='999999999999' face='3 of 9 Barcode'><b>*&quot; & product_code & &quot;*</b></font>&quot;

the label size is same as if i put the size='7'..
I don't know why.. Please do guide me...


Thanks
Best Regards,
Parames.s
 
That font may be limited to only a certain size, try placing this in your tag:
style=&quot;font:30px;&quot;

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Can't...think...of...anything...funny...to.........say............
need.....coffee....................
 
Thanks Tarwn,
By using ur method i'm able to make it in a bigger size.. But, when i change to bigger size, the label become more longer (lengthy). I want it to be more wider ..... Is it possible to do that??

Thanks,
Best Regards,
Parames.S
 
It may be possible to change the actual style of the letters, but that isn't something I have tried before. There is a font-stretch attribute. w3schools has a pretty good reference for fonts and text:
or

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
With enough resources, time, and coffee, anything is possible.
 
Parames,

by stretching the font you may invalid the barcode. There is a certain aspect ratio needed for barcodes in order to be valid for barcode scanners.

Keep this in mind when designing your page.

The heighth of the barcode does not matter (as long as you can point your scanner at it).

Njit ---
It's never too late to do the Right thing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top