Printing a PCL file at 300-pel resolution

In this example, you will submit a PCL file called PCLFile3.pcl for printing on an InfoPrint printer called G4019-Serv1. In addition, you will specify a resolution of 300 pels.

Configuration assumptions: This example assumes these tasks have been performed by your system support group:

  • InfoPrint, including the pcl2afp transform, has been installed on the workstation on which the pcl2afp command is executed.
  • The pcl2afpd daemon has been started on the workstation on which the pcl2afp command is executed.
  • The 4019 printer has been installed and defined to AIX or Linux. A logical printer, named G4019-Serv1, has been configured to route jobs to the physical printer representing the 4019.

Using the command line options: To print this example, enter this command on the command line:

pdpr -o G4019-Serv1 -x "default-printer-resolution=300" PCLFile3.pcl
or on AIX
enq -P G4019-Serv1 -o-r300 PCLFile3.pcl

InfoPrint determines that the input data type is PCL and automatically runs pcl2afp, passing -r 300 from the enq command to pcl2afp.

You can get the same result by piping the output of the pcl2afp command to the input of the enq command.

pcl2afp PCLFile3.pcl -r 300 | eng -P G4019-Serv1

Using an attributes file with the pdpr command: To print this example, enter this command on the command line:

pdpr -X pclex3.X PCLFile3.pcl
where the attributes file named pclex3.X contains these settings:
document-format=pcl
A data type of PCL
default-printer-resolution=300
Image resolution is 300 pels
printer-name-requested=G4019-Serv1
Submit the job to the G4019-Serv1 logical printer

InfoPrint determines that the input data type is PCL and automatically runs pcl2afp, passing -r300 from the enq command to pcl2afp.

You can get the same result by piping the output of the pcl2afp command to the input of the enq command:

pcl2afp PCLFile3.pcl -r 300 | enq -P G4019-Serv1