Progress
Startup Command and Parameter
Reference


Printer (-o)

Operating 
System
and
Syntax 
UNIX
Windows 
-o printername 
Use
With 
Maximum
Value 
Minimum
Value 
Single-user
Default 
Multi-user
Default 
CS
 
 
System dependent1
System dependent1
  1. See defaults listed below.

printername

Identifies the printer to use when processing the OUTPUT TO PRINTER statement in procedures.

On Windows:

Use Printer (-o) followed by the name of the printer port. For example:

-o LPT1 

If you do not use the -o parameter, Progress uses the printer specified as the default printer.

On UNIX:

Use Printer (-o) followed by the name of the spooler and any necessary parameters. If you do not use the -o parameter, Progress defaults to “lp” (System V) or “lpr” (BSD). If you are passing arguments with this parameter and are using a script such as PRO or one of your own, enclose the entire string in quotes so that the argument to -o is returned as a single value when passed to the Progress module:

-o "lp -s" 

Progress uses the spooler or printer port named at execution time rather than using the name at compile time. That way, precompiled procedures work regardless of which spooler or printer port is in effect.

To use a print spooler with spooler parameters, use OUTPUT TO PRINTER and specify the spooler parameters with -o. Use one of the following commands:

OUTPUT THROUGH lp spooler-parameters PAGED. 

OUTPUT THROUGH lpr spooler-parameters PAGED. 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095