× 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.



I have run into this.
In addition to people who have default a certain printer, there are reports others generate then MOVE to that printer.

Most printers do not have 2 drawers, so they ignore the drawer parameter. I not now remember what command this is, but there is one that can change 100% of the printer files defaults on the system to a particular drawer, and also change the command that creates new printer files to default a particular way.

Then after that, change the software for reports that need to go to drawer other than system new default

But it is not done at CL program level.
It is done with PRTF in which, if neccessary, you can have different PRTF variants for different users, which still won't solve reports created by one user for one printer, then moved to be printed on another printer

You have to plan in advance for an OS/400/i5 update which might reverse your careful work, so have a CL to reapply whatever collection of changes are desired.
:
Hello All: Hoping this is the right place to ask this question. If not, please direct me??

Need something that is probably very simple that I am overlooking.
I need a spool file to print from the second drawer of a Lexmark for only specific users who's default printer is PRT26.

This is the CL code I currently have
  DCL        VAR(&PRTR) TYPE(*CHAR) LEN(10)
  DCL        VAR(&USER) TYPE(*CHAR) LEN(10)

  RTVJOBA    JOB(&JOB) USER(&USER)

  RTVUSRPRF  USRPRF(&USER) PRTDEV(&PRTR)

  IF         COND(&PRTR *EQ 'PRT26') THEN(OVRPRTF +
               FILE(PRINT) OUTBIN(2))

Ive also tried

 IF         COND(&PRTR *EQ 'PRT26') THEN(OVRPRTF +
              FILE(PRINT) DRAWER(2))


Lynette (Nettie) Chronister
Programmer


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-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.