cups avec une canon S630

cups avec une canon S630 - Installation - Linux et OS Alternatifs

Marsh Posté le 31-03-2006 à 21:21:39    

Salut tout le monde,
 
Si j'écris c'est vraiment que j'ai pas trouvé comment résoudre mon problème. Lorsque je vois les posts qui sont faits, je ne trouve rien qui ressemble à mon problème. Bref j'espère que vous comprendrez que je n'aime pas créer de nouveau post pour rien.  
 
Pour en venir au problème proprement dit :
 
J'ai une distrib GENTOO et une imprimante canon S630 avec CUPS d'installé.  
 
Bref après avoir configuré mon imprimante via http://localhost:631 avec le fichier PPD qui va bien téléchargé sur http://www.linuxprinting.org où j'ai trouvé beaucoup de doc, j'ai essayé de faire un test d'impression.  
 
CUPS me dit que l'impression a bien été envoyée et imprimée. Lorsque je vais consulter la liste des travaux réalisés, je constate effectivement que le document a été imprimé. A ce stade, rien n'est sorti de l'imprimante.  
C'est là que ça devient bien : J'essaie de relancer l'impression et la il dit :  
 

Citation :

client-error-not-possible



 
Suite à ça, j'ai fait sans résultats plein de trucs comme:
 

Citation :

/etc/init.d/cupsd restart
chmod 755 /var/spool/cupd/ /var/spool/cupd/tmp


 

Citation :

localhost ~ # lsusb
Bus 002 Device 004: ID 058f:6362 Alcor Micro Corp.  
Bus 002 Device 002: ID 04b8:0122 Seiko Epson Corp.  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 002: ID 04a9:1066 Canon, Inc.  
Bus 001 Device 001: ID 0000:0000


 
et aussi :  
 

Citation :

localhost ~ # lpinfo -v
network socket
network http
network ipp
network lpd
direct scsi
direct usb://Canon/S630
direct usb:/dev/usb/lp1
direct usb:/dev/usb/lp2
direct usb:/dev/usb/lp3
direct usb:/dev/usb/lp4
direct usb:/dev/usb/lp5
direct usb:/dev/usb/lp6
direct usb:/dev/usb/lp7
direct usb:/dev/usb/lp8
direct usb:/dev/usb/lp9
direct usb:/dev/usb/lp10
direct usb:/dev/usb/lp11
direct usb:/dev/usb/lp12
direct usb:/dev/usb/lp13
direct usb:/dev/usb/lp14
direct usb:/dev/usb/lp15


 
 
donc à ce niveau je configure /etc/cups/cupsd.conf en loglevel debug :
et j'obtiens l'orsque j'envoie un impression :

Citation :


 D [31/Mar/2006:23:15:20 +0200] LoadAllJobs: Loading attributes for job 16...
