Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Display barcodes

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-26-2008, 03:24 AM
Junior Member
 
Join Date: May 2008
Posts: 33
Question Display barcodes

I want to output various barcodes on screen (eg EAN 128, UPC-A or Code 39)... does Basic4ppc have support for that sort of functionality?
Reply With Quote
  #2 (permalink)  
Old 05-26-2008, 05:30 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

There are special fonts you can use.
This one for example: Free Barcode Font - Code 39 - Not a demo, COMPLETELY free
You should first copy FREE3OF9.ttf to \Windows\Fonts.
Afterwards you should change the font of a textbox or label (flb is a FormLib object):
Code:
Sub App_Start
    Form1.Show
    flb.New1(
"form1",B4PObject(1))
    TextBox1.FontSize = 
40
    flb.ChangeFont(
"textbox1","Free 3 of 9")
    TextBox1.Text = 
"*2141*"
End Sub
Reply With Quote
  #3 (permalink)  
Old 05-26-2008, 05:52 AM
Junior Member
 
Join Date: May 2008
Posts: 33
Default

thanks.
should have mentioned I'm after doing this on a Smartphone, and UPC-A is probably the most important.
There are some barcode DLLs but I didn't want to pay the $400+ if I could avoid it (I want to make a free app!)
Reply With Quote
  #4 (permalink)  
Old 05-26-2008, 06:02 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can probably use a font like this one: http://www.barcode-1.net/pub/russada...ware/upc-a.zip
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
camera + barcodes Walter Forum Discussion 5 03-07-2009 07:20 AM
Display maps klaus Share Your Creations 4 11-11-2008 05:05 PM
display Chinese font Vito Questions (Windows Mobile) 1 12-11-2007 11:56 AM
display resolution VGA 480*640 BerndB Basic4ppc Wishlist 7 07-03-2007 02:29 PM
New Basic4PPC site does not display correctly on PDA RandomCoder Bug Reports 1 05-05-2007 02:15 PM


All times are GMT. The time now is 09:36 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0