Print to ps2pdf print queue

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and convert them to pdf format using ps2pdf, but I would like this to be automatic. How do I set up a pseudo printer to output the files in pdf format in a specified directory?

Thanks,
Cheers,
Sean.

The glorified solution would be to use CUPS, but it's not for the feint of heart.

To answer my question...

I found a way by using a filter script. You can set up a filter script with "lpfilter" and then make a print queue, with "lpadmin", that uses the filter. In the filter script it is possible to copy, move, convert, ftp, etc... the files that arrive in the print spool.

I am sure I could also have done it with an interface script...

If anyone has any better ideas they are welcome to add them.