Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CL How to get User Print Device 1

Status
Not open for further replies.

kgreer

MIS
Jul 18, 2003
155
US
I have a program that prints off a report. I am now using OVRPRTF command to tell it where to print. What I want to do is to have it print at the printer that the user that called the CL uses.
 
Code:
RTVJOBA OUTQ(&OUTQ) OUTQLIB(&OUTQLIB)

--or--

RTVUSRPRF USRPRF(*CURRENT) OUTQ(&OUTQ) OUTQLIB(&OUTQLIB)

followed by

OVRPRTF FILE(*PRTF) OUTQ(&OUTQLIB/&OUTQ)

Some things to check:

What is the output queue in the job's job description?
What is the output queue in the user's user profile?

Me transmitte sursum, Caledoni!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top