Cups + zewnetrzne drivery - nie drukuje.
Michal Wisniewski
mwisniew w wst-e.edu.pl
Sob, 2 Paź 2004, 15:15:09 CEST
Witam,
Mam problem z uruchomieniem drukarki canon i320. Canon stwierdzil ze do
tej drukarki nie ma i nigdy nie powstana unixowe drivery. Istniej jednak
taki projekt:
http://www.turboprint.de/english.html
Moja drukarka jest wspierana. Sprawdzalem na wersji 1.89 i 1.90. Cups w
wersji z AC oraz z CVS.
cups-filter-foomatic-3.0.1-2
cups-lib-1.1.21-1
cups-backend-usb-1.1.21-1
cups-clients-1.1.21-1
cups-devel-1.1.21-1
cups-1.1.21-1
cups-image-lib-1.1.21-1
Moduly do usb:
ehci_hcd 28292 0
ohci_hcd 18436 0
usbcore 104548 6 uhci_hcd,usblp,ehci_hcd,ohci_hcd
lspci
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev
a4) (prog-if 10 [OHCI])
Subsystem: nVidia Corporation: Unknown device 0c11
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 177
Memory at e4001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev
a4) (prog-if 10 [OHCI])
Subsystem: nVidia Corporation: Unknown device 0c11
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 185
Memory at e4002000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Drukarka jest rozpoznawana i dodaje sie poprawnie. Dzieki tym driverom
mam poprostu dodatkowe opcje modeli drukarek w kreatorze Cupsa. Dzieki
softowi dolaczonemu z driverami udalo mi sie nawet wydrukowac strone
kalibracyjna drukarki. Ale strona testowa jush nie przechodzi. Ogolnie
gdy chce cos wydrukowac to zadanie od razu przechodzi mi na liste prac
skonczonych. W logach zostaj mnie wiecej cos takiego( na poziomie debug2):
D [01/Oct/2004:20:11:36 +0200] StartJob: argv =
"i320","37","michal","dokument","1","multiple-document-handling=separate-documents-collated-copies
orientation-requested=3","/var/spool/cups/d00037-001"
D [01/Oct/2004:20:11:36 +0200] StartJob:
envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[2]="USER=root"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[3]="CHARSET=iso-8859-1"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[4]="LANG=en"
D [01/Oct/2004:20:11:36 +0200] StartJob:
envp[5]="PPD=/etc/cups/ppd/i320.ppd"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[8]="TMPDIR=/tmp"
D [01/Oct/2004:20:11:36 +0200] StartJob:
envp[9]="CONTENT_TYPE=application/postscript"
D [01/Oct/2004:20:11:36 +0200] StartJob:
envp[10]="DEVICE_URI=usb:/dev/usb/lp0"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[11]="PRINTER=i320"
D [01/Oct/2004:20:11:36 +0200] StartJob:
envp[12]="CUPS_DATADIR=/usr/share/cups"
D [01/Oct/2004:20:11:36 +0200] StartJob:
envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[14]="CUPS_SERVER=localhost"
D [01/Oct/2004:20:11:36 +0200] StartJob: envp[15]="IPP_PORT=631"
[ciach]
WriteClient: Removing fd 7 from OutputSet...
d [01/Oct/2004:20:11:36 +0200] ReadClient() 7, used=0
D [01/Oct/2004:20:11:36 +0200] CloseClient() 7
d [01/Oct/2004:20:11:36 +0200] CloseClient: Removing fd 7 from InputSet
and OutputSet...
D [01/Oct/2004:20:11:36 +0200] [Job 37] LPGETSTATUS returned a port
status of 18...
***W [01/Oct/2004:20:11:36 +0200] [Job 37] Media tray empty!****
D [01/Oct/2004:20:11:36 +0200] [Job 37] Page = 595x842; 10,20 to 586,833
D [01/Oct/2004:20:11:36 +0200] [Job 37] slowcollate=0, slowduplex=0,
sloworder=0
[ciach]
[01/Oct/2004:20:11:36 +0200] PID 10160 exited with no errors.
***D [01/Oct/2004:20:11:37 +0200] [Job 37] tpprint: cannot read -sx***
d [01/Oct/2004:20:11:38 +0200] PID 10161 exited with no errors.
I [01/Oct/2004:20:11:38 +0200] [Job 37] Ready to print.
d [01/Oct/2004:20:11:38 +0200] PID 10162 exited with no errors.
D [01/Oct/2004:20:11:38 +0200] UpdateJob: job 37, file 0 is complete.
d [01/Oct/2004:20:11:38 +0200] UpdateJob: Removing fd 8 from InputSet...
I na koniec:
W [01/Oct/2004:20:11:38 +0200] [Job 37] Media tray empty!
D [01/Oct/2004:20:11:38 +0200] [Job 37] tpprint: cannot read -sx
I [01/Oct/2004:20:11:38 +0200] [Job 37] Ready to print.
d [01/Oct/2004:20:11:38 +0200] PID 10196 exited with no errors.
d [01/Oct/2004:20:11:38 +0200] PID 10200 exited with no errors.
D [01/Oct/2004:20:11:38 +0200] UpdateJob: job 37, file 2 is complete.
d [01/Oct/2004:20:11:38 +0200] UpdateJob: Removing fd 7 from InputSet...
D [01/Oct/2004:20:11:38 +0200] CancelJob: id = 37
D [01/Oct/2004:20:11:38 +0200] StopJob: id = 37, force = 0
D [01/Oct/2004:20:11:38 +0200] StopJob: printer state is 3
d [01/Oct/2004:20:11:38 +0200] StopJob: Freeing status buffer...
d [01/Oct/2004:20:11:38 +0200] SaveJob: Closing file 7...
d [01/Oct/2004:20:11:38 +0200] SaveJob: Closing file 7...
Nie wiem co oznacza: Media tray empty!. Googlowalem ale jescze nic
ciekawego nie znalazlem. Nie wiem czy to problem Cupsa czy tych
Driverow. Jezeli to drivery to rozumiem ze nie sa wspierane w PLD, ale
moze naprowadzicie mnie na dobry kierunek. Jescze printer.conf
cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.1.21
# Written by cupsd on pią 01 paź 2004 23:08:39 CEST
<DefaultPrinter i320>
Info Canon_i320
Location
DeviceURI usb:/dev/usb/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
AllowUser michal
AllowUser root
</Printer>
Acha, kiedy w menu KDE Centrum sterowania Peryferyjne --> Drukarki.
PRobuje zrestartowac Cupsa (nawet w trybie administratora) dostaje
komunikat:
"Unable to find running Cups server."
Przy "recznym" restartcie cupsa zadnych problemow nie zauwazylem.
Pozdrawiam i dzieki za odpowiedzi.
--
Best regards, Michal Wisniewski
mwisniew w wst-e.edu(.)pl
Mobile +48697330378 GG 0x21CEC8
"Predzej sam siebie zgasze, niz się wypale." F. Nietzsche
Więcej informacji o liście dyskusyjnej pld-users-pl