[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cups pdf ne fonctionne pas



Bonjour,



J'ai installé l'imprimante virtuelle pdf sur mon serveur cups mais elle ne fonctionne pas. En effet, sur l'interface cups (http://localhost:631), il est indiqué ceci:






   Virtual_Printer <http://localhost:631/printers/Virtual_Printer>
   "/usr/lib/cups/backend/cups-pdf failed"


*Description :* PDF Printer
*Lieu :* Local Printer
*Marque et modèle :* Generic postscript color printer rev4
*État de l'imprimante :* ne fait rien, accepte les tâches, publique.
*URI du matériel :* cups-pdf:/


De plus, mon autre imprimante, bien réélle fonctionne correctement.


Voilà les logs:


I [02/Jul/2007:15:02:15 +0200] [Job 59] Backend returned status 22 (unknown)
I [02/Jul/2007:15:02:15 +0200] Started filter /usr/lib/cups/filter/pstops (PID 16865) for job 60. I [02/Jul/2007:15:02:15 +0200] Started backend /usr/lib/cups/backend/cups-pdf (PID 16866) for job 60. E [02/Jul/2007:15:02:15 +0200] PID 16866 (/usr/lib/cups/backend/cups-pdf) stopped with status 22! I [02/Jul/2007:15:02:15 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
I [02/Jul/2007:15:02:15 +0200] [Job 60] Backend returned status 22 (unknown)
I [02/Jul/2007:15:02:15 +0200] Started filter /usr/lib/cups/filter/pstops (PID 16867) for job 61. I [02/Jul/2007:15:02:15 +0200] Started backend /usr/lib/cups/backend/cups-pdf (PID 16868) for job 61. E [02/Jul/2007:15:02:15 +0200] PID 16868 (/usr/lib/cups/backend/cups-pdf) stopped with status 22! I [02/Jul/2007:15:02:15 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
I [02/Jul/2007:15:02:15 +0200] [Job 61] Backend returned status 22 (unknown)
I [02/Jul/2007:15:02:16 +0200] commptr=""
I [02/Jul/2007:15:02:16 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=16870)



Ici, je change le log level en DEBUG dans cups-pdf.conf et voici:


neptune:/home/jp# vim /etc/cups/cups-pdf.conf
neptune:/home/jp# /etc/init.d/cupsys restart
Restarting Common Unix Printing System: cupsd.
neptune:/home/jp# tail -f /var/log/cups/error_log
I [02/Jul/2007:15:05:12 +0200] Cleaning out old temporary files in "/var/spool/c
ups/tmp"...
I [02/Jul/2007:15:05:12 +0200] Configured for up to 100 clients.
I [02/Jul/2007:15:05:12 +0200] Allowing up to 100 client connections per host.
I [02/Jul/2007:15:05:12 +0200] Using policy "default" as the default!
I [02/Jul/2007:15:05:12 +0200] Full reload is required.
I [02/Jul/2007:15:05:12 +0200] Loaded MIME database from '/usr/share/cups/mime:/
etc/cups': 34 types, 39 filters...
I [02/Jul/2007:15:05:12 +0200] Loading job cache file "/var/cache/cups/job.cache
"...
I [02/Jul/2007:15:05:12 +0200] Full reload complete.
I [02/Jul/2007:15:05:12 +0200] Listening to 127.0.0.1:631 on fd 2...
I [02/Jul/2007:15:05:12 +0200] Listening to /var/run/cups/cups.sock on fd 3...
I [02/Jul/2007:15:05:28 +0200] commptr=""
I [02/Jul/2007:15:05:28 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid
=16971)
I [02/Jul/2007:15:05:30 +0200] commptr="?op=print-test-page"
I [02/Jul/2007:15:05:30 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid
=16974)
I [02/Jul/2007:15:05:31 +0200] Adding start banner page "none" to job 63.
I [02/Jul/2007:15:05:32 +0200] Adding end banner page "none" to job 63.
I [02/Jul/2007:15:05:32 +0200] Job 63 queued on "Virtual_Printer" by "root".
I [02/Jul/2007:15:05:32 +0200] Started filter /usr/lib/cups/filter/pstops (PID 1
6975) for job 63.
I [02/Jul/2007:15:05:32 +0200] Started backend /usr/lib/cups/backend/cups-pdf (P
ID 16976) for job 63.
E [02/Jul/2007:15:05:32 +0200] PID 16976 (/usr/lib/cups/backend/cups-pdf) stoppe
d with status 22!
I [02/Jul/2007:15:05:32 +0200] Hint: Try setting the LogLevel to "debug" to find
out more.
I [02/Jul/2007:15:05:32 +0200] [Job 63] Backend returned status 22 (unknown)
I [02/Jul/2007:15:05:33 +0200] commptr=""
I [02/Jul/2007:15:05:33 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid
=16978)


Même chose...


Auriez-vous déjà rencontré le problème?


Merci,

Jean-Paul



Reply to: