Universal Print queue with custom print attributes - spooler v3

Spooler in server mode can use IPP attributes to be used by other services, such as YSoft SafeQ Universal Print Connector. Users are then presented with specific print driver options.


References:


Spooler v3 Configuration

Compiling the spooler v3 configuration file <install_dir>\Spooler\versions\6.0.48.2\configuration\printer.json


Spooler service restart is required to apply changes.

When used with Universal Print, you need to re-share the print queue to apply changes.

IPP attribute name

config name

Available values

Example

print-color-mode-default

PrintColorModeDefault

One of PrintColorModeSupported

"PrintColorModeDefault": "monochrome"

print-color-mode-supported

PrintColorModeSupported

  • auto

  • auto-monochrome

  • monochrome

  • color

"PrintColorModeSupported": [
"auto",
"auto-monochrome",
"monochrome",
"color"
]

finishings-default

FinishingsDefault

One of FinishingsSupported

"FinishingsDefault": 7

finishings-supported

FinishingsSupported

  • 3 - none

  • 4 - staple

  • 5 - punch

  • 6 - cover

  • 7 - bind

  • 8 - saddle-stitch

  • 9 - edge-stitch

  • 20 - staple-top-left

  • 21 - staple-bottom-left

  • 22 - staple-top-right

  • 23 - staple-bottom-right

  • 24 - edge-stitch-left

"FinishingsSupported": [
4,
5,
7
]

multiple-document-handling-supported

MultipleDocumentHandlingSupported

  • separate-documents-uncollated-copies

  • separate-documents-collated-copies


Cannot see it in MS docs - https://docs.microsoft.com/en-us/universal-print/fundamentals/universal-print-connector-getting-print-options

"MultipleDocumentHandlingSupported": [
"separate-documents-uncollated-copies",
"separate-documents-collated-copies"
]

sides-default

SidesDefault

One of SidesSupported

"SidesDefault": "two-sided-long-edge"

sides-supported

SidesSupported

  • one-sided

  • two-sided-long-edge

  • two-sided-short-edge

"SidesSupported": [
"one-sided",
"two-sided-long-edge",
"two-sided-short-edge"
]

media-source-supported

MediaSourceSupported

  • auto

  • tray-1

  • tray-2

"MediaSourceSupported": [
"auto",
"tray-1",
"tray-2"
]

media-default

MediaDefault



media-supported

MediaSupported



media-col-default

MediaColDefault



media-col-database

MediaColDatabase



media-col-supported

MediaColSupported



media-ready

MediaReady

  • iso_a4_210x297mm

  • iso_a3_297x420mm

  • na_letter_8.5x11in

  • iso_a0_841x1189mm

  • iso_a1_594x841mm

  • iso_a2_420x594mm

  • iso_a5_148x210mm

  • iso_a6_105x148mm

  • iso_a7_74x105mm

  • iso_a8_52x74mm

  • iso_a9_37x52mm

  • iso_a10_26x37mm

  • iso_b0_1000x1414mm

  • iso_b1_707x1000mm

  • iso_b2_500x707mm

  • iso_b3_353x500mm

  • iso_b4_250x353mm

  • iso_b5_176x250mm

  • iso_b6_125x176mm

  • iso_b7_88x125mm

  • iso_b8_62x88mm

  • iso_b9_44x62mm

  • iso_b10_31x44mm

  • iso_c0_917x1297mm

  • iso_c1_648x917mm

  • iso_c2_458x648mm

  • iso_c3_324x458mm

  • iso_c4_229x324mm

  • iso_c5_162x229mm

  • iso_c6_114x162mm

  • iso_c7_81x114mm

  • iso_c8_57x81mm

  • iso_c9_40x57mm

  • iso_c10_28x40mm

"MediaReady": [
"iso_a4_210x297mm",
"iso_a3_297x420mm",
"na_letter_8.5x11in",
"iso_a0_841x1189mm",
"iso_a1_594x841mm",
"iso_a2_420x594mm",
"iso_a5_148x210mm",
"iso_a6_105x148mm",
"iso_a7_74x105mm",
"iso_a8_52x74mm"
]

How to Test


Use ipptool to get values from the spooler v3:

.\ipptool.exe -v -t ipp://10.0.124.215:631/ipp/printer .\examples\get-printer-attributes.test



Example

A complete example of <install_dir>\Spooler\versions\6.0.48.2\configuration\printer.json

{
"Printer": {
"PrintColorModeDefault": "monochrome",
"PrintColorModeSupported": [
"auto",
"auto-monochrome",
"monochrome",
"color"
],
"FinishingsDefault": 7,
"FinishingsSupported": [
4,
5,
7
],
"MultipleDocumentHandlingSupported": [
"separate-documents-uncollated-copies",
"separate-documents-collated-copies"
],
"SidesDefault": "two-sided-long-edge",
"SidesSupported": [
"one-sided",
"two-sided-long-edge",
"two-sided-short-edge"
],
"MediaSourceSupported": [
"auto",
"tray-1",
"tray-2"
],
"MediaReady": [
"iso_a4_210x297mm",
"iso_a3_297x420mm",
"na_letter_8.5x11in",
"iso_a0_841x1189mm",
"iso_a1_594x841mm",
"iso_a2_420x594mm",
"iso_a5_148x210mm",
"iso_a6_105x148mm",
"iso_a7_74x105mm",
"iso_a8_52x74mm"
]

}
}



images/download/attachments/252591986/image2020-9-30_14-31-19.png images/download/attachments/252591986/image2020-9-30_14-31-41.png