× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



help text for user profile (does not mention a valid value of "blank")
                                             Print device (PRTDEV) - Help
Specifies the name of the default printer device for this user.  If the
printer file being used to create the output specifies to spool the
file, the spooled file is placed on the device's output queue, which is
named the same as the device.
    Note:  This assumes the defaults are specified on the OUTQ
    parameter for the printer file, job description, user profile and
    workstation.
The possible values are:
*SAME
    The printer value does not change.
*WRKSTN
    The printer assigned to the user's work station is used.
*SYSVAL
    The default system printer specified in the system value QPRTDEV is
    used.
printer-device-name
    Specify the name of a printer that is used to print the output for this
user.

----- Original Message ----- 
From: <rob@xxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, January 26, 2004 1:09 PM
Subject: Re: User Profile Output Queue & Printer Device vs OVRPRTF


> I was thinking it was something along these lines.  However, he swears
> that User1's override to Printer1 works.  And that it is because User1
> doesn't have anything specified in DEV.  I was wondering what User1 would
> normally print to, but he assures me that it is a different printer other
> than Printer1.
>
> Rob Berendt
> -- 
> Group Dekko Services, LLC
> Dept 01.073
> PO Box 2000
> Dock 108
> 6928N 400E
> Kendallville, IN 46755
> http://www.dekko.com
>
>
>
>
>
> "Carel Teijgeler" <coteijgeler@xxxxxxxxx>
> Sent by: rpg400-l-bounces@xxxxxxxxxxxx
> 01/26/2004 12:36 PM
> Please respond to
> RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
>
>
> To
> rpg400-l@xxxxxxxxxxxx
> cc
>
> Fax to
>
> Subject
> Re: User Profile Output Queue & Printer Device vs OVRPRTF
>
>
>
>
>
>
> Frank,
>
> If the two programmes use the same printer file use SHARE(*YES)
> OPNSCOPE(*JOB) or a mixture of those.
>
> Other wise  use SPLF(*PRINT) to overwrite all printer files.
>
> Regards,
> Carel Teijgeler.
>
> *********** REPLY SEPARATOR  ***********
>
> On 26-1-04 at 10:55 fkany@xxxxxxxxxxxxxxxxxx wrote:
>
> >RPG_PGM_A executes an OVRPRTF to PRINTER1 before calling RPG_PGM_B.  The
> >PRTF generated by RPG_PGM_B goes to PRINTER2 instead of PRINTER1.
> >
> >For User1 the OVRPRTF works because they don't have PRINTER2 specified in
> >their user profile under OUTPUT QUEUE & PRINTER DEVICE.  For User2, the
> >OVRPRT doesn't work because they have PRINTER2 specified in their user
> >profile under OUTPUT QUEUE & PRINTER DEVICE.
> >
> >Without taking out the specified OUTPUT QUEUE & PRINTER DEVICE for User2,
> >is there a way to get the OVRPRTF to work?
>
>
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.