Printing

pts.
Tags:
AS/400
Printing
I have reports (queries) that are set up to print to different printers automatically everynight from the as400. Some guy set it up for me and I need to change where some are printing. I can not seem to find any documentation on how to do so. Can anyone help me on creating these print jobs or changing them?

Answer Wiki

Thanks. We'll let you know when a new response is added.

This is all from memory, so forgive me if it’s vague in places. If you have access to it, use the WRKQRY command to work with the query definitions.

Select the query you want to change from the list and put option 2 next to it. You should get to a screen where you have a list of things you can work with, such as file definitions, selection criteria, sort criteria, etc.

At the bottom of the list (or second from bottom) is an option to change the output for the query. Select that and press Enter and you will work through a series of screens. One of those allows you to change the printer and outq for the query.

Hope it helps

Jonathan

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • HowieK
    Reports can be directed to specific printers in a program by using OVRPRTF. You may want to scan your source files to check for this.
    0 pointsBadges:
    report
  • FreedomOfSpeech
    There are different ways to do this: 1. As recommended by the other poster, create a CL program to use the OVRPRTF for QPQUPRFIL to set the printer queue override, like below: OVRPRTF FILE(QPQUPRFIL) + OUTQ(LIBRARY_OF_YOUR_PRINTER_QUEUE/YOUR_PRINTER_QUEUE) or 2. Under the Define the Query panel > Select output type and output form > Output type: select 2 = Printer, Hit ENTER and this brings you the Define Printer Output prompt > on the printer prompt, you can type a printer name. Printer . . . . . . . . . *PRINT *PRINT, name If you do this, everyone who uses this query, will print to the same printer unless they change the entry before running it. Or leave this entry as *PRINT, which will default to the current user session printer definition. Normally, when your user logs in to the iSeries, the printer session default is defined either by the application itself or the job description as defined by the application. 3. Finally, as a last resort, you can always pre-default the specific user profiles to a specific printer by updating the user profile. However, I would avoid this if you have different applications on your system that defines user printer defaults.
    0 pointsBadges:
    report
  • Nickysoomdat
    If you know the name of the query, do a wrkqry and option 2, to change, then select output type and output form, you will then select output type printer, you can now change your printer.
    0 pointsBadges:
    report
  • TomLiotta
    In order to answer your question, we need to ask some questions. A "query" might be a Query/400 query, a QM query, an embedded SQL query or a couple other possibilities. So, the first thing we need to know is how you access these in the first place. From there, we can track down what kind of query object it is and that'll tell us how you can get hold of its print attributes. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following