|
Rich, Thanks for the info, I'll give that a try. I told everyone that we could do 2D barcode on a report. Imagine my surprise when I found out that HPT didn't recognize this. To further frustrate my efforts, many IPDS printers don't even handle it. We're replacing some old DOS system, printing to a dot-matrix, that can generate these barcodes on a report. My only recourse thus far has been to use Infoprint Server to create a PDF of the document, email it to the user, and tell them that they'll have to open the attachment in Acrobat and print it to the printer. I tried to find a way around it. I thought if I can generate a PDF on the iSeries, then I should be able to send that to the printer somehow using Infoprint's Transform Manager. But, to get a PDF file to the printer it still goes through HPT, and it seems to choke on it then too. ____ Original Message: Darren, Seems like the scanner would be looking for an x'0D' and/or x'0A'. If I remember correctly, if you encode x'0D25' into your ebcdic string, it will be converted to x'0D0A' by the ebcdic to ascii conversion table. So, eval barcode = %trim(barcode) + x'0D25'; might do the trick. Incidentally, would you mind telling me what print mechanism you are using to print the 2D barcodes? I was just reading the other day that host print transform is incomplete in that it will transform and print a 1D barcode, but not a 2D barcode (as of V5R2). Has that limitation been removed, or are you using an IPDS printer of some kind? -- Regards, Rich ___________________________________ Darren Strong Programmer Group Dekko Service LLC. Phone 260-347-3100 ext. 70270 Fax 260-347-9236
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.