× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We resorted to using a reel printer, Zebra Z4MPlus.  It has it's own
language called 'ZPL', sample below.  It can be hung off the network (if
you get that option), so I created a remote writer to drive it.  The
only trick is to use the *WSCST QSYS/QWPDEFAULT on the CRTOUTQ command.

^XA                             # Start of label
        ^FO0,136                # Set Field Origin
        ^B7N,5,4,13,,N          # PDF 417 Barcode
        ^FDThis is the barcode data^FS
^XZ                             # End of label

Reel printers are nice, but won't work too well for a US Letter size
report...



On Tue, 2004-05-11 at 08:15, darren@xxxxxxxxx wrote:
> 
> 
> 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
> 
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
--
Regards,
Rich

Current Conditions in Des Moines, IA
Broken Clouds
Temp 78.8F
Winds out of the Southwest at 13, gusting to 22mph


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.