Not exactly sure where you're confused, Thomas. Are you saying UNDERLINE doesn't work for PDFs when it's conditioned on an indicator? (Has the indicator been turned on in the program?) OR are you saying you haven't seen UNDERLINE specified in any DDS Manual?

The DDS Manual (for Printer Files) states:

UNDERLINE (Underline) keyword in printer files
You use this field-level keyword to specify that the IBM i operating system underlines the field when it is printed.
Specify UNDERLINE only if the printer supports underlining.
This keyword has no parameters.
Option indicators are valid for this keyword.

And an example from the same:

A    FLD1 40  47SPACEA(2) UNDERLINE
A 30 FLD2 40A 47SPACEA(2) UNDERLINE

(Incidentally, there is no need to use CPYSPLF. The Printer File can produce a PDF directly. See
DEVTYPE(*AFPDS)
TOSTMF('/home/...../PRINTOUT.pdf')
WSCST(*PDF)
on the CRTPRTF/OVRPRTF commands.)

Not sure if this helps you at all.
Brian.

On 03/04/2025 19:27, tgarvey@xxxxxxxxxx wrote:
Hi,


I've got an external print file, produced by an RPGLE program, that includes
various print attributes, like underline, highlight, and colors.

The print file is converted to a pdf document in the IFS (using the cpysplf
command on a server with 5770TS1 IBM Transform Services for i installed).

It looks like the UNDERLINE, for example, is working, but only when there is
no indicator that would activate it.

I haven't seen that in any DDS manual.

Can anyone confirm or 'unconfuse' me?


Kind Regards,


Thomas Garvey




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.