Skip to content

Attribute Mapping with IPP


The attributes for printing (for example, copies or duplex) can come from various sources: the document itself (only PostScript documents), a specific seal-attributes-v2 tag inside the IPP request and standard IPP attributes.

In the printer configuration templates, the available attributes are merged with general seal-attributes-v2 and document parameters.

Hint - old naming convention

The former name of the seal-attributes-v2 is seal-attributes. Values declared via seal-attributes will still be utilized but on a lower priority than seal-attributes-v2.


Priorities

The following list shows the mapping of some standard IPP attributes and their priority:

PLOSSYS 5 Attribute Merge Highest Prio (Document) Merge Second Prio (seal-attributes-v2) Merge Lowest Prio (Standard IPP)
jobName PLS_PLOTID, JOBNAME PLS_PLOTID job-name
fileName document-name
printerName PLS_PLOTTER SAP_OMS_S_DEVICE, PLS_PLOTTER job-printer-uri
userName PLS_USERNAME PLS_USERNAME requesting-user-name
copies PLS_PLOTCOPY WIN_INF_COPIES, SAP_OMS_S_COPIES, PLS_PLOTCOPY copies
scaleFactor scaleFactor, PLS_PLOTSCALE (float)
mediaSize mediaSize, PLS_PLOTSCALE (string)
scaleMode scaleMode, PLS_SCALETYPE

PLOSSYS Job Parameter Documentation

For a detailed description of all available job parameters, refer to the PLOSSYS Job Parameter documentation.

--

Native IPP Parameter

You can also send native IPP parameters.

Beide IPP Attribute zusammen beschreiben den Skalierungstyp. Das Attribut print-scaling wird in der Attributgruppe job-attributes-tag übergeben, das Attribut ipp-attribute-fidelity wird in der Attributegruppe operation-attributes-tag übergeben.

Die IPP Werten werden folgendermaßen gemappt:

print-scaling ipp-attribute-fidelity P5 scaleMode
fit nicht verwendet fillFit
fill nicht verwendet fill
none nicht verwendet clip
auto true fillFit
auto false fitPrintArea
auto-fit true fillFit
auto-fit false fitMediaSize

media

Dieser Parameter enthält den Namen des Zielformats, es wird in der Attributgruppe job-attributes-tag übergeben.

Der originale Wert aus media wird immer in job.orig.mediaSize gespeichert, der für PLOSSYS 5 gemappte Wert in job.current.mediaSize. PLOSSYS 5 mappt nur ausgesuchte Formatnamen, bei allen davon abweichenden Formatnamen wird mediaSize auf den Default gesetzt.

Mapping IPP media zu P5 mediaSize:

IPP media P5 mediaSize
na-letter, letter, a, engineering-a, na_letter_8.5x11in ANSI_A
na-legal, legal, na_legal_8.5x14in Legal
tabloid, ledger, b, engineering-b, na_ledger_11x17in ANSI_B
c, engineering-c, na_c_17x22in ANSI_C
d, engineering-d, na_d_22x34in ANSI_D
e, engineering-e, na_e_34x44in ANSI_E
iso-a6, a6, iso_a6_105x148mm DIN_A6
iso-a5, a5, iso_a5_148x210mm DIN_A5
iso-a4, a4, iso_a4_210x297mm DIN_A4
iso-a3, a3, iso_a3_297x420mm DIN_A3
iso-a2, a2, iso_a2_420x594mm DIN_A2
iso-a1, a1, iso_a1_594x841mm DIN_A1
iso-a0, a0, iso_a0_841x1189mm DIN_A0

Send Job Attributes with IPP

PLOSSSYS 4 and PLOSSYS 5 specific job parameters for scale and rotate are specified in the IPP attribute seal-attributes-v2 of the attribute group operation-attributes-tag. The IPP attribute seal-attributes-v2 is an array of strings. Each string contains a key in its value in the syntax <Key>=<Value>.

Example

    ['scaleFactor=2.0', 'mediaSize=AUTO', 'scaleMode=fitPrintArea']

IPP specific job parameters are specified in the "operation-attributes" and "job-template" attribute groups.

Literature

For more information, refer to the Attribute Mapping with IPP and the use case description on how to Send a Native Job.


Back to top