ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

how do i change font & font in report

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

  • how do i change font & font in report

    Hi,

    I need to generate a report having font size of 4.5 & courier as font.
    The length of report runs to 287.
    how can i speciify the font & size in OVRPRTF statment.
    Please enlighten

    Regards,
    Debz

  • #2
    Re: how do i change font & font in report

    Override with Printer File (OVRPRTF)

    Type choices, press Enter.

    File being overridden . . . . . Name, *PRTF
    Overriding to printer file . . . *FILE Name, *FILE
    Library . . . . . . . . . . . Name, *LIBL, *CURLIB
    Device:
    Printer . . . . . . . . . . . Name, *SYSVAL, *JOB
    Printer device type . . . . . . *SCS, *IPDS, *USERASCII...
    Page size:
    Page length . . . . . . . . . .001-255.000
    Page width . . . . . . . . . . .001-378.000
    Measurement method . . . . . . *ROWCOL *ROWCOL, *UOM
    Lines per inch . . . . . . . . . 3, 4, 6, 7.5, 7,5, 8, 9, 12
    Characters per inch . . . . . . 5, 10, 12, 13.3, 13,3, 15...
    Front margin:
    Offset down . . . . . . . . . 0-57.790, *DEVD
    Offset across . . . . . . . . 0-57.790

    More...
    F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
    F24=More keys
    -----------------------------------

    Override with Printer File (OVRPRTF)

    Type choices, press Enter.

    Back margin:
    Offset down . . . . . . . . . 0-57.790, *FRONTMGN, *DEVD
    Offset across . . . . . . . . 0-57.790
    Overflow line number . . . . . . 1-255
    Fold records . . . . . . . . . . *NO, *YES
    Unprintable character action:
    Replace character . . . . . . *NO, *YES
    Replacement character . . . . ' ' 40-FE
    Align page . . . . . . . . . . . *NO, *YES
    Source drawer . . . . . . . . . 1-255, *E1, *FORMDF
    Output bin . . . . . . . . . . . 1-65535, *DEVD
    Font:
    Identifier . . . . . . . . . . Character value, *CPI...
    Point size . . . . . . . . . . *NONE 0.1-999.9, *NONE
    Form feed . . . . . . . . . . . *DEVD, *CONT, *CUT, *CONT2...
    Print quality . . . . . . . . . *STD, *DEVD, *DRAFT, *NLQ...
    More...
    Thanks,
    Giri

    Comment


    • #3
      Re: how do i change font & font in report

      Also check this out its kinda intersting.....



      jamie
      All my answers were extracted from the "Big Dummy's Guide to the As400"
      and I take no responsibility for any of them.

      www.code400.com

      Comment


      • #4
        Re: how do i change font & font in report

        Hi,

        In the spool file i am getting the required output with the max CPI & LPI.
        But when i am trying to print the report. The part at the right is getting truncated.
        i dono why.
        can i have smaller font size in the report to accomodate the whole of data.

        Thanks,
        Debasis

        Comment


        • #5
          Re: how do i change font & font in report

          We are all just guessing cause we cant see your program or the output...
          When we need a page wider than the normal 132 we do this

          Code:
          OVRPRTF    FILE(&PRTF) PAGESIZE(66 192) LPI(6) CPI(12)
          All my answers were extracted from the "Big Dummy's Guide to the As400"
          and I take no responsibility for any of them.

          www.code400.com

          Comment


          • #6
            Re: how do i change font & font in report

            I have specifed the following in the CL pgm.

            OVRPRTF FILE(TESTRPT) TOFILE(QSYSPRT) PAGESIZE(*N +
            287) LPI(12) CPI(20) SPLFNAME(TESTRPT)

            I am getting the report in the spool. But while taking the print some part in the right is getting truncated. Now if i take the output in a legal size page then some more part to the right appears in the report but not all.
            Is the output of the spool page dependant on page size.

            i am taking print in HP laser printer(will that make any difference)
            any suggestions.

            Comment

            Working...
            X