|
Speaking of barcodes - I would like to print a varying length field
out as a barcode. If the field is only 5 chars long - I don't want a barcode
that has the 5 characters and then 45 blanks - I would like the barcode to
only be 5 chars long. In an attempt to define the field as varying in the
printer file I created a reference file that has this field defined as
VARLEN - and specified REFFILE in the printer file. (however, the compile
listing for the printer file showed the length as the max length - 40) Then,
when I compile the RPG program it fails because it doesn't like that the
printer file sees the field as 40 long when the pgm sees it as varying
length (42 long). I have since created a Frankenstein DS in the RPG to
accomplish my feat - but there has to be a cleaner & easier way...Does
anyone know of a way to use a varying length field to print a varying length
barcode?
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.