Printing Superscript / Subscript from RPGLE

25 pts.
Tags:
PDF
RPGLE
How to print subscript / superscript through RPGLE into spool file. This gets converted to PDF at the end.
How to print "1st" as 1st using RPGLE.
The printer field type is character length 5.
Printer device type . . . . . . . . . : *AFPDS
Coded as @Symbo = '1' x'09 'st' x'03
It prints "1 st ", with special characters in place of hex x'09 & x'03 but not as 1st.


Software/Hardware used:
POWER8, V7R3M0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • WoodEngineer
    Check the attributes of your print file for the following specification:

    Unprintable character action                  RPLUNPRT                
      Replace character . . . . . . . . . . . . :            *YES         
      Replacement character . . . . . . . . . . :            ' '   X'40'  

    If it is like this example that could explain the results.
    8,090 pointsBadges:
    report
  • LINYUSA2018
    I had  

     Replace character . . . . . . . . . . . . :            *NO 

    The spool file generated has highlighted bar in place of hex characters. 
         
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: