Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Create a virtual PDF printer WORKS' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Create a virtual PDF printer WORKS
Authored by: mizraith on Jun 15, '06 06:20:49PM
Works like a charm on latest 10.4.x as of June, 06.

MINOR PROBLEM: Even though, I made sure to edit the chown line of the above posting to add the path (/usr/sbin/chown $2 $OUTPUTFILENAME) the doc is still owned by root. Anybody good at scripts who can tell me how to change that chown line or chmod line?
WORKAROUND: Open the PDF, save it to another folder somewhere. Create a chron job to clean the originals nightly.

+ Also, got it to work from my Windoze XP box. Here's what I did:

- After following the above instructions to the letter (well, almost, I did set the print path to inside a SAMBA shared directory), I opened up the Control Panel and verified that the PDFWriter was shared (under Printers & Faxes).

- I also went to the CUPS control panel (browse to 127.0.0.1:631) to verify that the PDFWriter was there.

- On WinXP, I clicked on Printers and went through the Add Printer 'wizard', selected Network Printer.

- Entered my server's IP address:
http://ipaddress:631/printers/PDFWriter

- Selected print driver by GENERIC and used the "MS Publisher Color Printer" driver.

Works like a freakin charm! Thanks to all those above who have been hammering this one out.


[ Reply to This | # ]
10.4: Virtual PDF Printer (ownership)
Authored by: mizraith on Jun 15, '06 06:38:54PM

Duh, To answer my own above "PROBLEM"

Simple enough to make ownership for all, change the chmod line (by adding "+w") to:

chmod a+r+w $OUTPUTFILENAME

Lets users grab their file and clear out the queue on their own.
-Red



[ Reply to This | # ]