Auto Print from AS/400

35 pts.
Tags:
AS/400
AS/400 printing
How can I get the system to print reports automatically without having to go in and change each queue for every report needing printed?

Answer Wiki

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

Discuss This Question: 6  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
  • philpl1jb
    You should be sending them to a queue associated with an active printer.
    49,750 pointsBadges:
    report
  • TomLiotta
    It's hard to say what should be done differently. You didn't tell us why you have to change any queues at all. What do you change? . Tom
    125,585 pointsBadges:
    report
  • Kelsey
    After a report is sent to the spooled file, instead of putting a 6 beside it to release it to the printer you have to put a 2 beside it because on the printer line it is set up to outque instead of the laser. So it has to be changed before every print job. I have seen other companies set up to where it will automatically print. How do I change that to where it would take affect to all the print jobs and not individual jobs?
    35 pointsBadges:
    report
  • Splat
    You can attach a writer to the output queue, either by creating a printer device description or using the CHGWTR command. Or you can change the user profile and/or job description and/or the print file definition(s) to direct the output to the desired output queue.
    7,055 pointsBadges:
    report
  • Kelsey
    I've tried everyting I can think of as well as some of your sugestions... I'm thinking this just may be something I don't have access to do. It may have to go to corp.
    35 pointsBadges:
    report
  • TomLiotta

    ...you have to put a 2 beside it because on the printer line it is set up to outque instead of the laser.

    Most likely, it is always going to go to an output queue and will never 'go to' the printer in your normal operation. That isn't a problem; that's how it's supposed to work even in situations where "auto-print" is working.

    (There is a technical possibility of having a program send output directly to a printer, but it's almost guaranteed that you do not want that to happen.)

    Your use of the term "auto-print" is a little confusing. However, we would normally assume that you simply mean that you don't want to be forced to use option 6 nor option 2. You just want to run the program and have the printed output come out of the printer.

    You would do that by setting up an association between the output queue and the printer. The association is done by starting a "writer" and telling it which output queue to write from and which printer to print to.

    Since you are using option 2, that means that a writer is already started for the printer. But that writer is associated with a different output queue than the one that has your reports. When you use option 2, what actually happens is that your reports are being moved to the other output queue, the one that the writer is using.

    At some point after your system starts up, the writer for that printer is started. It might be configured to start automatically or someone might run the STRPRTWTR command to do it. Either way, the command could be changed to specify the output queue that is actually being used by your programming.

    But the exact way to do that depends on exactly what is going wrong.

    Are you the only user having the problem? Or do all users have the same problem? If other users have the same problem, is it the same output queue for everyone? Are there other reports that "auto-print" on that printer? Is this only for particular kinds of reports?

    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