I have followed the steps (http://transtronics.com/reference/print2pdf.htm) to install a pdf-writer printer in Debian.
I have tested it with lp, but the pdf file that is created is empty (Its size is always 321 bytes.) Any idea? Here you have the stack of the errors: (/var/log/cups/error_log) D [29/Nov/2004:17:41:34 +0100] StartJob: backend = "/usr/lib/cups/backend/cups-pdf" D [29/Nov/2004:17:41:34 +0100] StartJob: filterfds[0] = [ -1 10 ] D [29/Nov/2004:17:41:34 +0100] start_process("/usr/lib/cups/backend/cups-pdf", 0xbfff00e0, 0xbffef450, 9, 10, 8) I [29/Nov/2004:17:41:34 +0100] Started backend /usr/lib/cups/backend/cups-pdf (PID 30030) for job 9. d [29/Nov/2004:17:41:34 +0100] StartJob: Adding fd 7 to InputSet... d [29/Nov/2004:17:41:34 +0100] add_job_state_reasons(0x402f4008[5], 9) D [29/Nov/2004:17:41:34 +0100] ProcessIPPRequest: 5 status_code=0 d [29/Nov/2004:17:41:34 +0100] ProcessIPPRequest: Adding fd 5 to OutputSet... d [29/Nov/2004:17:41:34 +0100] WriteClient: Removing fd 5 from OutputSet... d [29/Nov/2004:17:41:34 +0100] ReadClient: 5, used=0, file=-1 d [29/Nov/2004:17:41:34 +0100] ReadClient: httpGets returned EOF... D [29/Nov/2004:17:41:34 +0100] CloseClient: 5 d [29/Nov/2004:17:41:34 +0100] CloseClient: Removing fd 5 from InputSet and OutputSet... D [29/Nov/2004:17:41:34 +0100] [Job 9] stdin: is not a tty D [29/Nov/2004:17:41:34 +0100] [Job 9] ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1 d [29/Nov/2004:17:41:34 +0100] PID 30030 exited with no errors. D [29/Nov/2004:17:41:34 +0100] UpdateJob: job 9, file 0 is complete. d [29/Nov/2004:17:41:34 +0100] UpdateJob: Removing fd 7 from InputSet... D [29/Nov/2004:17:41:34 +0100] CancelJob: id = 9 D [29/Nov/2004:17:41:34 +0100] StopJob: id = 9, force = 0 D [29/Nov/2004:17:41:34 +0100] StopJob: printer state is 3 d [29/Nov/2004:17:41:34 +0100] StopJob: Freeing status buffer... d [29/Nov/2004:17:41:34 +0100] SaveJob: Closing file 5... d [29/Nov/2004:17:41:34 +0100] SaveJob: Closing file 5... d [29/Nov/2004:17:41:35 +0100] select_timeout: 31 seconds to send browse update