Creating a PostScript File from Your ODS Printer Output

ODS PDF is not the only way to create a file that you can then print at your convenience. Another option is PostScript. The syntax for creating a PostScript file is to use one of these alternatives:

ODS PRINTER PS FILE=fileref   or   ODS PS FILE='file-specification'

Either method tells ODS to send your output to a specific file instead of the default printer. For the first example, PS is an option being sent to the PRINTER destination. In the second example, PS is the ODS destination. You could also have coded the second example as:

ODS POSTSCRIPT <rest of statement>

The following code shows how this works. It creates a PostScript file from a simple PROC PRINT step. This example is set up for ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.