Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Different length for Uline (SAPscript)

Hi experts,

maybe only a small problem:

I have a SAPscript form. Here I have a line ( ULINE(84) ).

Printing on a HP printer (HPLJ4), everything's fine. Printing as a PDF (PDF1), my line get broken (line break), so I have the last ~4 "ULINES" in a second line.

Sure, I can do somethin like

IF printer = PDF

ULINE(80)

ELSE

ULINE(84)

ENDIF.

But that's not very nice!

Any ideas how to prevent the line break?

Thanks

Michael

Former Member replied

Hello Michael,

I guess you use a proportional font like HELVE for the underline characters. This is one of the problems described in SAP note 183948. The different printer language have different widths for underline character for proportional fonts.

Try changing the font used for the underline character to non-proportional font COURIER and you should get the same result for both device types.

regards,

Aidan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question