PPD Files¶
PPD files are PostScript Printer Description files that describe the capabilities for a PostScript printer.
Example - PPD file: large-a1-a0.ppd
# Output Engine PPD file for large format printing
[Global]
# List of available page sizes / formats for mediaSize AUTO
PageSize=ROLL_ISO_A1 ROLL_ISO_A0
# Non-printable margins for each page (left bottom right top)
# These are the defaults for all formats.
# See the example at the end for format specific margins.
PageMargins=4.5 4.5 4.5 4.5 mm
# Sizes are mentioned multiple times with different names
# to allow these names for scaling
# Extra lines for non-roll formats allow scaling to these formats
# Note that non-roll formats must be oriented correctly for the
# rolls they should be placed on!
ROLL_ISO_A4=210 0 mm
ROLL_A4=210 0 mm
ISO_A4=297 210 mm
DIN_A4=297 210 mm
A4=297 210 mm
ROLL_ISO_A3=297 0 mm
ROLL_A3=297 0 mm
ISO_A3=420 297 mm
DIN_A3=420 297 mm
A3=420 297 mm
ROLL_ISO_A2=420 0 mm
ROLL_A2=420 0 mm
ISO_A2=594 420 mm
DIN_A2=594 420 mm
A2=594 420 mm
ROLL_ISO_A1=594 0 mm
ROLL_A1=594 0 mm
ISO_A1=594 841 mm
DIN_A1=594 841 mm
A1=594 841 mm
ROLL_ISO_A0=841 0 mm
ROLL_A0=841 0 mm
ISO_A0=841 1189 mm
DIN_A0=841 1189 mm
A0=841 1189 mm
ROLL_INCH_18=457.2 0 mm
ROLL_ARCH_C=457.2 0 mm
ZOLL18=457.2 0 mm
ARCH_C=609.6 457.2 mm
ROLL_INCH_24=609.6 0 mm
ROLL_ARCH_D=609.6 0 mm
ZOLL24=609.6 0 mm
ARCH_D=609.6 914.4 mm
ROLL_INCH_30=762 0 mm
ZOLL30=762 0 mm
ROLL_INCH_36=914.4 0 mm
ROLL_ARCH_E=914.4 0 mm
ZOLL36=914.4 0 mm
ARCH_E=914.4 1219.2 mm
ROLL_INCH_42=1066.8 0 mm
ZOLL42=1066.8 0 mm
# Example for an A3 roll with larger margins
# ROLL_ISO_A3=297 0 mm margins 5 5 5 5 mm
Directories¶
- preconfigured PPD files can be found at
%PLSSV%/edc/templates/ppd - custom PPD files have to be stored at
%SEAL_CUSTOMDIR%/server/edc/templates/ppd
List of Preconfigured PPD Files¶
easyPRIMA
1.10.0 provides 22 preconfigured PPD files.
- large-18-24.pdd
- large-24.ppd
- large-24-36.ppd
- large-36.ppd
- large-a0.ppd
- large-a1.ppd
- large-a1-a0.ppd
- large-a2-a0.ppd
- large-a2-a1-a0.ppd
- large-a3-a2-a1-a0.ppd
- large-a3-a2-a1-a0-36.ppd
- large-isoarch-all.ppd
- large-rowe-a3-a2-a1-a0.ppd
- large-traya4-a3-a2-a1-a0.ppd
- small-a4.ppd
- small-a4-a3.ppd
- small-a5-a4.ppd
- small-a5-a4-a3.ppd
- small-isoansi-all.ppd
- small-letter.ppd
- small-letter-legal-tabloid.ppd
- small-letter-tabloid.ppd
Literature - easyPRIMA documentation
For more information, refer to the easyPRIMA documentation.
Custom PPD Files¶
Customer specific PPD files are to be stored at %SEAL_CUSTOMDIR%/server/edc/templates/ppd.
Every preconfigured PPD file contains the specifications of the standard formats at its end. If a combination of available formats is not included in the list of preconfigured files, you can create your own.
-
Copy one of the provided
PPDfiles from%PLSSV%/edc/templates/ppd%to the customer directory at%SEAL_CUSTOMDIR%/server/edc/templates/ppd. -
Open the file and edit the
PageSizeentry:[Global] # List of available page sizes / formats for mediaSize AUTO PageSize=ROLL_ISO_A1 ROLL_ISO_A0 -
Save the file and change its name accordingly.
Hint - import via PLOSSYS CLI
You can also import a PPD file via PLOSSYS CLI, refer to plossys printer-config import. By default, the file name is used as name of the configuration. Specify this name in the ppd printer key.
Formats for IPP Clients¶
As of PLOSSYS Output Engine 7.5.0, the seal-ipp-checkin service reports the formats of the PPD file to IPP clients, for example to the Windows IPP Class Driver, see Driverless Windows Printing. The formats are mapped to IPP media names according to the PWG Media Standardized Names.
- The first format of the
PageSizeentry is the default format. - The
PageMarginsentry specifies the default margins. Format specific margins overwrite them. - If a format is defined multiple times under different names, it is reported only once.
- If no PPD file is specified for the printer,
ISO_A4andLetterare reported with margins of 4.5 mm.ISO_A4is the default format.
Fixed Formats¶
| PPD Format Names | Size (mm) | IPP Media Name |
|---|---|---|
ISO_A6, DIN_A6, A6 |
105 × 148 | iso_a6_105x148mm |
ISO_A5, DIN_A5, A5 |
148 × 210 | iso_a5_148x210mm |
ISO_A4, DIN_A4, A4 |
210 × 297 | iso_a4_210x297mm |
ANSI_A, Letter |
215.9 × 279.4 | na_letter_8.5x11in |
Legal |
215.9 × 355.6 | na_legal_8.5x14in |
ISO_A3, DIN_A3, A3 |
297 × 420 | iso_a3_297x420mm |
ANSI_B, Ledger |
279.4 × 431.8 | na_ledger_11x17in |
Tabloid |
279.4 × 431.8 | na_tabloid_11x17in |
ARCH_B |
304.8 × 457.2 | na_arch-b_12x18in |
ISO_A2, DIN_A2, A2 |
420 × 594 | iso_a2_420x594mm |
ISO_A1, DIN_A1, A1 |
594 × 841 | iso_a1_594x841mm |
ISO_A0, DIN_A0, A0 |
841 × 1189 | iso_a0_841x1189mm |
ARCH_C |
457.2 × 609.6 | na_arch-c_18x24in |
ARCH_D |
609.6 × 914.4 | na_arch-d_24x36in |
ARCH_E |
914.4 × 1219.2 | na_arch-e_36x48in |
Landscape formats in the PPD file are reported in portrait orientation.
Roll Formats¶
A format with a length of 0 in the PPD file is a roll format. Windows does not support roll formats. Therefore, roll formats are reported with a fixed length. The length is specified by the environment key ROLL_FORMAT_LENGTH or the printer key rollFormatLength. The default is 3250 millimeters.
The IPP media name has the format roll_<name>_<width>x<length>mm. <name> is the PPD format name without the ROLL prefix, in lower case and with hyphens instead of underscores.
| PPD Format Names | Width (mm) | IPP Media Name with Default Length |
|---|---|---|
ROLL_ISO_A4, ROLL_A4 |
210 | roll_iso-a4_210x3250mm |
ROLL_ISO_A3, ROLL_A3 |
297 | roll_iso-a3_297x3250mm |
ROLL_ISO_A2, ROLL_A2 |
420 | roll_iso-a2_420x3250mm |
ROLL_ISO_A1, ROLL_A1 |
594 | roll_iso-a1_594x3250mm |
ROLL_ISO_A0, ROLL_A0 |
841 | roll_iso-a0_841x3250mm |
ROLL_INCH_18, ROLL_ARCH_C, ZOLL18 |
457.2 | roll_inch-18_457.2x3250mm |
ROLL_INCH_24, ROLL_ARCH_D, ZOLL24 |
609.6 | roll_inch-24_609.6x3250mm |
ROLL_INCH_30, ZOLL30 |
762 | roll_inch-30_762x3250mm |
ROLL_INCH_36, ROLL_ARCH_E, ZOLL36 |
914.4 | roll_inch-36_914.4x3250mm |
ROLL_INCH_42, ZOLL42 |
1066.8 | roll_inch-42_1066.8x3250mm |
Custom Formats¶
PPD format names with the prefix custom_ are reported unchanged as IPP media names. Use them for customer specific formats. The name has to follow the format custom_<name>_<width>x<length>mm. <name> may only contain letters, digits, hyphens, and periods. In addition, specify the size as value. The length must not exceed 3250 millimeters, the maximum length the Windows print dialogue can process.
Example - custom format in a PPD file
custom_spine_20x297mm=20 297 mm