Professional Documents
Culture Documents
Printer File and Power Lock
Printer File and Power Lock
Generally, when a user initiates a print request or runs a program, a printer file is accessed, a
spooled file is generated, and that spooled file is sent to an output queue.
Output Queue
Spooled file A
Spooled file B
Spooled file C
Printer File
Job description
User profile
Printer
The above figure shows the elements that control the flow of printing on the AS/400, as represented
in the oval on the right.
These are the elements that OS/400 searches - in the order listed, starting with the printer file – to
determine the destination of print output.
OS/400 looks first at the printer file to determine the output queue and print device to use:
If the printer file defaults, DEV(*JOB) and OUTQ(*JOB), are used, the printer file points to
the user’s job description.
If the job description defaults, PRTDEV(*USRPRF) and OUTQ(*USRPRF), are used, the job
description points to the user profile.
If the user profile defaults, PRTDEV(*WRKSTN) and OUTQ(*WRKSTN), are used, the user
profile points to the workstation or device description.
If all defaults have been used the printer device specified in the QPRTDEV system value is
used to determine where the users print output goes. The default system printer device and
output queue is named PRT01.
The Search Path OS/400 uses to determine the Printer destination:
Printer file
Job description
User Profile
Workstation Description
A printer device file is used to send records to a printer device. The printer device file
identifies the printer device used and the spooling requirements; it does not contain data.
The Create Printer File (CRTPRTF) command creates a printer device file from the
information specified on this command and, optionally, from the data description
specifications (DDS) contained in a source file.
o Some changes can be made to a printer file without having to recompile the program using
it.
o It eliminates the specifications necessary to define the report within the program.
o There are some software tools that will allow you to generate reports and produce the DDS.
Several programs can share the same printer file.
Printer Functions
Printers and other Devices attached to the server
Standard Emulator printer and IP Base Printer
Frequently occurring issues with respect to printers/Remote Outq/Devices is its Quite
stable. Start printers or re-route spool files from one out queue to another.
Provide Information regarding all other devices-controllers, tape devices, lines etc.
No line printer and No special printer
POWER LOCK:
PowerLock, a security tool specifically designed to protect AS/400 data from unauthorized Internet
or network access via PCs and other networked systems. PowerLock uses OS/400 security
features to protect AS/400s from unauthorized access via server programs such as ODBC, File
Transfer, Shared Folders, and Remote Command.