Page 1 of 1

HowTo get CUPS-PDF (aka pdf-printer) to work

Posted: Wed 15 Oct 2008, 20:14
by kuapao
For newbies like myself, it may not be obvious how to solve this problem (and I have scoured the forum...). So here goes.

Problem:
Printing using the predefined CUPS-PDF does not appear to work.
Symptom:
Upon initiating print job, a dialogue box pops up but quickly disappears, and your PDF is nowhere to be found.
Inspection of /var/log/messages reveals error messages like this:

Code: Select all

pdf-writer: WARNING: /root/.Xauthority not found! Switch to console mode!
Solution1:
Just create the missing file (zero size, and no contents).

Code: Select all

# touch /root/.Xauthority
Solution2:
Create a valid entry in the .Xauthority file for your local display.

Code: Select all

# xauth generate :0 .
If you open the file, it should like similar to this:

Code: Select all

localhost/unix:0 MIT-MAGIC-COOKIE-1 026666083d4e480d3e775449b9281b49
Hope this helps!

FYI: Here's a link to the post with updated PET file for CUPS-PDF (version 0.9):
http://www.murga-linux.com/puppy/viewto ... 368#146829