View - Setting up an AFP Printer
search cancel

View - Setting up an AFP Printer

book

Article ID: 136425

calendar_today

Updated On:

Products

View

Issue/Introduction

Procedure to establish a SARFSS to process AFP reports.

Resolution

Below is an example of a command set used to start a printer/SARFSS task:

ODE=FSS,FSS=FSSPDF01 
/$TPRTnn,MODE=FSS,FSS=FSSPDF01 
/$TPRTnn,CLASS=x,FORMS=FORM001,PRMODE=(PDFC) 
/$TPRTnn,WS=(Q,PRM/F,R,W,LIM,UCS,FCB) 
/$SPRTnn 

In the above, note where there is "WS=(Q,PRM/F,...)". Though there are many fields, in WS, that can be used in starting a virtual printer, it will only use the parameters that are to the left of the "/".  
For the above, the printer will collect output based on CLASS (noted as Q) and PRMODE (PRM). 
PRMODE=PDFC means the collector will be used for PDF reports. 

Generally, a SARFSS collector is used to collect text, AFP, or PDF reports. Each one is set up differently, using parameter of:

 . Text: TYPE=VIEW
 . AFP: TYPE=ACIF
 . PDF: TYPE=PDF

For more details, refer the Install the FSS Collector section in View documentation.