View previous topic :: View next topic |
Author |
Message |
Dorgendubal Apprentice
Joined: 24 Apr 2003 Posts: 231 Location: Switzerland (Zürich)
|
Posted: Fri May 02, 2003 3:27 pm Post subject: Cups + PPD files |
|
|
I'm trying to install cups...
I downloaded the PPD (driver) file for my printer (Laser Brother HL-820 on parallel port). I configured everything on localhost:631 and wanted to print a test page BUT nothing happened. The printer just wait and the job is directly set as aborted.
I read the /var/log/cups/errors.log but i could't solve my problem:
I [02/May/2003:17:13:21 +0200] Listening to 7f000001:631
D [02/May/2003:17:13:21 +0200] AddLocation: added location '/'
D [02/May/2003:17:13:21 +0200] DenyIP: / deny 00000000/00000000
D [02/May/2003:17:13:21 +0200] AllowIP: / allow 7f000001/ffffffff
D [02/May/2003:17:13:21 +0200] AddLocation: added location '/admin'
D [02/May/2003:17:13:21 +0200] DenyIP: /admin deny 00000000/00000000
D [02/May/2003:17:13:21 +0200] AllowIP: /admin allow 7f000001/ffffffff
D [02/May/2003:17:13:21 +0200] ReadConfiguration() ConfigurationFile="/etc/cups/cupsd.conf"
I [02/May/2003:17:13:22 +0200] Configured for up to 100 clients.
I [02/May/2003:17:13:22 +0200] Allowing up to 10 client connections per host.
D [02/May/2003:17:13:22 +0200] LoadAllPrinters: Loading printer Brother...
I [02/May/2003:17:13:22 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 200 PPDs...
I [02/May/2003:17:13:22 +0200] LoadPPDs: No new or changed PPDs...
D [02/May/2003:17:13:22 +0200] LoadDevices: Added device "ipp"...
D [02/May/2003:17:13:22 +0200] LoadDevices: Added device "lpd"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "smb"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp0"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp1"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp2"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp3"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp4"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp5"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp6"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp7"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp8"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp9"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp10"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp11"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp12"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp13"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp14"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "usb:/dev/usblp15"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "http"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "scsi"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "canon:/dev/lp0"...
D [02/May/2003:17:13:23 +0200] LoadDevices: Added device "epson:/dev/lp0"...
D [02/May/2003:17:13:24 +0200] LoadDevices: Added device "parallel:/dev/lp0"...
D [02/May/2003:17:13:24 +0200] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"...
D [02/May/2003:17:13:24 +0200] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"...
D [02/May/2003:17:13:24 +0200] LoadDevices: Added device "socket"...
D [02/May/2003:17:13:24 +0200] StartListening: NumListeners=1
D [02/May/2003:17:13:24 +0200] StartListening: address=7f000001 port=631
D [02/May/2003:17:13:24 +0200] ResumeListening: setting input bits...
D [02/May/2003:17:13:24 +0200] LoadAllJobs: Scanning /var/spool/cups...
D [02/May/2003:17:13:24 +0200] LoadAllJobs: Loading attributes for job 58...
D [02/May/2003:17:13:24 +0200] LoadAllJobs: Loading attributes for job 59...
D [02/May/2003:17:13:24 +0200] LoadAllJobs: Loading attributes for job 60...
D [02/May/2003:17:13:24 +0200] LoadAllJobs: Loading attributes for job 61...
D [02/May/2003:17:14:21 +0200] AcceptClient() 3 from localhost:631.
D [02/May/2003:17:14:21 +0200] ReadClient() 3 POST / HTTP/1.1
D [02/May/2003:17:14:21 +0200] ProcessIPPRequest: 3 status_code=0
D [02/May/2003:17:14:21 +0200] CloseClient() 3
D [02/May/2003:17:14:21 +0200] AcceptClient() 3 from localhost:631.
D [02/May/2003:17:14:21 +0200] ReadClient() 3 POST / HTTP/1.1
D [02/May/2003:17:14:21 +0200] ProcessIPPRequest: 3 status_code=0
D [02/May/2003:17:14:21 +0200] CloseClient() 3
D [02/May/2003:17:14:21 +0200] AcceptClient() 3 from localhost:631.
D [02/May/2003:17:14:21 +0200] ReadClient() 3 POST / HTTP/1.1
D [02/May/2003:17:14:21 +0200] ProcessIPPRequest: 3 status_code=0
D [02/May/2003:17:14:21 +0200] ReadClient() 3 POST /printers/Brother HTTP/1.1
D [02/May/2003:17:14:21 +0200] print_job: auto-typing file...
D [02/May/2003:17:14:21 +0200] print_job: request file type is application/postscript.
D [02/May/2003:17:14:21 +0200] check_quotas: requesting-user-name = 'root'
D [02/May/2003:17:14:21 +0200] print_job: requesting-user-name = 'root'
I [02/May/2003:17:14:21 +0200] Job 62 queued on 'Brother' by 'root'.
D [02/May/2003:17:14:21 +0200] Job 62 hold_until = 0
D [02/May/2003:17:14:21 +0200] StartJob(62, 0x8090c48)
D [02/May/2003:17:14:21 +0200] StartJob() id = 62, file = 0/1
D [02/May/2003:17:14:21 +0200] job-sheets=none,none
D [02/May/2003:17:14:21 +0200] banner_page = 0
D [02/May/2003:17:14:21 +0200] StartJob: argv = "Brother","62","root","camp03.ps","1","","/var/spool/cups/d00062-001"
D [02/May/2003:17:14:21 +0200] StartJob: envp = "PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=iso-8859-1","LANG=en","","PPD=/etc/cups/ppd/Brother.ppd","CUPS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=application/postscript","DEVICE_URI=parallel:/dev/lp0","PRINTER=Brother","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fonts","","",""
D [02/May/2003:17:14:21 +0200] StartJob: statusfds = 5, 6
D [02/May/2003:17:14:21 +0200] StartJob: filterfds[1] = 7, -1
D [02/May/2003:17:14:21 +0200] StartJob: filter = "/usr/lib/cups/filter/pstops"
D [02/May/2003:17:14:21 +0200] StartJob: filterfds[0] = 8, 9
D [02/May/2003:17:14:21 +0200] start_process("/usr/lib/cups/filter/pstops", 0xbfff1900, 0xbfff0db0, 7, 9, 6)
I [02/May/2003:17:14:21 +0200] Started filter /usr/lib/cups/filter/pstops (PID 6712) for job 62.
D [02/May/2003:17:14:21 +0200] StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
D [02/May/2003:17:14:21 +0200] StartJob: filterfds[1] = 7, 10
D [02/May/2003:17:14:21 +0200] start_process("/usr/lib/cups/filter/foomatic-rip", 0xbfff1900, 0xbfff0db0, 8, 10, 6)
I [02/May/2003:17:14:21 +0200] Started filter /usr/lib/cups/filter/foomatic-rip (PID 6713) for job 62.
D [02/May/2003:17:14:21 +0200] StartJob: backend = "/usr/lib/cups/backend/parallel"
D [02/May/2003:17:14:21 +0200] StartJob: filterfds[0] = -1, 8
D [02/May/2003:17:14:21 +0200] start_process("/usr/lib/cups/backend/parallel", 0xbfff1900, 0xbfff0db0, 7, 8, 6)
I [02/May/2003:17:14:21 +0200] Started backend /usr/lib/cups/backend/parallel (PID 6714) for job 62.
D [02/May/2003:17:14:21 +0200] ProcessIPPRequest: 3 status_code=0
E [02/May/2003:17:14:21 +0200] PID 6713 stopped with status 22!
D [02/May/2003:17:14:21 +0200] [Job 62] /usr/lib/cups/filter/foomatic-rip: No such file or directory
D [02/May/2003:17:14:21 +0200] [Job 62] Page = 612x792; 0,0 to 612,792
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%Pages: (atend)
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%BoundingBox: 0 0 524 756
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%HiResBoundingBox: 0.000000 0.000000 524.000000 755.700000
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%Creator: ESP Ghostscript 705 (pswrite)
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%CreationDate: 2003/05/02 16:35:40
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%DocumentData: Clean7Bit
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%LanguageLevel: 2
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%EndComments
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%BeginProlog
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%BeginResource: procset GS_pswrite_2_0_1001
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%EndResource
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%EndProlog
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%Page: 1 1
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%Page: 1 1
D [02/May/2003:17:14:21 +0200] [Job 62] pw = 612.0, pl = 792.0
D [02/May/2003:17:14:21 +0200] [Job 62] PageLeft = 0.0, PageRight = 612.0
D [02/May/2003:17:14:21 +0200] [Job 62] PageTop = 792.0, PageBottom = 0.0
D [02/May/2003:17:14:21 +0200] [Job 62] PageWidth = 612.0, PageLength = 792.0
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%BeginPageSetup
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%EndPageSetup
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%PageTrailer
D [02/May/2003:17:14:21 +0200] [Job 62] 0 %%Trailer
D [02/May/2003:17:14:21 +0200] [Job 62] Saw Trailer!
D [02/May/2003:17:14:21 +0200] [Job 62] Saw EOF!
D [02/May/2003:17:14:21 +0200] UpdateJob: job 62, file 0 is complete.
D [02/May/2003:17:14:21 +0200] CancelJob: id = 62
D [02/May/2003:17:14:21 +0200] StopJob: id = 62, force = 0
D [02/May/2003:17:14:21 +0200] StopJob: printer state is 3
D [02/May/2003:17:14:21 +0200] CloseClient() 3
Is there any CUPS expert ?? |
|
Back to top |
|
|
vapor n00b
Joined: 13 Jun 2002 Posts: 12 Location: Mount Shasta
|
Posted: Sat May 03, 2003 6:26 am Post subject: |
|
|
This could be the problem:
Quote: | E [02/May/2003:17:14:21 +0200] PID 6713 stopped with status 22!
D [02/May/2003:17:14:21 +0200] [Job 62] /usr/lib/cups/filter/foomatic-rip: No such file or directory |
I encountered this as well and it seems that the driver I grabbed from www.linuxprinting.org was generated for Foomatic 3.0.0 or newer which uses the foomatic-rip backend filter script.
The latest foomatic ebuild is 2.0.2 so what I did (after looking at the ebuild to see how difficult a 3.0.0 adaptation might be) was:
grabbed foomatic-filters-3.0.0.tar.gz from here.
$ tar -xzf foomatic-filters-3.0.0.tar.gz
$ ./configure
$ make
$ cp foomatic-rip /usr/lib/cups/filter/
It appears to work fine for me. |
|
Back to top |
|
|
Dorgendubal Apprentice
Joined: 24 Apr 2003 Posts: 231 Location: Switzerland (Zürich)
|
Posted: Sat May 03, 2003 11:35 am Post subject: |
|
|
Wonderful! It's working.
Thanks a lot.
(i love Gentoo) |
|
Back to top |
|
|
jimbo n00b
Joined: 17 Apr 2003 Posts: 31
|
Posted: Sat May 03, 2003 2:42 pm Post subject: |
|
|
It worked for me, as well. Thanks!
I never had problems with getting cups to work with my Samsung ML-1210 Laserjet until now.
Hope the Gentoo gods smile down upon us once more and fix this minor bug. _________________ Lian-Li PC-07
Athlon-XP 1900
512MB Crucial PC2100
Soltek SL-75FRV KT400
NVIDIA GF3 ti200
SBLive! |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat May 03, 2003 5:20 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
NorthGoingZax Apprentice
Joined: 03 Dec 2002 Posts: 189
|
Posted: Wed May 07, 2003 4:44 am Post subject: |
|
|
Made my HP DeskJet 5550 work great ! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|