-printer command-line option

From The x3270 Wiki

Defines the Windows printer to use. The default is the system's default printer.

Overrides the PRINTER environment variable.

Applies only to Windows.

Syntax

-printer name
Use name as the printer.
-printer directory-pathname
Save the output as text in a uniquely-named file in the specified directory. New in 4.3

Caveats

On Windows, pr3287 can only use printers that support simple data input. Simple data input means sending the printer a stream of unformatted text, rather than formatting the data graphically using GDI. Not all printers support this mode; for example, the Microsoft Print to PDF printer driver does not and will not work with pr3287.

Examples

-printer "HP LaserJet"
-printer "C:\Users\me\PrinterOutput\"