Re: Requesting help with Barcode 128 font.
Re: Requesting help with Barcode 128 font.
- Subject: Re: Requesting help with Barcode 128 font.
- From: Steve Mills <email@hidden>
- Date: Tue, 23 Feb 2016 21:00:34 +0000 (GMT)
On Feb 23, 2016, at 02:11 PM, Brian Christmas <email@hidden> wrote:
G’day scripters.
I’m trying to write a barcode 128 script, using the free Barcode 128 font from
here.
Unfortunately the codes on the site seem to be a bit out. The ascii values shown as starting Code B and Ending Codes are shown as ‘209’, & ‘211’ respectively, which display non-barcode characters. On another site,
here, where this font is supposedly copied, the values are different, and seem completely wrong.
I’ve tried emailing the last site’s author several days ago, with no response.
Would anyone with knowledge of this particular barcode, or code 128 barcode in general, mind casting an eye over my script, please. I cannot get the printout to scan at all.
Without knowing if my codes right, I cannot be sure the reading errors are due to my scanner.
The 2nd link says that the Start character for set B is 104, but that's 'h', whereas the table shows Start B to be 209. What I'd do is learn what the Start and Stop glyphs are supposed to look like, then just find them in Font Book by selecting the font and switching the view to Repertoire, increase the font size, then hover over the glyph to see its Unicode entity name and Unicode code (e.g. U+00D1 (decimal 209) is Latin capital letter N with tilde). Then in your script, use the unicode character specifier "character id 209" instead of "ascii character".
So yeah, long story short, change "ascii character" to "character id" everywhere in your script. Maybe also change "ascii number" to "id". That'll give you the Unicode number.
Sent from iCloud's ridiculous UI, so, sorry about the formatting
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden