PostScript Printer Description

Last updated
PostScript Printer Description
Filename extension
.ppd
Internet media type
text/plain, application/vnd.cups-ppd
Magic number *PPD-Adobe
Developed by Adobe Systems

PostScript Printer Description (PPD) files are created by vendors to describe the entire set of features and capabilities available for their PostScript printers.

Contents

A PPD also contains the PostScript code (commands) used to invoke features for the print job. As such, PPDs function as drivers for all PostScript printers, by providing a unified interface for the printer's capabilities and features. For example, a generic PPD file for all models of HP Color LaserJet contains:

*% =================================*% Basic Device Capabilities*% =================================*LanguageLevel:"2"*ColorDevice:True*DefaultColorSpace:CMYK*TTRasterizer:Type42*FileSystem:False*Throughput:"10"

which specifies that the printer understands PostScript Level 2, is a color device, and so forth. The PPD can describe allowable paper sizes, memory configurations, the minimum font set for the printer, and even specify a tree-based user interface for printer-specific configuration.

A PPD is also often called PostScript Page Description instead of Printer Description, this is because PostScript has the concept of Page Devices where the PostScript page description configuration is read from or saved as a PPD file. [1]

CUPS

CUPS uses PPD drivers for all of its PostScript printers, and has even extended the concept to allow for PostScript printing to non-PostScript printing devices, by directing output through a CUPS filter. Such a file is no longer a standard PPD, but rather a "CUPS-PPD". CUPS clients usually read the current PPD file from the server every time a new print job is created. It is located in /usr/share/ppd/ or /usr/share/cups/model/.

/usr/share/ppd ├── cupsfilters │   ├── Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd │   ├── Generic-PDF_Printer-PDF.ppd │   ├── HP-Color_LaserJet_CM3530_MFP-PDF.ppd │   ├── pxlcolor.ppd │   ├── pxlmono.ppd │   └── Ricoh-PDF_Printer-PDF.ppd ├── cups-pdf │   ├── CUPS-PDF_noopt.ppd │   └── CUPS-PDF_opt.ppd └── custom 

Windows

Microsoft Windows also uses PPD files but converts these to a binary .BPD file format before using them. These, both PPD and BPD, are normally stored in %WINDIR%\system32\spool\drivers\w32x86\3 on an x86 system, or %WINDIR%\System32\spool\drivers\x64\3 on a 64 bit system.

Updating a PPD file requires four steps:

  1. stop the spooling service;
  2. edit the existing PPD file in place or replace it by an updated version;
  3. remove the old BPD file;
  4. restart the spooling service.

This will automatically generate a new BPD from the updated PPD.

MIME type

The MIME type for the CUPS variant of PPD is application/vnd.cups-ppd. [2]

Related Research Articles

<span class="mw-page-title-main">PDF</span> Portable Document Format, a digital file format

Portable Document Format (PDF), standardized as ISO 32000, is a file format developed by Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating systems. Based on the PostScript language, each PDF file encapsulates a complete description of a fixed-layout flat document, including the text, fonts, vector graphics, raster images and other information needed to display it. PDF has its roots in "The Camelot Project" initiated by Adobe co-founder John Warnock in 1991. PDF was standardized as ISO 32000 in 2008. The last edition as ISO 32000-2:2020 was published in December 2020.

<span class="mw-page-title-main">PostScript</span> File format and programming language

PostScript is a page description language and dynamically typed, stack-based programming language. It is most commonly used in the electronic publishing and desktop publishing realm, but as a Turing complete programming language, it can be used for many other purposes as well. PostScript was created at Adobe Systems by John Warnock, Charles Geschke, Doug Brotz, Ed Taft and Bill Paxton from 1982 to 1984. The most recent version, PostScript 3, was released in 1997.

In digital printing, a page description language (PDL) is a computer language that describes the appearance of a printed page in a higher level than an actual output bitmap. An overlapping term is printer control language, which includes Hewlett-Packard's Printer Command Language (PCL). PostScript is one of the most noted page description languages. The markup language adaptation of the PDL is the page description markup language.

A page printer is a computer printer which processes and prints a whole page at a time, as opposed to printers which print one line or character at a time such as line printers and dot-matrix printers. Page printers are often all incorrectly termed “laser printers”—although virtually all laser printers are page printers, other page printing technologies also exist.

<span class="mw-page-title-main">LaserWriter</span> Laser printer by Apple

The LaserWriter is a laser printer with built-in PostScript interpreter sold by Apple, Inc. from 1985 to 1988. It was one of the first laser printers available to the mass market. In combination with WYSIWYG publishing software like PageMaker, that operated on top of the graphical user interface of Macintosh computers, the LaserWriter was a key component at the beginning of the desktop publishing revolution.

