How to Configure A "Print to a File" Printer Using Oracle Solaris lpadmin(1M) (Doc ID 1325884.1)

Last updated on JANUARY 08, 2017

Applies to:

Solaris Operating System - Version 8.0 to 11.3 [Release 8.0 to 11.0]
Information in this document applies to any platform.

Goal

This document will explain how to create a printer in Oracle Solaris for which the device (-v option to lpadmin) is a file in /var/tmp file system, and not a physically attached or network attached printer.

Such a printer is useful for testing and troubleshooting printing issue such as, but not limited to

where either another printer is not available or one or several printers are needed with various configurations (-I, -T options to lpadmin, for example).

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms