IBM AS/400e Computer Hardware User Manual


 
v If the user ID on the sending system exists on the destination system, an attempt
is made to create the spooled file on the output queue that is defined on the
Receive a Printer Job
command under that user ID.
If the requested output queue exists, the spooled file is placed in that output
queue. The user ID must have access to that output queue, or the OUTQ
┌──────┐
│ LPR
└──┬───┘
┌──────────────────┐
│ Data and control │
│ file received on │
AS/400
└────────┬─────────┘
┌────────────────────┐
│ Check control file │
for sending
user ID JOHN
└─────────┬──────────┘ ┌────────────────────┐
│Is *PUBLIC access
┌──────────────────────┐ │authority to
│ Does user JOHN exist │No │QTMPLPD profile │ Yes
on the AS/400? ├────── │*EXCLUDE │ ────────┐
└──────────┬───────────┘ └─────────┬──────────┘
│Yes
│No
┌─────────────────────┐ ┌──────────────────────┐
│ Receive file under │ Receive file under
│ user profile JOHN │ user profile QTMPLPD │
└──────────┬──────────┘ └──────────┬───────────┘
││
││
│
┌───────────────────────┐
│ Check the Receive │ ───────────────┘
│ Printer Job command
│ for OUTQ value
│ (AS/400 LPR PRTQ
value)
└───────────────────────┘
││
│
┌──────────────────────────┐
No
Does OUTQ exist? ├─────┐
│(If no library specified, │
│then *LIBL is used)
└──────────┬───────────────┘
│ Yes

┌──────────────────┐ ┌─────────────────────┐ ┌──────────────────┐
│ Send spooled file│ │Send spooled file to │ │ LPR denied; file │
to OUTQ │OUTQ QGPL/QPRINT not accepted
└────────┬─────────┘ └───────┬─────────────┘ └────────────┬─────┘
││

┌────────────────────────────┐ ┌────────────────────────────┐
│ Successful return code │ Failing return code
│ sent to requesting system │ sent to requesting system
└────────────────────────────┘ └────────────────────────────┘
Figure 228. Flow for Determining Output Queue for a Spooled File
Chapter 12. Line Printer Daemon (LPD) 371