ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

OvrPrtF

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

  • OvrPrtF

    Ok -- did a google search and also went to IBM site and looked at the entry on OvrPrtF. I can't figure out the part that causes to pgms to print on one page.

    The S/36 command was
    // PRINTER NAME-MYPRT,FORMS-BLAH,DEVICE-P1,CONTINUE-YES

    I'm stuck on how to do the CONTINUE-YES part.

    It was the thing where you call two programs back to back and they would print on one sheet of paper.
    Last edited by Chipper; July 25, 2008, 11:24 AM. Reason: Added further clarification
    http://www.linkedin.com/in/chippermiller

  • #2
    Re: OvrPrtF

    one way is to not close the print file in your programs until the last one runs.

    Code:
    ovrprtf qsysprt share(*yes) /* not really necessary */
    call pgma /* leave *INLR= *Off and don't close QSYSPRT */
    call pgmb /* same as pgma *?
    call pgmc /* *INLR = *ON and close file */
    dltovr qsysprt
    that should get it for you...
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: OvrPrtF

      Thanks! Let me give that a shot.
      http://www.linkedin.com/in/chippermiller

      Comment

      Working...
      X