AFPDS PRTF special character printing within text string?

1,145 pts.
Tags:
AFPDS
AS/400
DDS
FNTCHRSET
PRTF
Is it possible to include a special character within a text sting output to an AFPDS print file? We have output the special character by using a symbol character set but it has to be output as an individual field and results are not perfect for different printers. Has anyone created a DDS Print file with a similar requirement? Special Character of a Check Mark, Copyright Symbol or Trademark, Etc.

Software/Hardware used:
iSeries V5R2 and above
ASKED: January 7, 2013  9:02 PM
UPDATED: January 8, 2013  2:56 PM

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 4  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Without knowing what a "special character" is, I can't think of a good way to answer. -- Tom
    125,585 pointsBadges:
    report
  • hafwhit
    I have created a program to produce a print out of the code page table for the Font Character Set. I used the table to determine the hex value of the character required. Each code page is different. Code page T1D0BASE has less characters thanT1V10037.
    1,145 pointsBadges:
    report
  • TomLiotta
    If I understand, you want to generate a text string that contains a special character mixed in with 'normal' characters something like this: [ Items marked ® are our trademarks. ] Is it a text string from a program variable? Or is it literal in the printer file? (I hope my special character came across okay.) Tom
    125,585 pointsBadges:
    report
  • hafwhit
    Tom as in your example that is what I needed to do. The text string is created in a RPGLE program as a character string and printed with an AFPDS print file. Once I was able to determine the proper hex code from the Code Page I was able to combine the combine the character. [code] *---------------------------------------------------------------- * Code Page T1V10037 Copyright Symbol D xB4 c const(x'B4') *---------------------------------------------------------------- C Eval CPYRGHT = xB4 + 'Company name, 2013' *---------------------------------------------------------------- [/code]
    1,145 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following