Printing lower EBCDIC problem

Posted on 2012-09-04
Last Modified: 2012-09-05
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?

Question by:theo kouwenhoven
    LVL 20

    Expert Comment

    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...

    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)


    LVL 13

    Accepted Solution

    Murph, did you try the replace unprintable character parameter on the printer file override?

    Hope this helps
    LVL 16

    Author Comment

    by:theo kouwenhoven
    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.
    LVL 6

    Expert Comment

    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.
    LVL 16

    Author Comment

    by:theo kouwenhoven
    Hi tncode,

    please explain how to do the translation of data in a printerfile for AFPDS output
    LVL 16

    Author Closing Comment

    by:theo kouwenhoven
    Hi Barry,

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now