ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

CVTSPLFPDF changes the layout while printing?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CVTSPLFPDF changes the layout while printing?

    I am in a process of converting spool file to PDF for emailing. This was part of CGIDEV2 tools.

    However, when I converted 80 column report, PDF displays in Landscape mode instead of Portrait. Here are the setup:

    OVRPRTF FILE(ORDER) DEVTYPE(*AFPDS) PAGESIZE(66 80) +
    LPI(6) CPI(10) OVRFLW(64) PAGRTT(0) +
    OUTQ(HOLDING)

    CVTSPLFPDF SPLF(ORDER) JOB(JOBNBR/USER/JOBNAME) +
    SPLNBR(SPOOLNBR) TOPDF(DIR)

    From ISERIES, I can print ORDER spool file on a laser printer and it is in Portrait mode.

    When I access PDF file from IFS, the report is shown in landscape mode and prints in the center of the page.

    Can someone please help me as to why is this happening and any solution you may have please let me know. Your help is appreciated.

    Thank you.
Working...
X