matze77 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Perlmonks
Maybe someone knows an open source Server Software that takes incoming cups printing data stream and converts this into a pdf file?
This should be stored (on a local) SMB Share if possible with details (extracted from printing stream) in filename ...
scheme:
Internet Print Server Cups (no control) ->
sends data to local "PDF Server" (full control, linux system) ->
store on SMB share ->
User copies pdf document on his windows desktop

<UPDATE> (external) Dealer System (CUPS 1.1.2.3 modified) sends print jobs to customers Site "Printer" regularly this would be a HP PCL/Postscript compatible Network Printer.
This should be changed for 1 Printer to a "general pdf printer" because around 150 users are printing unnecessary/seldom needed protocols "tons of paper"
So my task is to setup a linux box and tell "Cups Admins at Dealer Management" the target IP Adress,Port/socket, printing protocol e.g. they should send their printing data to customers "receiving pdf print box" ...


<UPDATE> Maybe someone already implemented this and knows a working solution?
Many thanks in advance
<Answer to replies> The Target Client System are Win7 Desktops but thats a later task ...
The Target "server system" will be a linux box Debian or ubuntu which i have to install.
Maybe i will try to get a working cups print server and try to generate "local stored pdfs" from another cups printer -
if this is working i contact "Dealer System Print Source" for further tests ...

Many thanks to RonW and jellisii2, all replies
<Answer to replies>


Thanks
MH

Replies are listed 'Best First'.
Re: OT: PDF Server with CUPS ?
by jellisii2 (Hermit) on Jan 21, 2015 at 19:11 UTC
Re: OT: PDF Server with CUPS ?
by RonW (Parson) on Jan 22, 2015 at 00:02 UTC

    This (SMB Share) sounds like your uses are running MS Windows. If this is the case, PDFcreator is an open source print-to-PDF virtual printer driver for MS Windows that my employer has authorized us to use. Because it runs on the user's PC, the user can save the file directly to her/his PC with whatever name the user chooses.

    For Linux, the applications I use can generate PDF and/or text output. If text, I then use enscript and ps2pdf to produce a PDF.

    Of course, if the applications are producing text output, you could setup a print filter that uses enscript and ps2pdf. (Or, better, 2 filters, one using enscript to generate PostScript and the second using ps2pdf to convert PostScript to PDF. This would allow your CUPS server to accept PostScript as well as text)