Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
PostScript Printer Description
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox file format | name = PostScript Printer Description | icon = | logo = | screenshot = | caption = | extension = .ppd | mime = text/plain, application/vnd.cups-ppd | type code = | uniform type = | magic = <nowiki>*</nowiki>PPD-Adobe | owner = [[Adobe Systems]] | genre = | container for = | contained by = | extended from = | extended to = | standard = }} '''PostScript Printer Description''' ('''PPD''') files are created by vendors to describe the entire set of features and capabilities available for their [[PostScript]] printers. 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: <syntaxhighlight lang="postscript"> *% ================================= *% Basic Device Capabilities *% ================================= *LanguageLevel: "2" *ColorDevice: True *DefaultColorSpace: CMYK *TTRasterizer: Type42 *FileSystem: False *Throughput: "10" </syntaxhighlight> 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.<ref>PostScript Language Reference Manual Chapter 6.1 Using Page Devices page 393.</ref> == 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 <code>/usr/share/ppd/</code> or <code>/usr/share/cups/model/</code>. <pre> /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 </pre> == 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 <code>%WINDIR%\system32\spool\drivers\w32x86\3</code> on an x86 system, or <code>%WINDIR%\System32\spool\drivers\x64\3</code> on a 64 bit system. Updating a PPD file requires four steps: # stop the spooling service; # edit the existing PPD file in place or replace it by an updated version; # remove the old BPD file; # 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.<ref>IANA: https://www.iana.org/assignments/media-types/application/vnd.cups-ppd</ref> ==References== <references/> == External links == * [https://web.archive.org/web/20160901200541/http://partners.adobe.com/public/developer/ps/index_specs.html Adobe PostScript Language Specifications] ** [https://web.mit.edu/PostScript/Adobe/Documents/5003.PPD_Spec_v4.3.pdf Adobe Tech Note 5003: PostScript Printer Description (PPD) File Format Specification, hosted on MIT] ** [https://web.mit.edu/PostScript/Adobe/Documents/5645.PPD_Update.pdf Adobe Tech Note 5645: Update to PPD Specification Version 4.3, hosted on MIT] {{DEFAULTSORT:Postscript Printer Description}} [[Category:Computer file formats]] [[Category:PostScript]] {{business-software-stub}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Business-software-stub
(
edit
)
Template:Infobox file format
(
edit
)