Forum OpenACS Q&A: Response to server side document to .pdf conversion

Collapse
Posted by Bjorn Thor Jonsson on
This article might be helpful:
Create a PDF Service with Samba
Use GhostScript to create a PDF document out of any PostScript printer job
http://www.planetpdf.com/mainpage.asp?webpageid=1736
it describes how to set up a Samba pdf file printer and how to use it with the lpr command (I don't know how lpr handles .doc, .xsl etc., a specific driver or converter might be needed to spit .ps to the printer). I'm too new to tcl and ns api to tell how to send a command line from a web script, but it must be possible.