Hi VJ.
I just did something similar, but using Alambic (Written in C). Same idea. It would not compile right away so I need to go in and tweak it. Now I am making my own modifications to it and I have a PDF writer installed that anyone can print to (in my network).
It's is great stuff indeed! Of course I could have just as easily used a quick shell script to goto ps2pdf, but I felt like playing in the C code.
I just want to tell you that there's a modified cups-pdf that sends out the PDF to a users e-mail. The only hassle with it is that it uses metamail that hasn't been supported in a long time. But it might give you some ideas.
Take a look at: http://acd.ucar.edu/~fredrick/linux/acdpdf/
Cheers, Mike
Alexander Dalloz wrote:
Am So, den 28.11.2004 schrieb VJ um 22:06:
I downloaded and studied the code of cups-pdf and it made me learn something about cups. I wrote my own filter which at present does nothing but copies the postscript file to a particular directory. That too in just about 60 lines of code!!! All that took about 20 minutes :-)
It is always nice to read success stories - not only problem reports ;-)
I am planning to writ my own version of cups-pdf which can do following
1) Put pdf file in a particular directory or in user's home directory.
2) Send pdf file to the user who printed that file as a mail attachment.
If you do so, please consider to write a handy howto. You can ask for contribution on www.fedoranews.org.
This is a good learning experience. I like open-source.
Share your intellectual properties.
VJ
Regards
Alexander
-- (o> Micheal J. Pawlowsky //\ Open Source Specialist v_/_ MI-Consultants