Table of Contents
Vendor specific PPD option keywords are generally not mapped to IPP attributes by CUPS. That's why we do not get IPP attributes for finishings (staple, punch, fold, booklet) or collating delivered, when we ask CUPS for an IPP printer description.
To bridge this gap we built our own mapping by means of a so-called PPD Extension
.ppde
file. With this mapping we are able to identify printer
capabilities based on IPP and feed CUPS the vendor specific PPD options as IPP
attributes when sending a print job. When printing, these IPP disguised PPD options are
neatly applied by CUPS in the context of the PPD driver, so the right PostScript / PCL
snippets are injected in the spool file.
PPD Extension files reside in the
/opt/savapage/server/custom/cups/
directory. An annotated
type-model-version.ppde.template
file is installed there for
your convenience. The .ppde
file can be linked to a Proxy Printer.
See Section 4.8.2, “Edit Proxy Printer”. When linked, the mapped PPD
options will appear in the Printer
Settings Dialog.
When the content of a PPD Extension File, assigned to any Proxy Printer, is changed, you must Synchronize the Proxy Printers to take those changes into effect.
PPD Extensions is an advanced feature. Please consult your SavaPage Community Representative before implementing.
The PPDE file holds mappings of original PPD file options to their IPP attribute and values counterparts. Mapped IPP attributes and values can either be IANA registered, or Internal SavaPage Extensions. This is the syntax:
*VENOption IppAttribute *VENOption *VENOptionValue-1 IppValue-1 ... *VENOption *VENOptionValue-n IppValue-n
| |
Note
|
IANA IPP attributes available for mapping are presented in the sections below.
*VENMedia media *VENMedia VENA3 iso_a3_297x420mm *VENMedia *VENA4 iso_a4_210x297mm *VENMedia VENA5 iso_a5_148x210mm *VENMedia VENA6 iso_a6_105x148mm # ...
*VENMediaSource media-source *VENMediaSource *VENAuto auto *VENMediaSource VENMain main *VENMediaSource VENTop top *VENMediaSource VENMiddle middle *VENMediaSource VENBottom bottom *VENMediaSource VENBypassTray by-pass-tray *VENMediaSource VENManual manual *VENMediaSource VENTray1 tray-1 # tray-2 ... tray-10
*VENMediaType media-type *VENMediaType *VENPaper paper *VENMediaType VENTransparency transparency *VENMediaType VENLabels labels *VENMediaType VENLetterhead letterhead
*VENOutputBin output-bin *VENOutputBin *VENAuto auto *VENOutputBin VENBottom bottom *VENOutputBin VENCenter center *VENOutputBin VENTop top *VENOutputBin VENFaceDown face-down *VENOutputBin VENFaceUp face-up *VENOutputBin VENLargeCap large-capacity *VENOutputBin VENLeft left *VENOutputBin VENMiddle middle *VENOutputBin VENRear rear *VENOutputBin VENSide side *VENOutputBin VENStacker1 stacker-1 # stacker-2 ... stacker-5 *VENOutputBin VENTray1 tray-1 # tray-2 ... tray-5
*VENPrintColorMode print-color-mode *VENPrintColorMode *VENMonochrome monochrome *VENPrintColorMode VENColor color
*VENPrintScaling print-scaling *VENPrintScaling *VENFit fit *VENPrintScaling VENNone none *VENPrintScaling VENAuto auto
Scale the document to fit the printable area of the requested media size, preserving the aspect ratio of the document data without cropping the document. | |
Do not scale the document to fit the requested media size. If the document is larger than the requested media, center and clip the resulting output. If the document is smaller than the requested media, center the resulting output. | |
Value |
See Section 3.5.2.1, “Page Scaling”.
If CUPS does not provide the IPP print-scaling
option for a printer, SavaPage falls back to the CUPS fit-to-page
boolean attribute to
scale documents. Value 1
(true) scales the
document up or down to fit the selected media. Value
0
(false) preserves the physical size of the
printed document and crops any content outside the selected media.
*VENCollate sheet-collate *VENCollate *VENCollated collated *VENCollate VENUncollated uncollated
When sheet-collate
is not mapped, SavaPage
generates a single PDF and applies a one-copy print. The PDF is a
concatenation of the requested number of copies with pages arranged in the
right collate order.
PPD Options can be mapped to Internal IPP Extensions. For example:
*VENStapleOption org.savapage-finishings-staple *VENStapleOption *VENNone 3 *VENStapleOption VENTopLeft 20 *VENStapleOption VENBottomLeft 21
| |
| |
| |
|
Standard CUPS/IPP options, like number-up
, are independent
of PPD, and available for all printers types. The values of these options can be
restricted with PPDE syntax. Below are examples for options currently supported
by SavaPage.