|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
<html>
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
<head>
|
|
Packit |
2fc92b |
<link rel="stylesheet" type="text/css" href="../cups-printable.css">
|
|
Packit |
2fc92b |
<title>ppdcfile(5)</title>
|
|
Packit |
2fc92b |
</head>
|
|
Packit |
2fc92b |
<body>
|
|
Packit |
2fc92b |
ppdcfile(5)
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
ppdcfile - cups ppd compiler source file format
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
The CUPS PPD compiler reads meta files that contain descriptions of one or more PPD files to be generated by
|
|
Packit |
2fc92b |
ppdc(1).
|
|
Packit |
2fc92b |
This man page provides a quick reference to the supported keywords and should be used in conjunction with the online help for CUPS.
|
|
Packit |
2fc92b |
The source file format is plain ASCII text that can be edited using your favorite text editor. Comments are supported using the C (/* ... */) and C++ (// ...) comment mechanisms.
|
|
Packit |
2fc92b |
Printer driver information can be grouped and shared using curly braces ({ ... }); PPD files are written when a close brace or end-of-file is seen and a PCFileName directive has been defined.
|
|
Packit |
2fc92b |
Directives may be placed anywhere on a line and are followed by one or more values. The following is a list of the available directives and the values they accept:
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
#define name value
|
|
Packit |
2fc92b |
#elif {name | value}
|
|
Packit |
2fc92b |
#else
|
|
Packit |
2fc92b |
#endif
|
|
Packit |
2fc92b |
#font name encoding "version" charset status
|
|
Packit |
2fc92b |
#if {name | value}
|
|
Packit |
2fc92b |
#include <filename>
|
|
Packit |
2fc92b |
#include "filename"
|
|
Packit |
2fc92b |
#media name width length
|
|
Packit |
2fc92b |
#media "name/text" width length
|
|
Packit |
2fc92b |
#po locale "filename"
|
|
Packit |
2fc92b |
Attribute name "" value
|
|
Packit |
2fc92b |
Attribute name keyword value
|
|
Packit |
2fc92b |
Attribute name "keyword/text" value
|
|
Packit |
2fc92b |
Choice name "code"
|
|
Packit |
2fc92b |
Choice "name/text" "code"
|
|
Packit |
2fc92b |
ColorDevice boolean-value
|
|
Packit |
2fc92b |
ColorModel name colorspace colororder compression
|
|
Packit |
2fc92b |
ColorModel "name/text" colorspace colororder compression
|
|
Packit |
2fc92b |
ColorProfile resolution/mediatype gamma density matrix
|
|
Packit |
2fc92b |
Copyright "text"
|
|
Packit |
2fc92b |
CustomMedia name width length left bottom right top "size-code" "region-code"
|
|
Packit |
2fc92b |
CustomMedia "name/text" width length left bottom right top "size-code" "region-code"
|
|
Packit |
2fc92b |
Cutter boolean-value
|
|
Packit |
2fc92b |
Darkness temperature name
|
|
Packit |
2fc92b |
Darkness temperature "name/text"
|
|
Packit |
2fc92b |
DriverType type
|
|
Packit |
2fc92b |
Duplex type
|
|
Packit |
2fc92b |
Filter mime-type cost program
|
|
Packit |
2fc92b |
Finishing name
|
|
Packit |
2fc92b |
Finishing "name/text"
|
|
Packit |
2fc92b |
Font *
|
|
Packit |
2fc92b |
Font name encoding "version" charset status
|
|
Packit |
2fc92b |
Group name
|
|
Packit |
2fc92b |
Group "name/text"
|
|
Packit |
2fc92b |
HWMargins left bottom right top
|
|
Packit |
2fc92b |
InputSlot position name
|
|
Packit |
2fc92b |
InputSlot position "name/text"
|
|
Packit |
2fc92b |
Installable name
|
|
Packit |
2fc92b |
Installable "name/text"
|
|
Packit |
2fc92b |
LocAttribute name "keyword/text" value
|
|
Packit |
2fc92b |
ManualCopies boolean-value
|
|
Packit |
2fc92b |
Manufacturer "name"
|
|
Packit |
2fc92b |
MaxSize width length
|
|
Packit |
2fc92b |
MediaSize name
|
|
Packit |
2fc92b |
MediaType type name
|
|
Packit |
2fc92b |
MediaType type "name/text"
|
|
Packit |
2fc92b |
MinSize width length
|
|
Packit |
2fc92b |
ModelName "name"
|
|
Packit |
2fc92b |
ModelNumber number
|
|
Packit |
2fc92b |
Option name type section order
|
|
Packit |
2fc92b |
Option "name/text" type section order
|
|
Packit |
2fc92b |
PCFileName "filename.ppd"
|
|
Packit |
2fc92b |
Resolution colorspace bits-per-color row-count row-feed row-step name
|
|
Packit |
2fc92b |
Resolution colorspace bits-per-color row-count row-feed row-step "name/text"
|
|
Packit |
2fc92b |
SimpleColorProfile resolution/mediatype density yellow-density red-density gamma red-adjust green-adjust blue-adjust
|
|
Packit |
2fc92b |
Throughput pages-per-minute
|
|
Packit |
2fc92b |
UIConstraints "*Option1 *Option2"
|
|
Packit |
2fc92b |
UIConstraints "*Option1 Choice1 *Option2"
|
|
Packit |
2fc92b |
UIConstraints "*Option1 *Option2 Choice2"
|
|
Packit |
2fc92b |
UIConstraints "*Option1 Choice1 *Option2 Choice2"
|
|
Packit |
2fc92b |
VariablePaperSize boolean-value
|
|
Packit |
2fc92b |
Version number
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
ppdc(1),
|
|
Packit |
2fc92b |
ppdhtml(1),
|
|
Packit |
2fc92b |
ppdi(1),
|
|
Packit |
2fc92b |
ppdmerge(1),
|
|
Packit |
2fc92b |
ppdpo(1),
|
|
Packit |
2fc92b |
CUPS Online Help (http://localhost:631/help)
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
Copyright © 2007-2017 by Apple Inc.
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
</body>
|
|
Packit |
2fc92b |
</html>
|