[cups] convert old printcap custom entries to cups help please

Johannes Meixner jsmeix at suse.de
Wed Jun 7 01:46:28 PDT 2017


Hello,

On Jun 6 18:05 Jim Grotkowski wrote (excerpt):
> ... transition the old customized
> printcap entries into a CUPS system
...
> The in-house printcap entries that worked with the
> incoming ?text? data would send the data thru custom
> print filters and then spool the output to custom spool
> directories. From there, other processes/scripts would take
> the spooled text files for further processing, but because
> of the lpr queueing methodology, the processing from
> there-on occurred in a linear controlled fashion.
...
> each with their own filter and their own spooling directory
...
> applied to individual printers and not to system wide defaults.

As far as I understand it, you somewhat (mis)use the LPR printing
system for some kind of special selfmade file spooling and
processing/filtering system.

Therefore I wonder why you think you need to replace that
now with CUPS?

What is the reason behind why your special selfmade system
can no longer be used?

I think you get nothing but useless double-work when you
now re-create your special selfmade system again from scratch
by somewhat (mis)using the CUPS printing system.

Of course if you really think re-creating your special selfmade
system now based on CUPS is a must, you can do it by using
selfmade CUPS filters and CUPS backends (the latter can output
to any destination i.e. also to any destination directory).

For some basic infromation about selfmade CUPS filters and backends
you may have a look at
https://en.opensuse.org/SDB:Using_Your_Own_Filters_to_Print_with_CUPS
and
https://en.opensuse.org/SDB:Using_Your_Own_Backends_to_Print_with_CUPS

Note that since CUPS 2.2.0 so called "System V style Interface Scripts"
are no longer supported for security reasons, cf.
https://github.com/apple/cups/blob/master/CHANGES.md
that reads (excerpt):
------------------------------------------------------------------
CHANGES IN CUPS V2.2b1
...
Interface scripts are no longer supported for security reasons
(rdar://problem/23135640)
------------------------------------------------------------------


Kind Regards
Johannes Meixner
-- 
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)



More information about the cups mailing list