partage imprimante linux sous windows

partage imprimante linux sous windows - Linux et OS Alternatifs

Marsh Posté le 19-06-2004 à 10:53:48    

BOnjour,  
 je suis sous debian, et je voulais partage mon imprimante pour que des clients windows puissent imprimer par le réseau.  
 Malhreusement, j'avais réussi le partage, mais qd je lancais l'impression, ca restait en attente, et ca n'imprimait pas.  
 Cups, ne détectait aucun travail en attente.  
 
 J'ai donc booté sur knoppix, et je constate que ca marche parfaitement. Il immprime par réseau nikel qd l'imprimante est partagée par la knoppix.  
 J'ai essayé de recoper les parametres de mon smb.conf de knoppix, en ce qui concerne l'imprimante dans mon fichier de config de debian mais ca ne change rien.  
 Y'aurait aussi le fichier /etc/cups/cupsd.conf mais il est assez dense donc je n'ai sais pas quoi modifier.  
 
 Merci bcp  
 A+.

Reply

Marsh Posté le 19-06-2004 à 10:53:48   

Reply

Marsh Posté le 19-06-2004 à 11:51:32    

J'ai une piste, regardez mon fichier /var/log/cups/error_log
 
-------------------------------------------------------------
I [19/Jun/2004:11:38:26 +0200] Full reload complete.
I [19/Jun/2004:11:43:43 +0200] Scheduler shutting down normally.
I [19/Jun/2004:11:43:44 +0200] Listening to 0:631
D [19/Jun/2004:11:43:44 +0200] AddLocation: added location '/'
D [19/Jun/2004:11:43:44 +0200] DenyIP: / deny 00000000/00000000
D [19/Jun/2004:11:43:44 +0200] AllowIP: / allow c0a80000/ffffff00
D [19/Jun/2004:11:43:44 +0200] AddLocation: added location '/admin'
D [19/Jun/2004:11:43:44 +0200] DenyIP: /admin deny 00000000/00000000
D [19/Jun/2004:11:43:44 +0200] AllowIP: /admin allow c0a80000/ffffff00
I [19/Jun/2004:11:43:44 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [19/Jun/2004:11:43:44 +0200] Configured for up to 100 clients.
I [19/Jun/2004:11:43:44 +0200] Allowing up to 100 client connections per host.
I [19/Jun/2004:11:43:44 +0200] Full reload is required.
D [19/Jun/2004:11:43:44 +0200] LoadAllPrinters: Loading printer CanonS530D...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "ipp"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "lpd"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "socket"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb://Canon/S530D"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp1"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp2"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp3"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp4"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp5"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp6"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp7"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp8"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp9"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp10"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp11"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp12"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp13"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp14"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "usb:/dev/usb/lp15"...
D [19/Jun/2004:11:43:44 +0200] LoadDevices: Added device "http"...
I [19/Jun/2004:11:43:44 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 222 PPDs...
I [19/Jun/2004:11:43:44 +0200] LoadPPDs: No new or changed PPDs...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Scanning /var/spool/cups...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 37...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 38...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 39...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 40...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 41...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 42...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 43...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 44...
D [19/Jun/2004:11:43:44 +0200] LoadAllJobs: Loading attributes for job 36...
I [19/Jun/2004:11:43:44 +0200] Full reload complete.
D [19/Jun/2004:11:43:44 +0200] StartListening: NumListeners=1
D [19/Jun/2004:11:43:44 +0200] StartListening: address=00000000 port=631
D [19/Jun/2004:11:43:44 +0200] ResumeListening: setting input bits...
D [19/Jun/2004:11:43:50 +0200] AcceptClient: 5 from localhost:631.
D [19/Jun/2004:11:43:50 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:43:50 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:43:50 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:43:50 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:43:50 +0200] CloseClient: 5
D [19/Jun/2004:11:44:02 +0200] AcceptClient: 5 from localhost:631.
D [19/Jun/2004:11:44:02 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:02 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:02 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:02 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:02 +0200] CloseClient: 5
I [19/Jun/2004:11:44:09 +0200] Scheduler shutting down normally.
D [19/Jun/2004:11:44:09 +0200] StopListening: closing all listen sockets.
D [19/Jun/2004:11:44:09 +0200] PauseListening: clearing input bits...
I [19/Jun/2004:11:44:10 +0200] Listening to 0:631
D [19/Jun/2004:11:44:10 +0200] AddLocation: added location '/'
D [19/Jun/2004:11:44:10 +0200] DenyIP: / deny 00000000/00000000
D [19/Jun/2004:11:44:10 +0200] AllowIP: / allow c0a80000/ffffff00
D [19/Jun/2004:11:44:10 +0200] AddLocation: added location '/admin'
D [19/Jun/2004:11:44:10 +0200] DenyIP: /admin deny 00000000/00000000
D [19/Jun/2004:11:44:10 +0200] AllowIP: /admin allow c0a80000/ffffff00
I [19/Jun/2004:11:44:10 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [19/Jun/2004:11:44:10 +0200] Configured for up to 100 clients.
I [19/Jun/2004:11:44:10 +0200] Allowing up to 100 client connections per host.
I [19/Jun/2004:11:44:10 +0200] Full reload is required.
D [19/Jun/2004:11:44:10 +0200] LoadAllPrinters: Loading printer CanonS530D...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "ipp"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "lpd"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "socket"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb://Canon/S530D"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp1"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp2"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp3"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp4"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp5"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp6"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp7"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp8"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp9"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp10"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp11"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp12"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp13"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp14"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "usb:/dev/usb/lp15"...
D [19/Jun/2004:11:44:10 +0200] LoadDevices: Added device "http"...
I [19/Jun/2004:11:44:10 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 222 PPDs...
I [19/Jun/2004:11:44:10 +0200] LoadPPDs: No new or changed PPDs...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Scanning /var/spool/cups...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 37...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 38...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 39...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 40...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 41...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 42...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 43...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 44...
D [19/Jun/2004:11:44:10 +0200] LoadAllJobs: Loading attributes for job 36...
I [19/Jun/2004:11:44:10 +0200] Full reload complete.
D [19/Jun/2004:11:44:10 +0200] StartListening: NumListeners=1
D [19/Jun/2004:11:44:10 +0200] StartListening: address=00000000 port=631
D [19/Jun/2004:11:44:10 +0200] ResumeListening: setting input bits...
D [19/Jun/2004:11:44:15 +0200] AcceptClient: 5 from localhost:631.
D [19/Jun/2004:11:44:15 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:15 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:15 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:15 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:15 +0200] CloseClient: 5
D [19/Jun/2004:11:44:23 +0200] AcceptClient: 5 from localhost:631.
D [19/Jun/2004:11:44:23 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:23 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:23 +0200] CloseClient: 5
D [19/Jun/2004:11:44:25 +0200] AcceptClient: 5 from localhost:631.
D [19/Jun/2004:11:44:25 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:25 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:25 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:25 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:25 +0200] CloseClient: 5
D [19/Jun/2004:11:44:33 +0200] AcceptClient: 5 from localhost:631.
D [19/Jun/2004:11:44:33 +0200] ReadClient: 5 POST /printers/CanonS530D HTTP/1.1
D [19/Jun/2004:11:44:33 +0200] print_job: auto-typing file...
D [19/Jun/2004:11:44:33 +0200] print_job: request file type is application/octet-stream.
D [19/Jun/2004:11:44:33 +0200] check_quotas: requesting-user-name = 'Thierry'
D [19/Jun/2004:11:44:33 +0200] print_job: requesting-user-name = 'Thierry'
D [19/Jun/2004:11:44:33 +0200] Adding default job-sheets values "none,none"...
I [19/Jun/2004:11:44:33 +0200] Adding start banner page "none" to job 45.
I [19/Jun/2004:11:44:33 +0200] Adding end banner page "none" to job 45.
I [19/Jun/2004:11:44:33 +0200] Job 45 queued on 'CanonS530D' by 'Thierry'.
D [19/Jun/2004:11:44:33 +0200] Job 45 hold_until = 0
D [19/Jun/2004:11:44:33 +0200] StartJob(45, 0x80b7630)
D [19/Jun/2004:11:44:33 +0200] StartJob() id = 45, file = 0/1
E [19/Jun/2004:11:44:33 +0200] Unable to convert file 0 to printable format for job 45!
I [19/Jun/2004:11:44:33 +0200] Hint: Do you have ESP Ghostscript installed?
D [19/Jun/2004:11:44:33 +0200] CancelJob: id = 45
D [19/Jun/2004:11:44:33 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:33 +0200] CloseClient: 5
D [19/Jun/2004:11:44:35 +0200] AcceptClient: 5 from localhost:631.
D [19/Jun/2004:11:44:35 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:35 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:35 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:36 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:36 +0200] CloseClient: 5
D [19/Jun/2004:11:44:50 +0200] AcceptClient: 5 from localhost:631.
D [19/Jun/2004:11:44:50 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:50 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:50 +0200] ReadClient: 5 POST / HTTP/1.1
D [19/Jun/2004:11:44:50 +0200] ProcessIPPRequest: 5 status_code=0
D [19/Jun/2004:11:44:50 +0200] CloseClient: 5
--------------------------------------------------------------
Et pourtant qd je fais ça, je constate que j'ai tout:
 
thierry:/home/thierry# apt-cache search ESP Ghostscript
gs-common - Common files for different Ghostscript releases
gs-esp - The Ghostscript PostScript interpreter - ESP version
gsfonts - Fonts for the Ghostscript interpreter(s)
thierry:/home/thierry# apt-get install gs-common gs-esp gsfonts
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
gs-common est déjà la plus récente version disponible.
gs-esp est déjà la plus récente version disponible.
gsfonts est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
thierry:/home/thierry#  
-------------------------------------------------------------
 
Je vous remercie bcp.
A bientot.

Reply

Marsh Posté le 19-06-2004 à 12:57:33    

Voila j'ai reussi grace à ca lol
> Here is your answer. It's a CUPS configuration issue.
>
> Edit /etc/cups/mime.{types,conv} and uncomment the line that contains the
> word 'octet' in both files.
 
A+

Reply

Sujets relatifs:

Leave a Replay

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