Looking at Printer Output

When you print data on the AS/400 the printer output is written to a printer spool file. Typically, this is the default printer specified in your user profile.

To see your printer output, use the command Work with Spool File:

WRKSPLF

By using the command this way you are actually specifying:

WRKSPLF SELECT(*CURRENT)

You can look at another user's spool file (if you have authority) by using:

WRKSPLF USERXXX

The WRKSPLF command shows a list of all spool files in your queue. It will look like:

 
                         Work with All Spooled Files              
                                                                  
Type options, press Enter.                                        
  1=Send   2=Change   3=Hold   4=Delete   5=Display   6=Release   
  8=Attributes        9=Work with printing status                 
                                                                  
                             Device or                     Total  
Opt  File        User        Queue       User Data   Sts   Pages  
     FXR001      CHAPGMR     P1                      RDY      14  
     FXR001      CHAPGMR     P1                      RDY      14  
If the list is too big for one page, use the PAGE DOWN key to scroll down.

To look at the output file, key a 5 next to the file and hit enter.

Use the following information to move around in your printer file:

Use PAGE DOWN and PAGE UP
F20 to shift to the right (SHIFT and F8)
F19 to shift back left (SHIFT and F7)
B in the CONTROL field at the top and ENTER to go to bottom of file
T in the CONTROL field at the top and ENTER to go back to the top
Key a value in the field FIND and hit F16 (SHIFT and F4) to search for the value
W12 in the CONTROL field to shift the Window to column 12
1087 in the CONTROL field to go to line 1,087
+200 in the CONTROL field to go forwar 200 lines

When you are done viewing your printer output, hit F3 to return to the spool file list. Key 4 next to the file and hit ENTER to delete it.




Back to Basic AS/400 Tips    |    Back to Main Page    |   Contact Info