Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 599
  • Last Modified:

Printing lower EBCDIC problem

Hi Experts,

I need to include characters, from the lower-part EBCDIC set, into a BARCODE (pdf-417)
Characters I need are: X‘04’ (EOT), X‘1D’(RS)  and X‘1E’(GS).
But while printing they disappear from the string,

Printer-file is an AFPDS file and other (test) codes are printed without problems.

How can I force these lower-part characters into the output?

Regards,
Murph
0
theo kouwenhoven
Asked:
theo kouwenhoven
1 Solution
 
n2fcCommented:
PDF417 is actually an ASCII based encoding (not EBCDIC)...  
It permits different densities based on selected compaction schema:
numeric, character, and byte.
That said, so long as the byte schema is selected (low density, but all bit combinations are valid) it should not matter which codeset is used...

THINGS TO CHECK:
1) Make sure your interface has byte mode selected so as not to "throw away" non alpha-numeric characters
2) Are you referring to the actual PDF417 data missing your special characters or the "human readable" portion?
3) You may need to "escape" these special characters in your output stream (use a backslash before them \)... See the specs below (BARCODE keyword)


See:
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Frzalu%2Frzaluspecialcafpds.htm

and

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Frzakd%2Frzakdmst02.htm
0
 
_b_hCommented:
Murph, did you try the replace unprintable character parameter on the printer file override?
OVRPRTF FILE(QPRINT) RPLUNPRT(*NO)

Hope this helps
Barry
0
 
theo kouwenhovenAuthor Commented:
Hi _b_h,

I will try and let you know.

...also found the Barcode option *ESCAPE that let me insert an backslash as esc-char.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
tncodeCommented:
Optionally, convert EBCDIC to ASCII first, and then encode the data in binary mode of PDF417 so that the EOT, RS and GS encode correctly.
0
 
theo kouwenhovenAuthor Commented:
Hi tncode,

please explain how to do the translation of data in a printerfile for AFPDS output
0
 
theo kouwenhovenAuthor Commented:
Hi Barry,

Thanks, you pointed me in the right direction, RPLUNPRT(*NO) is also a compile option :-)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now