ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Need to tweak PRTF specs

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

  • Need to tweak PRTF specs

    Good afternoon, at the new job and had to create printer file from scratch. I used an OVRPRTF command with no adjustments to make the report. It prints in landscape but they would like it to be a bigger font. I have tried several different ways to keep it landscape but make the font bigger.

    Here is my original OVRPRTF command:
    OVRPRTF FILE(QPQUPRFIL) TOFILE(INR0050F) PAGRTT(0) +
    OUTQ(&OUTQ) HOLD(*YES) SAVE(*NO)

    I have tried this one, but this turns the page vertical (8.5 x 11)
    OVRPRTF FILE(QPQUPRFIL) TOFILE(INR0050F) PAGESIZE(88 +
    *N *UOM) LPI(8) CPI(12) OVRFLW(76) +
    FONT(*CPI) PAGRTT(0) OUTQ(&OUTQ) +
    HOLD(*YES) SAVE(*NO)

    I would like to keep the bigger font generated with this one, but keep it landscape (11 x 8.5)

    Any help would be appreciated. Thank you.


  • #2
    Re: Need to tweak PRTF specs

    change the pagrtt and test again.
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: Need to tweak PRTF specs

      Make the page size fit the LPI and CPI. Landscape is 8.5 inches down (lines) and 11 inches across (characters), so the number of lines on the page should be 68 (8.5 * 8 lpi) and the number of characters should be 132 (11 * 12 cpi). Try it with PAGESIZE(68 132 *ROWCOL), (*ROWCOL is the default, so you could leave it out if you wanted to.) Also adjust the overflow line number to something less than 68.

      Comment


      • #4
        Re: Need to tweak PRTF specs

        Good afternoon, after I figured out that my OVRPRTF wasn't working and got that corrected, I was able to set it to this:

        OVRPRTF FILE(INR0050F) LPI(8) CPI(12) OVRFLW(62) +
        FONT(*CPI) PAGRTT(90) OUTQ(&OUTQ) +
        HOLD(*YES) OVRSCOPE(*CALLLVL)

        I had no OVRSCOPE so it wasn't doing anything. After I got that straightened out I started to see results. I started with 66 85, but that was too big, so I got it dialed in.

        I appreciate all the input.
        Have a good weekend.


        Comment

        Working...
        X