Encapsulated PostScript (EPS) is a Document Structuring Convention (DSC) conforming PostScript document format usable as a graphics file format. The format was developed as early as 1987 by John Warnock and Chuck Geschke, the founders of Adobe, together with Aldus. The basis of early versions of the Adobe Illustrator Artwork file format is formed by EPS together with the DSC Open Structuring Conventions.

<span class="mw-page-title-main">CUPS</span> Computer printing system

CUPS is a modular printing system for Unix-like computer operating systems which allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer.

In computers, a printer driver or a print processor is a piece of software on a computer that converts the data to be printed to a format that a printer can understand. The purpose of printer drivers is to allow applications to do printing without being aware of the technical details of each printer model.

Document Structuring Conventions, or DSC, is a set of standards for PostScript, based on the use of comments, that specifies a way to structure a PostScript file and a way to expose that structure in a machine-readable way. A PostScript file that conforms to DSC is called a conforming document.

Advanced Function Presentation (AFP) is a presentation architecture and family of associated printer software and hardware that provides for document and information presentation independent of specific applications and devices.

Gutenprint is a collection of free-software printer drivers for use with UNIX spooling systems, such as CUPS, LPR, and LPRng. These drivers provide printing services for Unix-like systems, RISC OS and Haiku.

Open XML Paper Specification is an open specification for a page description language and a fixed-document format. Microsoft developed it as the XML Paper Specification (XPS). In June 2009, Ecma International adopted it as international standard ECMA-388.

Intelligent Printer Data Stream (IPDS) is Info Print Solution Company's Systems Application Architecture host-to-printer data stream for Advanced Function Presentation subsystems. It provides an attachment-independent interface for controlling and managing all point addressable (APA) printers that allow the presentation of pages containing an architecturally unlimited mixture of different data types, including text, image, graphics, bar code, and object container. It is used by a variety of Info Print and OEM print servers that drive all points addressable (APA) page printers. Generally, these printers are at the medium to the high end of the print speed and volume spectrum.

UniDrv is a GDI-based Microsoft Windows universal printer driver and architecture for non-PostScript printers. It is used to simplify driver development of non-PostScript printers for printer manufacturers. Unidrv allows the creation of a printer-specific minidriver in the form of a GPD file, similar to a PPD file, which is much simpler than kernel mode driver development. Unidrv was introduced in Windows 2000 and replaced the Raster Device Driver (RASDD) interface used in Windows NT 4.0 and earlier versions.

In printing, Preflight is the process of confirming that the digital files required for the printing process are all present, valid, correctly formatted, and of the desired type. The basic idea is to prepare the files to make them feasible for the correct process such as offset printing and eliminate costly errors and facilitate a smooth production. It is a standard prepress procedure in the printing industry. The term originates from the preflight checklists used by pilots. The term was first used in a presentation at the Color Connections conference in 1990 by consultant Chuck Weger, and Professor Ron Bertolina was a pioneer for solutions to preflighting in the 1990s.

<span class="mw-page-title-main">Adobe Distiller</span> Software application

Adobe Acrobat Distiller is a software application for converting documents from PostScript format to Adobe PDF, the native format of the Adobe Acrobat family of products. It was first shipped as a component of Acrobat in 1993. Acrobat 4, in 1999, added preset configuration files to Distiller, and Acrobat 5, in 2001, added improved color management. Originally a separate application, Distiller eventually became incorporated into a printer driver for creating PDF files that preserved the printed appearance of documents from other applications.

<span class="mw-page-title-main">Foomatic</span>

Foomatic is a configurable printing filter. It uses PPD files as configuration to generate appropriate output for a given printer. It is spooler independent which means it can be used with Common Unix Printing System (CUPS), LPRng and others. It uses Ghostscript in the background, using options according to the PPD file of the printer. Currently it is developed by the OpenPrinting workgroup of the Linux Foundation.

Windows Vista has many significant new features compared with previous Microsoft Windows versions, covering most aspects of the operating system.

PostScript fonts are font files encoded in outline font specifications developed by Adobe Systems for professional digital typesetting. This system uses PostScript file format to encode font information.

HP Universal Print Driver (UPD) is an intelligent print driver that supports a broad range of HP print devices, such as LaserJet and various MFPs. Developed by Hewlett-Packard, HP UPD combines a general purpose driver (XPSDrv, UniDrv, or PSCRIPT), print control, and HP proprietary extensions. The HP UPD simplifies driver deployment and management across multiple devices and networks via a unified program. This advanced print driver has the ability to discover HP print devices and automatically expose the client to device capabilities (e.g., duplex, color, finishing, etc.).

References

  1. PostScript Language Reference Manual Chapter 6.1 Using Page Devices page 393.
  2. IANA: https://www.iana.org/assignments/media-types/application/vnd.cups-ppd