Skip to contentSkip to conversation

PostScript printers without PPD files?

Printing-architecture Till Kamppeter 3 participants 5 messages Jul 27, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

I am currently working on making cups-filters easily usable in Printer Applications, meaning that I want to move the core functionality of the filters as functions into libcupsfilters and add also functions which call a user-defined chain of filters and can be dropped as a filter into a PAPPL-based Printer Application. This way I want to make use of this code base which came together in many years also in Printer Applications and to avoid any re-invention of the wheel.

This also eases the retro-fit of classic drivers as cups-filters provides a lot of useful functionality here.

Now, working on a way to retro-fit PostScript PPDs to make all classic PostScript printers working, and with the deprecation of PPD files in CUPS came up a question:

Will PostScript printers always come with PPD files? Or will there be in the future non-IPP-driverless PostScript printers without PPD files? Will there be PostScript printers in the future at all?

Would it make sense for Printer Applications to have a Something-to-PostScript filter which can be optionally built without PPD support at all? This filter being used by PostScript Printer manufacturers for their printers in the future?

Till

#1 lore raw

Till,

Quoted 3 lines · Till Kamppeter

...
Will PostScript printers always come with PPD files? Or will there be in the future non-IPP-driverless PostScript printers without PPD files? Will there be PostScript printers in the future at all?

PostScript is dead, long live PDF...

Seriously, PostScript (and PCL) are provided for legacy enterprise application support but PDF and Apple/PWG Raster/PCLm are the formats-de-jour of the current network printing standards, even for Microsoft now that they have gone whole-hog for Mopria-based "universal" printing.

Quoted 1 line

Would it make sense for Printer Applications to have a Something-to-PostScript filter which can be optionally built without PPD support at all? This filter being used by PostScript Printer manufacturers for their printers in the future?

I think it makes sense to have a generic Level 2 PostScript printer PPD (as macOS has shipped for almost 20 years and as CUPS has had for almost as long) that covers the standard Letter/Legal/Tabloid, A4/A3, and Env10/EnvDL office printer sizes. You could also have a generic Level 3 PPD (not that the current filters do all that much different for Level 3), and it is possible to query a PS printer for the list of supported paper sizes, color support, duplexer, etc. so that a PPD file can be generated in the absence of a product-specific PPD.

________________________
Michael Sweet

#2 lore raw
Quoted 4 lines · Michael Sweet

PostScript is dead, long live PDF...

Seriously, PostScript (and PCL) are provided for legacy enterprise application support but PDF and Apple/PWG Raster/PCLm are the formats-de-jour of the current network printing standards, even for Microsoft now that they have gone whole-hog for Mopria-based "universal" printing.

Great, so PostScript is retro-fit-only, I can simply add the filter function to libppd then.

Quoted 1 line

I think it makes sense to have a generic Level 2 PostScript printer PPD (as macOS has shipped for almost 20 years and as CUPS has had for almost as long) that covers the standard Letter/Legal/Tabloid, A4/A3, and Env10/EnvDL office printer sizes. You could also have a generic Level 3 PPD (not that the current filters do all that much different for Level 3), and it is possible to query a PS printer for the list of supported paper sizes, color support, duplexer, etc. so that a PPD file can be generated in the absence of a product-specific PPD.

Yes, the "Generic PostScript Printer" PPDs from CUPS I had put into the PostScript Printer Application anyway. I am also planning to grab the code of CUPS' commandtops filter for querying PostScript printers for default settings (I had put a lot of love into this filter years ago to make it actually working, and made system-config-printer using it).

Is there already some free software code to query an arbitrary, non-IPP PostScript printer so that one can create a PPD for it?

Till

#3 lore raw

Till,

Quoted 3 lines · Till Kamppeter

...
Is there already some free software code to query an arbitrary, non-IPP PostScript printer so that one can create a PPD for it?

Not that I'm aware of, but you can look at the generic PostScript PPD for inspiration on the commands you'd send.

________________________
Michael Sweet

#4 lore raw

Hi,

You could use a generic PostScript PPD and that may allow you to print with basic functionality to the printer.

Henri

Quoted 19 lines · Michael Sweet

Till,

Quoted 3 lines · Till Kamppeter

...
Is there already some free software code to query an arbitrary, non-IPP PostScript printer so that one can create a PPD for it?

Not that I'm aware of, but you can look at the generic PostScript PPD for inspiration on the commands you'd send.

________________________
Michael Sweet

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture