Go to main content

International Language Environments Guide for Oracle® Solaris 11.3

Exit Print View

Updated: December 2018
 
 

Printing Enhancement and the mp Utility

In Oracle Solaris 11, the legacy LP print service has been replaced by the Common UNIX Printing System (CUPS).

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, Setting Up and Administering Printers by Using CUPS (Overview) in Configuring and Managing Printing in Oracle Solaris 11.3.

The enhanced mp print filter in Oracle Solaris can print various input file formats including flat text files written in UTF-8. This print filter uses TrueType and Type 1 scalable fonts and X11 bitmap fonts available on Oracle Solaris. The filter can also make use of printer-resident fonts.

The output from the utility is standard PostScript and can be sent to any PostScript printer. The mp utility can also output any page description language. When configured as an X Print server client, mp is supported by the print server.

To use the utility, type the following command:

$ mp filename | lp

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

$ cat filename | mp | lp

The mp utility is available from the print/mp package and depends on select font packages that might not be installed by default. If error messages about missing fonts appear, you can find and install the right package by using the pkg commands.

  • To find the package with the missing font:

    # pkg search -rp TlwgTypist.ttf
    PACKAGE
    pkg:/system/font/truetype/thai-scalable@...
  • To install the missing package:

    # pkg install system/font/truetype/thai-scalable

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