Handling Spooled Files and Printing Functions - PowerPoint PPT Presentation

1 / 25
About This Presentation
Title:

Handling Spooled Files and Printing Functions

Description:

Handling Spooled Files and Printing Functions – PowerPoint PPT presentation

Number of Views:77
Avg rating:3.0/5.0
Slides: 26
Provided by: marge3
Category:

less

Transcript and Presenter's Notes

Title: Handling Spooled Files and Printing Functions


1
Chapter 6
  • Handling Spooled Files and Printing Functions

2
AS/400 Printing Overview
  • No program ever sends output directly to printer.
  • Printed output always goes to hard disk storage.
  • Printed output goes to output queue.
  • System program, printer intercept program,
    delivers content to a printer.
  • This type of printing called spooling.
  • Output waiting to be directed to a printer is
    known as spooled files.

3
The Printing Process
  • Job produces a report.
  • Printed output (report) goes to output queue.
  • A program later sends the queued report to a
    printer for printing.

4
Two Separate Functions
  • Program-to-Queue.
  • Queue-to-Printer.

5
AS/400 Typical Output Queues
  • QPRINT
  • QSYSPRT

6
Printer Writer
  • The printer that prints, is a physical printer.
  • AS/400 sees the logical device, that is the
    printer writer.
  • Printer writers must be attached to an output
    queue to print anything.

7
Jobs, Queues, and Printer Writers
8
Printing Commands
  • Output queue commands
  • Create Output Queue (CRTOUTQ)
  • Delete Output Queue (DLTOUTQ)
  • Change Output Queue (CHGOUTQ)
  • Display Output Queue (DSPOUTQ)
  • Work with Output Queue (WRKOUTQ)

9
Examples
  • WRKOUTQ ALL
  • WRKOUTQ QPRINT

10
All Output Queues
11
Change Output Queue
12
Option5- Work With
13
Second View of Queue QPRINT
14
Display Spool File Command
15
DSPSPLF Vs. WRKOUTQ Commands Parameters
16
Spool File Commands
17
Printed Spool File
18
Spool File Control Line Commands
19
Change Spooled File Attributes
20
Change Spooled File Attributes
21
Change Spooled File Attributes
22
Multiple Command Changes
23
Printer Writer Commands
  • Create Device Print (CRTDEVPRT)
  • Automatic configuration System Value QAUTOCFG
  • Display System Value (DSPSYSVAL)
  • Change System Value (CHGSYSVAL)
  • Work with Writers (WRKWTR)
  • Start Printer Writer (STRPRTWTR)
  • End Printer Writer (ENDPRTWTR)
  • Hold Printer Writer (HLDPRTWTR)
  • Release Printer Writer (RLSPRTWTR)

24
Start Printer Writer Command
25
Selective Page Printing
Write a Comment
User Comments (0)
About PowerShow.com