GUG | Bonjour,
J'utilise cups depuis deja plus de 2 ans ...
L'imprimante est connecté sur un serveur. A partir d'un windows qqconque j'arrive sans probleme à imprimer, la conf du serveur n'est donc pas un probleme ...
Sur ma sid, j'ai du desinstaller et reinstaller celui-ci.
J'ai les packages suivant d'installés :
Code :
- ii cupsys 1.1.20final-15 Common UNIX Printing System(tm) - server
- ii cupsys-bsd 1.1.20final-15 Common UNIX Printing System(tm) - BSD comman
- ii cupsys-client 1.1.20final-15 Common UNIX Printing System(tm) - client pro
- ii libcupsimage2 1.1.20final-15 Common UNIX Printing System(tm) - image libs
- ii libcupsys2 1.1.20final-15 Common UNIX Printing System(tm) - libs
|
Je rajoute l'imprimante : lpadmin -p hp -E -v smb://192.168.0.1/hp -m deskjet.ppd
un coup de lpr un_fichier
Sur l'imprimante la lumiere clignote indiquant qu'elle va lancer une impression, puis s'arrete et rien ne sort
J'ai passé les logs de cups au niveau debug sur mon client et le seul message d'erreur :
Code :
- D [21/Feb/2004:16:51:32 +0100] [Job 7] /usr/lib/cups/filter/pstoraster: line 58: 1555 Segmentation fault $bindir/gs-esp $gsopts -sOUTPUTFILE="%stdout" -c"$profile" "$ifile"
- E [21/Feb/2004:16:51:32 +0100] PID 1552 stopped with status 139!
- E [21/Feb/2004:16:51:32 +0100] [Job 7] No pages found!
|
Donc le probleme sera avec pstoaster certe, je tente de l'installer ors ma debian me dit que ce package est remplace par cupsys et gs-est qui sont à jour ...
Si vous avez une idee ...
merci d'avance
infos complementaires : smbclient
Code :
- gug:~# smbclient -L 192.168.0.1
- Password:
- Domain=[RESEAU] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian]
- Sharename Type Comment
- --------- ---- -------
- ftp Disk Public
- hp Printer
- IPC$ IPC IPC Service (server server (Samba 2.2.3a-12.3 for Debian))
- ADMIN$ Disk IPC Service (server server (Samba 2.2.3a-12.3 for Debian))
- root Disk Home Directories
- Domain=[RESEAU] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian]
- Server Comment
- --------- -------
- GUG gug server (Samba 3.0.2-Debian)
- SERVER server server (Samba 2.2.3a-12.3 for Debian)
- Workgroup Master
- --------- -------
- RESEAU GUG
- gug:~#
|
le log complet pour une impression :
Code :
- D [21/Feb/2004:16:51:27 +0100] AcceptClient() 5 from localhost:631.
- D [21/Feb/2004:16:51:27 +0100] ReadClient() 5 POST / HTTP/1.1
- D [21/Feb/2004:16:51:27 +0100] ProcessIPPRequest: 5 status_code=1
- D [21/Feb/2004:16:51:27 +0100] CloseClient() 5
- D [21/Feb/2004:16:51:27 +0100] AcceptClient() 5 from localhost:631.
- D [21/Feb/2004:16:51:27 +0100] ReadClient() 5 POST / HTTP/1.1
- D [21/Feb/2004:16:51:27 +0100] ProcessIPPRequest: 5 status_code=1
- D [21/Feb/2004:16:51:27 +0100] CloseClient() 5
- D [21/Feb/2004:16:51:27 +0100] AcceptClient() 5 from localhost:631.
- D [21/Feb/2004:16:51:27 +0100] ReadClient() 5 POST / HTTP/1.1
- D [21/Feb/2004:16:51:27 +0100] ProcessIPPRequest: 5 status_code=0
- D [21/Feb/2004:16:51:27 +0100] ReadClient() 5 POST /printers/hp HTTP/1.1
- D [21/Feb/2004:16:51:27 +0100] print_job: auto-typing file...
- D [21/Feb/2004:16:51:27 +0100] print_job: request file type is text/plain.
- D [21/Feb/2004:16:51:27 +0100] check_quotas: requesting-user-name = 'root'
- D [21/Feb/2004:16:51:27 +0100] print_job: requesting-user-name = 'root'
- I [21/Feb/2004:16:51:27 +0100] Adding start banner page "none" to job 7.
- I [21/Feb/2004:16:51:27 +0100] Adding end banner page "none" to job 7.
- I [21/Feb/2004:16:51:27 +0100] Job 7 queued on 'hp' by 'root'.
- D [21/Feb/2004:16:51:27 +0100] Job 7 hold_until = 0
- D [21/Feb/2004:16:51:27 +0100] StartJob(7, 0x80953f8)
- D [21/Feb/2004:16:51:27 +0100] StartJob() id = 7, file = 0/1
- D [21/Feb/2004:16:51:27 +0100] job-sheets=none,none
- D [21/Feb/2004:16:51:27 +0100] banner_page = 0
- D [21/Feb/2004:16:51:27 +0100] StartJob: argv = "hp","7","root","tt","1","","/var/spool/cups/d00007-001"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[2]="USER=root"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[3]="CHARSET=iso-8859-1"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[4]="LANG=en"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[5]="TZ=Europe/Paris"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[6]="PPD=/etc/cups/ppd/hp.ppd"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[7]="CUPS_SERVERROOT=/etc/cups"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[8]="RIP_MAX_CACHE=8m"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[9]="TMPDIR=/var/spool/cups/tmp"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[10]="CONTENT_TYPE=text/plain"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[11]="DEVICE_URI=smb://192.168.0.1/hp"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[12]="PRINTER=hp"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[13]="CUPS_DATADIR=/usr/share/cups"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[14]="CUPS_FONTPATH=/usr/share/cups/fonts"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[15]="CUPS_SERVER=localhost"
- D [21/Feb/2004:16:51:27 +0100] StartJob: envp[16]="IPP_PORT=631"
- D [21/Feb/2004:16:51:27 +0100] StartJob: statusfds = [ 7 8 ]
- D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[1] = [ 9 -1 ]
- D [21/Feb/2004:16:51:27 +0100] StartJob: filter = "/usr/lib/cups/filter/texttops"
- D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[0] = [ 10 11 ]
- D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/filter/texttops", 0xbffefec0, 0xbffef230, 9, 11, 8)
- I [21/Feb/2004:16:51:27 +0100] Started filter /usr/lib/cups/filter/texttops (PID 1550) for job 7.
- D [21/Feb/2004:16:51:27 +0100] StartJob: filter = "/usr/lib/cups/filter/pstops"
- D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[1] = [ 9 12 ]
- D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/filter/pstops", 0xbffefec0, 0xbffef230, 10, 12, 8)
- I [21/Feb/2004:16:51:27 +0100] Started filter /usr/lib/cups/filter/pstops (PID 1551) for job 7.
- D [21/Feb/2004:16:51:27 +0100] StartJob: filter = "/usr/lib/cups/filter/pstoraster"
- D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[0] = [ 10 11 ]
- D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/filter/pstoraster", 0xbffefec0, 0xbffef230, 9, 11, 8)
- I [21/Feb/2004:16:51:27 +0100] Started filter /usr/lib/cups/filter/pstoraster (PID 1552) for job 7.
- D [21/Feb/2004:16:51:27 +0100] StartJob: filter = "/usr/lib/cups/filter/rastertohp"
- D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[1] = [ 9 12 ]
- D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/filter/rastertohp", 0xbffefec0, 0xbffef230, 10, 12, 8)
- I [21/Feb/2004:16:51:27 +0100] Started filter /usr/lib/cups/filter/rastertohp (PID 1553) for job 7.
- D [21/Feb/2004:16:51:27 +0100] StartJob: backend = "/usr/lib/cups/backend/smb"
- D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[0] = [ -1 10 ]
- D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/backend/smb", 0xbffefec0, 0xbffef230, 9, 10, 8)
- I [21/Feb/2004:16:51:27 +0100] Started backend /usr/lib/cups/backend/smb (PID 1554) for job 7.
- D [21/Feb/2004:16:51:27 +0100] ProcessIPPRequest: 5 status_code=0
- D [21/Feb/2004:16:51:27 +0100] [Job 7] Page = 595x842; 18,36 to 577,806
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->num_fonts = 35
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[0] = AvantGarde-Book
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[1] = AvantGarde-BookOblique
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[2] = AvantGarde-Demi
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[3] = AvantGarde-DemiOblique
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[4] = Bookman-Demi
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[5] = Bookman-DemiItalic
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[6] = Bookman-Light
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[7] = Bookman-LightItalic
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[8] = Courier
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[9] = Courier-Bold
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->num_fonts = 35
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[0] = AvantGarde-Book
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[1] = AvantGarde-BookOblique
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[2] = AvantGarde-Demi
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[3] = AvantGarde-DemiOblique
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[4] = Bookman-Demi
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[5] = Bookman-DemiItalic
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[6] = Bookman-Light
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[7] = Bookman-LightItalic
- D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[8] = Courier
- D [21/Feb/2004:16:51:27 +0100] [Job 7] Page = 595x842; 18,36 to 577,806
- D [21/Feb/2004:16:51:27 +0100] [Job 7] slowcollate=0, slowduplex=0, sloworder=0
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%BoundingBox: 0 0 595 842
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%Creator: texttops/CUPS v1.1.20
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%CreationDate: Sat Feb 21 16:51:27 2004
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%Title: tt
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%For: root
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%Pages: (atend)
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%DocumentNeededResources: font Courier-Bold
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%+ font Courier
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%DocumentSuppliedResources: procset texttops 1.1 0
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%+ font Courier-Bold
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%+ font Courier
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%EndComments
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%BeginProlog
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%BeginResource: font Courier-Bold
- D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%CreationDate: Wed Dec 22 1999
- D [21/Feb/2004:16:51:27 +0100] [Job 7] Running /usr/bin/gs-esp -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c -
- D [21/Feb/2004:16:51:27 +0100] CloseClient() 5
- D [21/Feb/2004:16:51:28 +0100] [Job 7] START 0 1414672 116499 1421640 132248 true 476 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END PROCS 0 1414672 128676 1421640 133616 true 588 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_std_e.ps 0 1454864 142008 1421640 134992 true 596 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_il1_e.ps 0 1454864 144727 1421640 134992 true 597 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END FONTDIR/ENCS 0 1454864 144879 1421640 134992 true 599 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END DEVS 0 1469480 175728 1421640 134992 true 603 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END STATD 10 1489576 186125 1421640 136604 true 607 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END GS_FONTS 10 1509672 207229 1421640 136604 true 650 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_type1.ps 10 1509672 210779 1421640 136604 true 666 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_dps1.ps 10 1509672 212626 1421640 136604 true 668 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_lev2.ps 10 1549864 234709 1517296 232656 true 675 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] BEGIN RESOURCES 10 1549864 236845 1517296 232656 true 675 4 <1>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END CATEGORY 10 1549864 238315 1517296 232812 true 676 5 <1>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END GENERIC 10 1549864 241513 1517296 232812 true 676 4 <1>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END FIXED 10 1549864 246844 1517296 232812 true 676 4 <1>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END MISC 10 1549864 251254 1517296 232812 true 676 4 <1>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] END ENCODING 10 1569960 256434 1517296 232812 true 676 4 <1>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_res.ps 10 1569960 256585 1517296 232812 true 680 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_typ42.ps 10 1569960 256899 1517296 232812 true 683 3 <0>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] ./CIDFnmap 20 1569960 264799 1517296 232812 true 842 4 <3>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] /usr/share/cups/fonts/CIDFnmap 20 1569960 264838 1517296 232812 true 842 4 <3>
- D [21/Feb/2004:16:51:28 +0100] [Job 7] /usr/share/gs-esp/7.07/lib/CIDFnmap 20 1569960 264882 1517296 232812 true 842 4 <3>
- D [21/Feb/2004:16:51:32 +0100] [Job 7] /usr/lib/cups/filter/pstoraster: line 58: 1555 Segmentation fault $bindir/gs-esp $gsopts -sOUTPUTFILE="%stdout" -c"$profile" "$ifile"
- E [21/Feb/2004:16:51:32 +0100] PID 1552 stopped with status 139!
- E [21/Feb/2004:16:51:32 +0100] [Job 7] No pages found!
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%EndResource
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%BeginResource: font Courier
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%CreationDate: Wed Dec 22 1999
- E [21/Feb/2004:16:51:32 +0100] PID 1553 stopped with status 1!
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%EndResource
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%BeginResource: procset texttops 1.1 0
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%EndResource
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%EndProlog
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%Page: 1 1
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%Page: 1 1
- D [21/Feb/2004:16:51:32 +0100] [Job 7] pw = 559.0, pl = 770.0
- D [21/Feb/2004:16:51:32 +0100] [Job 7] PageLeft = 18.0, PageRight = 577.0
- D [21/Feb/2004:16:51:32 +0100] [Job 7] PageTop = 806.0, PageBottom = 36.0
- D [21/Feb/2004:16:51:32 +0100] [Job 7] PageWidth = 595.0, PageLength = 842.0
- D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%Trailer
- D [21/Feb/2004:16:51:32 +0100] [Job 7] Saw Trailer!
- D [21/Feb/2004:16:51:32 +0100] [Job 7] Saw EOF!
- D [21/Feb/2004:16:51:32 +0100] UpdateJob: job 7, file 0 is complete.
- D [21/Feb/2004:16:51:32 +0100] CancelJob: id = 7
- D [21/Feb/2004:16:51:32 +0100] StopJob: id = 7, force = 0
- D [21/Feb/2004:16:51:32 +0100] StopJob: printer state is 3
|
log en mode normal sur le serveur : Job 302 queued on 'hp' by 'nobody'.
Started backend /usr/lib/cups/backend/parallel (PID 2130) for job 302.
pas d'erreur en mode warn et debug ... Message édité par GUG le 20-02-2004 à 18:33:12
|