D [31/Mar/2006:23:15:20 +0200] LoadAllJobs: Loading attributes for job 17...
D [31/Mar/2006:23:15:20 +0200] LoadAllJobs: Loading attributes for job 18...
D [31/Mar/2006:23:15:20 +0200] LoadAllJobs: Loading attributes for job 19...
D [31/Mar/2006:23:15:20 +0200] LoadAllJobs: Loading attributes for job 20...
D [31/Mar/2006:23:15:20 +0200] LoadAllJobs: Loading attributes for job 21...
I [31/Mar/2006:23:15:20 +0200] Full reload complete.
D [31/Mar/2006:23:15:20 +0200] StartListening: NumListeners=1
D [31/Mar/2006:23:15:20 +0200] StartListening: address=00000000 port=631
D [31/Mar/2006:23:15:20 +0200] ResumeListening: setting input bits...
D [31/Mar/2006:23:15:40 +0200] AcceptClient: 5 from localhost:631.
D [31/Mar/2006:23:15:40 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:40 +0200] ProcessIPPRequest: 5 status_code=1
D [31/Mar/2006:23:15:40 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:40 +0200] ProcessIPPRequest: 5 status_code=1
D [31/Mar/2006:23:15:40 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:40 +0200] ProcessIPPRequest: 5 status_code=0
D [31/Mar/2006:23:15:40 +0200] CloseClient: 5
D [31/Mar/2006:23:15:41 +0200] AcceptClient: 5 from localhost:631.
D [31/Mar/2006:23:15:41 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:41 +0200] ProcessIPPRequest: 5 status_code=1
D [31/Mar/2006:23:15:41 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:41 +0200] ProcessIPPRequest: 5 status_code=1
D [31/Mar/2006:23:15:41 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:41 +0200] ProcessIPPRequest: 5 status_code=0
D [31/Mar/2006:23:15:41 +0200] CloseClient: 5
D [31/Mar/2006:23:15:50 +0200] AcceptClient: 5 from localhost:631.
D [31/Mar/2006:23:15:50 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:50 +0200] ProcessIPPRequest: 5 status_code=1
D [31/Mar/2006:23:15:50 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:50 +0200] ProcessIPPRequest: 5 status_code=1
D [31/Mar/2006:23:15:50 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:51 +0200] ProcessIPPRequest: 5 status_code=0
D [31/Mar/2006:23:15:51 +0200] CloseClient: 5
D [31/Mar/2006:23:15:52 +0200] AcceptClient: 5 from localhost:631.
D [31/Mar/2006:23:15:52 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:52 +0200] ProcessIPPRequest: 5 status_code=1
D [31/Mar/2006:23:15:52 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:52 +0200] ProcessIPPRequest: 5 status_code=1
D [31/Mar/2006:23:15:52 +0200] ReadClient: 5 POST / HTTP/1.1
D [31/Mar/2006:23:15:52 +0200] ProcessIPPRequest: 5 status_code=0
D [31/Mar/2006:23:15:52 +0200] AcceptClient: 7 from localhost:631.
D [31/Mar/2006:23:15:52 +0200] CloseClient: 5
D [31/Mar/2006:23:15:52 +0200] ReadClient: 7 POST /printers/Canon_s630 HTTP/1.1
D [31/Mar/2006:23:15:52 +0200] print_job: auto-typing file...
D [31/Mar/2006:23:15:52 +0200] print_job: request file type is application/postscript.
D [31/Mar/2006:23:15:52 +0200] check_quotas: requesting-user-name = 'root'
D [31/Mar/2006:23:15:52 +0200] print_job: requesting-user-name = 'root'
I [31/Mar/2006:23:15:52 +0200] Adding start banner page "none" to job 22.
I [31/Mar/2006:23:15:52 +0200] Adding end banner page "none" to job 22.
I [31/Mar/2006:23:15:52 +0200] Job 22 queued on 'Canon_s630' by 'root'.
D [31/Mar/2006:23:15:52 +0200] Job 22 hold_until = 0
D [31/Mar/2006:23:15:52 +0200] StartJob(22, 0x54e000)
D [31/Mar/2006:23:15:52 +0200] StartJob() id = 22, file = 0/1
D [31/Mar/2006:23:15:52 +0200] job-sheets=none,none
D [31/Mar/2006:23:15:52 +0200] banner_page = 0
D [31/Mar/2006:23:15:52 +0200] StartJob: argv = "Canon_s630","22","root","FORUM HardWare.fr - Créer un nouveau sujet","1","","/var/spool/cup
d00022-001"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[0]="PATH=/usr/lib64/cups/filter:/bin:/usr/bin"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[2]="USER=root"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[3]="CHARSET=iso-8859-1"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[4]="LANG=en"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[5]="PPD=/etc/cups/ppd/Canon_s630.ppd"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[9]="CONTENT_TYPE=application/postscript"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[10]="DEVICE_URI=usb://Canon/S630"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[11]="PRINTER=Canon_s630"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[14]="CUPS_SERVER=localhost"
D [31/Mar/2006:23:15:52 +0200] StartJob: envp[15]="IPP_PORT=631"
D [31/Mar/2006:23:15:52 +0200] StartJob: statusfds = [ 5 8 ]
D [31/Mar/2006:23:15:52 +0200] StartJob: filterfds[1] = [ 9 -1 ]
D [31/Mar/2006:23:15:52 +0200] StartJob: filter = "/usr/lib64/cups/filter/pstops"
D [31/Mar/2006:23:15:52 +0200] StartJob: filterfds[0] = [ 10 11 ]
D [31/Mar/2006:23:15:52 +0200] start_process("/usr/lib64/cups/filter/pstops", 0x7fffff8c6460, 0x7fffff8c5640, 9, 11, 8)
I [31/Mar/2006:23:15:52 +0200] Started filter /usr/lib64/cups/filter/pstops (PID 5706) for job 22.
D [31/Mar/2006:23:15:52 +0200] StartJob: filter = "/usr/lib64/cups/filter/foomatic-rip"
D [31/Mar/2006:23:15:52 +0200] StartJob: filterfds[1] = [ 9 12 ]
D [31/Mar/2006:23:15:52 +0200] start_process("/usr/lib64/cups/filter/foomatic-rip", 0x7fffff8c6460, 0x7fffff8c5640, 10, 12, 8)
I [31/Mar/2006:23:15:52 +0200] Started filter /usr/lib64/cups/filter/foomatic-rip (PID 5707) for job 22.
D [31/Mar/2006:23:15:52 +0200] StartJob: backend = "/usr/lib64/cups/backend/usb"
D [31/Mar/2006:23:15:52 +0200] StartJob: filterfds[0] = [ -1 10 ]
D [31/Mar/2006:23:15:52 +0200] start_process("/usr/lib64/cups/backend/usb", 0x7fffff8c6460, 0x7fffff8c5640, 9, 10, 8)
I [31/Mar/2006:23:15:52 +0200] Started backend /usr/lib64/cups/backend/usb (PID 5708) for job 22.
D [31/Mar/2006:23:15:52 +0200] ProcessIPPRequest: 7 status_code=0
E [31/Mar/2006:23:15:52 +0200] PID 5707 stopped with status 22!
D [31/Mar/2006:23:15:52 +0200] [Job 22] /usr/lib64/cups/filter/foomatic-rip: No such file or directory
D [31/Mar/2006:23:15:52 +0200] [Job 22] Page = 595x842; 0,0 to 595,842
D [31/Mar/2006:23:15:52 +0200] [Job 22] slowcollate=0, slowduplex=0, sloworder=0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%BoundingBox: 0 0 612 792
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%HiResBoundingBox: 0 0 612 792
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Creator: Mozilla PostScript module (rv:1.8.0.1/2006032116)
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%DocumentData: Clean8Bit
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%DocumentPaperSizes: Letter
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Orientation: Portrait
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Pages: 2
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%PageOrder: Ascend
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndComments
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%BeginProlog
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndProlog
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%BeginResource: font Nimbus_Sans_L.Bold.0.0.Set0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Creator: Mozilla Freetype2 Printing code 2.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Title: Nimbus_Sans_L.Bold.0.0.Set0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Pages: 0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndComments
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndResource
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%BeginResource: font Luxi_Sans.Regular.0.0.Set0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Creator: Mozilla Freetype2 Printing code 2.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Title: Luxi_Sans.Regular.0.0.Set0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Pages: 0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndComments
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndResource
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%BeginResource: font Nimbus_Roman_No9_L.Medium.0.0.Set0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Creator: Mozilla Freetype2 Printing code 2.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Title: Nimbus_Roman_No9_L.Medium.0.0.Set0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Pages: 0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndComments
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndResource
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%BeginResource: font Nimbus_Sans_L.Regular.0.0.Set0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Creator: Mozilla Freetype2 Printing code 2.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Title: Nimbus_Sans_L.Regular.0.0.Set0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Pages: 0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndComments
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndResource
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Page: 1 1
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Page: 1 1
D [31/Mar/2006:23:15:52 +0200] [Job 22] pw = 595.0, pl = 842.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] PageLeft = 0.0, PageRight = 595.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] PageTop = 842.0, PageBottom = 0.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] PageWidth = 595.0, PageLength = 842.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%BeginPageSetup
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndPageSetup
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Page: 2 2
D [31/Mar/2006:23:15:52 +0200] [Job 22] pw = 595.0, pl = 842.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] PageLeft = 0.0, PageRight = 595.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] PageTop = 842.0, PageBottom = 0.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] PageWidth = 595.0, PageLength = 842.0
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%BeginPageSetup
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%EndPageSetup
D [31/Mar/2006:23:15:52 +0200] [Job 22] 0 %%Trailer
D [31/Mar/2006:23:15:52 +0200] [Job 22] Saw Trailer!
D [31/Mar/2006:23:15:52 +0200] [Job 22] Saw EOF!
D [31/Mar/2006:23:15:52 +0200] [Job 22] Printer using device file "/dev/usb/lp0"...
D [31/Mar/2006:23:15:52 +0200] [Job 22] LPGETSTATUS returned a port status of 18...
D [31/Mar/2006:23:15:52 +0200] UpdateJob: job 22, file 0 is complete.
D [31/Mar/2006:23:15:52 +0200] CancelJob: id = 22
D [31/Mar/2006:23:15:52 +0200] StopJob: id = 22, force = 0
D [31/Mar/2006:23:15:52 +0200] StopJob: printer state is 3


 
J'espère que ça fait pas trop long ... :pfff:  
 
En fait j'ai souvent eu ce problème sous gentoo du coup je pense ne pas être le seul. En tout cas merci à tous par avance.   :jap:  :jap:  :jap:

Reply

Marsh Posté le 31-03-2006 à 21:21:39   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed