[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

System User's Guide: Operating System and Devices


Automating the Conversion of ASCII to PostScript

Many applications that generate PostScript print files follow the convention of making the first two characters of the PostScript file %! which identifies the print file as a PostScript print file. To configure the system to detect ASCII print files submitted to a PostScript print queue and automatically convert them to PostScript files before sending them to the PostScript printer, perform these steps:

  1. At the prompt, type:

    smit chpq
    

    Press Enter.

  2. Type in the PostScript queue name, or use the List feature to select from a list of queues.
  3. Select Printer Setup menu option.
  4. Change value of AUTOMATIC detection of print file TYPE to be done? field to yes.

Any of the following commands now convert an ASCII file to a PostScript file and print it on a PostScript printer. To convert myfile.ascii, you would type any of the following at the command line:

qprt -Pps myfile.ps myfile.ascii

lpr -Pps myfile.ps myfile.ascii

lp -dps myfile.ps myfile.acsii

where ps is a PostScript print queue.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]