|
View:
New views
18 Messages
—
Rating Filter:
Alert me
|
|
|
Conversion routines for Barcodes Code128 and inteleaved 2 of 5Hi All
I have a need to convert numbers to barcodes for both Code 128 and Interleaved 2 of 5 so that I can convert a Delivery Tracking Number to a Barcode and have it printed on a Delivery Labels Having scanned the internet there seems to a lack of informatin of creating the conversion algorithim has anyone had experience of this and can point me in the right place to get some info Best regards Ken ________________________________________________________________________ AOL Email goes Mobile! You can now read your AOL Emails whilst on the move. Sign up for a free AOL Email account with unlimited storage today. ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
RE: Conversion routines for Barcodes Code128 and inteleaved 2 of 5Ken,
There are several options: 1. If this is for a V11 application, look at Charlie Vass' Barcoder component. It's based upon a TN from Thomas Maul and works well. 2. Look at the IDAutomation web site (www.idautomation.com). They can provide you with bar code fonts for any of these formats. 3. Look for freeware fonts. Steve :-) -----Original Message----- From: 4d_tech-bounces@... [mailto:4d_tech-bounces@...] On Behalf Of kenajcooper@... Sent: Tuesday, July 01, 2008 6:09 PM To: 4d_tech@... Subject: Conversion routines for Barcodes Code128 and inteleaved 2 of 5 Hi All I have a need to convert numbers to barcodes for both Code 128 and Interleaved 2 of 5 so that I can convert a Delivery Tracking Number to a Barcode and have it printed on a Delivery Labels Having scanned the internet there seems to a lack of informatin of creating the conversion algorithim has anyone had experience of this and can point me in the right place to get some info Best regards Ken ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
|
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5I have tried to print code 128 using code from idautomation as a
basis, with no success. If anyone else has success I would love to see the code. Start and stop bits are based upon ascii numbers, which are different on macs and PCs Regards Chuck On Jul 2, 2008, at 3:34 AM, Amin Khan wrote: > You can also look at this thread: > http://thread.gmane.org/gmane.comp.lang.inug-4d.tech/68675 > > You can also get the 4D source code for printing barcodes using ID > Automation at their website: > http://www.idautomation.com/fonts/tools/sourcecode/#4D > > If you are going to use Mac for printing barcodes ID Automation, > following is also helpful: > http://www.idautomation.com/kb/fonts-macintosh.html ------------------------------------------------------------------------ --- Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 ------------------------------------------------------------------------ ---- ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5I'm not sure I understand the problem.
I use Code39 and Code128, as well as UPC fonts, with no problems. You set the font and then use the text. I simply have a text field that uses the barcode font. You don't do anything special at all, beyond selecting the font. The only code I've ever had to write was to verify UPC checksums. - CSW On Jul 2, 2008, at 7:57 AM, Chuck Miller wrote: > I have tried to print code 128 using code from idautomation as a > basis, with no success. > > If anyone else has success I would love to see the code. Start and > stop bits are based upon ascii numbers, which are different on macs > and PCs > > > Regards > > > Chuck > On Jul 2, 2008, at 3:34 AM, Amin Khan wrote: >> You can also look at this thread: >> http://thread.gmane.org/gmane.comp.lang.inug-4d.tech/68675 >> >> You can also get the 4D source code for printing barcodes using ID >> Automation at their website: >> http://www.idautomation.com/fonts/tools/sourcecode/#4D >> >> If you are going to use Mac for printing barcodes ID Automation, >> following is also helpful: >> http://www.idautomation.com/kb/fonts-macintosh.html > > > > --------------------------------------------------------------------------- > Chuck Miller Voice: (617) 739-0306 > Informed Solutions, Inc. Fax: (617) 232-1064 > ---------------------------------------------------------------------------- > > > > ********************************************************************** > 4D Server v11 SQL has arrived! > Buy it NOW at http://store.4ddepot.com > > 4th Dimension Internet Users Group (4D iNUG) > FAQ: http://www.4d.com/support/faqnug.html > Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech > Unsub: mailto:4D_Tech-Unsubscribe@... > Post: mailto:4d_tech@... > Options: https://lists.4d.com/mailman/listinfo/4d_tech > ********************************************************************** ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5I have never really figured out why people make barcodes such a big
deal - select (code) the font enter/assign the text value (whatever number) append (front and back) appropriate start and stop characters (code 39 is an asterisk) next ascii - ascii is THE SAME on all computers ascii 13 = carriage return ascii 10 = line feed etc it DOES NOT matter what OS (OS X, Mac OS (9 and before), and winblows, any unix On Wed, 2 Jul 2008 08:57:06 -0400, Chuck Miller wrote: > I have tried to print code 128 using code from idautomation as a > basis, with no success. > > If anyone else has success I would love to see the code. Start and > stop bits are based upon ascii numbers, which are different on macs > and PCs > > > Regards > > > Chuck > On Jul 2, 2008, at 3:34 AM, Amin Khan wrote: >> You can also look at this thread: >> http://thread.gmane.org/gmane.comp.lang.inug-4d.tech/68675 >> >> You can also get the 4D source code for printing barcodes using ID >> Automation at their website: >> http://www.idautomation.com/fonts/tools/sourcecode/#4D >> >> If you are going to use Mac for printing barcodes ID Automation, >> following is also helpful: >> http://www.idautomation.com/kb/fonts-macintosh.html > > > > --------------------------------------------------------------------------- > Chuck Miller Voice: (617) 739-0306 > Informed Solutions, Inc. Fax: (617) 232-1064 > ---------------------------------------------------------------------------- > > > > ********************************************************************** > 4D Server v11 SQL has arrived! > Buy it NOW at http://store.4ddepot.com > > 4th Dimension Internet Users Group (4D iNUG) > FAQ: http://www.4d.com/support/faqnug.html > Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech > Unsub: mailto:4D_Tech-Unsubscribe@... > Post: mailto:4d_tech@... > Options: https://lists.4d.com/mailman/listinfo/4d_tech > ********************************************************************** > 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5I have tried scanning plain vanilla 128B bar codes, you need to
append a start character and append a stop character. You also must have a checksum. I am not sure how you got 128B to work with none of these. Regards Chuck On Jul 2, 2008, at 9:18 AM, Christopher Scott Wyatt wrote: > I use Code39 and Code128, as well as UPC fonts, with no problems. > You set the font and then use the text. I simply have a text field > that uses the barcode font. You don't do anything special at all, > beyond selecting the font. > > The only code I've ever had to write was to verify UPC checksums. ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5This is NOT true. Ascii is only the same for first 128.
On a MAC all fonts use same ascii equivalent for characters above 128. On windows many fonts change characters in that range. That is where the problem lies. Regards Chuck On Jul 2, 2008, at 10:14 AM, Chip Scheide wrote: > > ascii - > ascii is THE SAME on all computers > ascii 13 = carriage return > ascii 10 = line feed ------------------------------------------------------------------------ --- Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 ------------------------------------------------------------------------ ---- ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5sorry to pick nits : )
ascii refers ONLY to values 0->127 extended ascii (or ascii extended) refers to everything 128 and above On Wed, 2 Jul 2008 12:14:44 -0400, Chuck Miller wrote: > This is NOT true. Ascii is only the same for first 128. > > On a MAC all fonts use same ascii equivalent for characters above > 128. On windows many fonts change characters in that range. That is > where the problem lies. > > Regards > > > Chuck > On Jul 2, 2008, at 10:14 AM, Chip Scheide wrote: >> >> ascii - >> ascii is THE SAME on all computers >> ascii 13 = carriage return >> ascii 10 = line feed > > > > --------------------------------------------------------------------------- > Chuck Miller Voice: (617) 739-0306 > Informed Solutions, Inc. Fax: (617) 232-1064 > ---------------------------------------------------------------------------- > > > > ********************************************************************** > 4D Server v11 SQL has arrived! > Buy it NOW at http://store.4ddepot.com > > 4th Dimension Internet Users Group (4D iNUG) > FAQ: http://www.4d.com/support/faqnug.html > Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech > Unsub: mailto:4D_Tech-Unsubscribe@... > Post: mailto:4d_tech@... > Options: https://lists.4d.com/mailman/listinfo/4d_tech > ********************************************************************** > 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5On Jul 2, 2008, at 11:14 AM, Chuck Miller wrote:
> This is NOT true. Ascii is only the same for first 128. > > On a MAC all fonts use same ascii equivalent for characters above > 128. On windows many fonts change characters in that range. That is > where the problem lies. Most barcode fonts do not go beyond the ASCII-7 range. I code on Mac and PC, using the same TrueType barcode font on both. Since most of the characters are numbers and the asterisk, there's no reason to have any issues with higher range characters. Only strange custom fonts use unusual characters -- usually to make you license at a higher fee. I use the barcode fonts in REALbasic, FileMaker, and 4D v11. Not a single problem, regardless of platform. That the Mac can use PC fonts makes things even easier -- and Unicode OpenType makes things even better. - CSW ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5I'm not speaking for Chuck here, but some of us use barcodes
"backwards." We want/need human- AND machine-readable communications. And not all humans use only the lower 128. Bill On Jul 2, 2008, at 12:34 PM, Christopher Scott Wyatt wrote: > On Jul 2, 2008, at 11:14 AM, Chuck Miller wrote: > >> This is NOT true. Ascii is only the same for first 128. >> >> On a MAC all fonts use same ascii equivalent for characters above >> 128. On windows many fonts change characters in that range. That >> is where the problem lies. > > Most barcode fonts do not go beyond the ASCII-7 range. I code on > Mac and PC, using the same TrueType barcode font on both. Since > most of the characters are numbers and the asterisk, there's no > reason to have any issues with higher range characters. > > Only strange custom fonts use unusual characters -- usually to make > you license at a higher fee. > > I use the barcode fonts in REALbasic, FileMaker, and 4D v11. Not a > single problem, regardless of platform. That the Mac can use PC > fonts makes things even easier -- and Unicode OpenType makes things > even better. > > - CSW > ********************************************************************** > 4D Server v11 SQL has arrived! > Buy it NOW at http://store.4ddepot.com > > 4th Dimension Internet Users Group (4D iNUG) > FAQ: http://www.4d.com/support/faqnug.html > Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech > Unsub: mailto:4D_Tech-Unsubscribe@... > Post: mailto:4d_tech@... > Options: https://lists.4d.com/mailman/listinfo/4d_tech > ********************************************************************** > ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5On Jul 2, 2008, at 11:44 AM, Bill Weale wrote:
> I'm not speaking for Chuck here, but some of us use barcodes > "backwards." We want/need human- AND machine-readable > communications. And not all humans use only the lower 128. Still wouldn't matter is the font is OpenType -- the characters are the characters. Also, Code 128 only supports 7-bit, by definition of the standard and 128 was the specific code mentioned. To my knowledge, only PDF417 and the "2D" matrix codes include support for characters beyond the basic ASCII set. New Unicode support exists in Matrix codes, which opens up a lot of possibilities. The scanners pass UTF8 as input with some DataMatrix versions. When you say you are using things "backwards," what exactly is meant? I would always print the characters under the barcode, myself, just for error checking since even UPC-E has an error rate of 1:800K in most tests. The "human readable" is always a nice failsafe for input. The real "solution" for the future is to have PDF417 support, which has amazing reliability (1:6M error rate) and the ability to encode a lot of data. By nature, PDF417 and Matrix codes are graphical, though, and you couldn't get away with using fonts. Oh, well... but a good trade. I'm sure there are a lot of ways around things, and a lot of companies have gone beyond the standards that are defined. - CSW ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5128 is one of the fonts that uses above 128. I think 2 dimensional
fonts do as well. Regards Chuck On Jul 2, 2008, at 12:34 PM, Christopher Scott Wyatt wrote: > > Most barcode fonts do not go beyond the ASCII-7 range. I code on > Mac and PC, using the same TrueType barcode font on both. Since > most of the characters are numbers and the asterisk, there's no > reason to have any issues with higher range characters. ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5On Jul 2, 2008, at 3:03 PM, Chuck Miller wrote:
> 128 is one of the fonts that uses above 128. I think 2 dimensional > fonts do as well. Someone needs to quote the standard, not what companies sell as "standard." Any database developer should be familiar with the ANSI.org site and its documentation. I had to deal with compliance issues on military contracts, causing us to reject a lot of "good" scanners and systems. From ANSI X3.182/ISO 15416 standard (http://webstore.ansi.org/): Code 128 is a popular barcode symbology. Code 128 is a modern 1D symbology that encodes the lower 128 ASCII characters (hence its name). No ANSI approved device may encode values outside this range. Code 128 is a very high density alphanumeric bar code. The symbol can be as long as necessary to store the encoded data. It is designed to encode all 128 ASCII characters, and will use the least amount of space for data of 6 characters or more of any 1-D symbology. Each data character encoded in a Code 128 symbol is made up of 11 black or white modules. The stop character, however, is made up of 13 modules. Three bars and three spaces are formed out of these 11 modules. Bar and spaces can vary between 1 and 4 modules wide. The symbol includes a quiet zone (10 x-dimensions), a start character, the encoded data, a check character, the stop character, and a trailing quiet zone (10 x-dimensions). For optimum hand-scanning with a contact reader, the quiet zone should be at least 0.25 inches. Any "Code 128" using IBM "extended ASCII" is *not* compliant with the standard and dose not meet procurement standards of the GAO. ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5You are correct in the characters represented, but the start and stop
bits are above 128 ascii values and there in lies the problem with font differences between macs and PCs Regards Chuck On Jul 2, 2008, at 9:19 PM, Christopher Scott Wyatt wrote: > Someone needs to quote the standard, not what companies sell as > "standard." Any database developer should be familiar with the > ANSI.org site and its documentation. I had to deal with compliance > issues on military contracts, causing us to reject a lot of "good" > scanners and systems. > > From ANSI X3.182/ISO 15416 standard (http://webstore.ansi.org/): ------------------------------------------------------------------------ --- Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 ------------------------------------------------------------------------ ---- ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech ********************************************************************** |
|
|
Re: Conversion routines for Barcodes Code128 and inteleaved 2 of 5 |