this question has been bothering me for quite some tiime, im in the process of learning about printers and port monitiors and i am trying to print across networks
now the ideal solution would be that a client would have a virtual printer installed with a custom port and when the end user prints to this printer the document is sent (or better yet uploaded) to the server
now I also started playing about with RedMon which is essentially a port monitor that redirects an output to a program, so if you print to a document that has the RedMon port set a postscript file is created (*.PS) it then uses GhostScript to convert this file to pdf
I was thinking if I have the pdf I can then upload it to the server using an upload application that i already have running on the server, given the path uploading is very simple.
The question now is can i create a program or a watch folder that calls a program everytime redmon creates a ps file, and this program would run ghostscript to convert the postscript file to PDF then take the path and send the parameters to a web application that would upload the document