Skip to Content

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jul 11, 2013 at 12:48 PM

    Hi Michael,

    Please, see SAP Note 172529 - Left-hand border when printing PDF files (PCL-5).

    SAP Note 409194 - Printing from Acrobat Reader vs. Printing from SAP is also useful.

    I hope this helps you

    Regards

    Eduardo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Michael Fallenbüchel

      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