Go to main content

International Language Environments Guide for Oracle® Solaris 11.4

Exit Print View

Updated: November 2020

Printing Environment

In Oracle Solaris 11.4, Common UNIX Printing System (CUPS) is provided as the printing environment.

CUPS is a modular, open-source printing system that uses the Internet Printing Protocol (IPP) as the basis for managing printers, print requests, and print queues. CUPS supports network printer browsing and PostScript Printer Description-based printing options. CUPS also provides a common printing interface across a local network.

For more information about CUPS and its configuration, see Chapter 1, About the Common UNIX Printing System in Configuring and Managing Printing in Oracle Solaris 11.4.

This section describes print enhancement with the paps command-line utility.

The Oracle Solaris environment provides the paps print filter that can print flat text files. This print filter uses the glyph rendering used in gnome technology.

The default output from the utility is standard PostScript and can be sent to any PostScript printer.

To use the utility, type the following command:

$ paps filename | lp

Because paps accepts stdin stream, you can also use the utility as a filter.

$ cat filename | paps | lp

The paps utility is available from the print/paps package. The output of paps depends on available fonts. Additional fonts can be added with the following command:

$ pkg install system/font/truetype/*

The paps utility can specify a font and a size with the --font option if you want to change the default font (Default is "Courier 10"). To display a halfwidth and a fullwidth character correctly, use 'Monospace' font with the --font option. To change the smaller size of font in landscape mode, specify the size of font with the --font option. For example, the following command will display similar output with mp of portrait and landscape mode in Japanese locale.

$ paps --font 'Monospace 11'
$ paps --font 'Monospace 8' --columns=2 --landscape

For more information, see the paps(1) man page.