Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
snunezcr
n00b
n00b


Joined: 21 Jan 2006
Posts: 30
Location: Costa Rica National Center for High Technology

PostPosted: Thu Jul 06, 2006 5:42 pm    Post subject: CUPS problem Reply with quote

Hi everyone,


I've recently installed cups on my machine, a Compaq Armada M 300 (the small ones) with Gentoo 2006.0 kernel 2.6.16. I have a Canon LBP-1760 and followed all steps from compilation to driver install. The printer is recognized, in raw mode it sends data to the printer (even if it can not interpret raw data, just for testing communication problems) but when I use the pxlmono Canon LBP-1760 driver all printer jobs are aborted immediately.

Any ideas on this?


Thanks.
_________________
Santiago Núñez
CENAT-ITCR
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Jul 06, 2006 6:17 pm    Post subject: Reply with quote

You have to change the LogLevel in /etc/cups/cupsd.conf to debug.

Change
Code:
LogLevel info
to
Code:
LogLevel debug

then restart cupsd.
Code:
/etc/init.d/cupsd restart

Then print something and then post the contents of /var/log/cups/error_log
Back to top
View user's profile Send private message
snunezcr
n00b
n00b


Joined: 21 Jan 2006
Posts: 30
Location: Costa Rica National Center for High Technology

PostPosted: Thu Jul 06, 2006 6:55 pm    Post subject: CUPS output Reply with quote

Thanks.


Here's the cupsd output

Code:

I [06/Jul/2006:12:48:05 -0600] Listening to 0:631
D [06/Jul/2006:12:48:05 -0600] AddLocation: added location '/'
D [06/Jul/2006:12:48:05 -0600] DenyIP: / deny 00000000/00000000
D [06/Jul/2006:12:48:05 -0600] AllowIP: / allow 7f000001/ffffffff
D [06/Jul/2006:12:48:05 -0600] AddLocation: added location '/admin'
D [06/Jul/2006:12:48:05 -0600] DenyIP: /admin deny 00000000/00000000
D [06/Jul/2006:12:48:05 -0600] AllowIP: /admin allow 7f000001/ffffffff
I [06/Jul/2006:12:48:05 -0600] Loaded configuration file "/etc/cups/cupsd.conf"
I [06/Jul/2006:12:48:05 -0600] Configured for up to 100 clients.
I [06/Jul/2006:12:48:05 -0600] Allowing up to 100 client connections per host.
I [06/Jul/2006:12:48:05 -0600] Full reload is required.
D [06/Jul/2006:12:48:05 -0600] LoadAllPrinters: Loading printer canon_lbp1760...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "ipp"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "lpd"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp0"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp1"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp2"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp3"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp4"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp5"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp6"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp7"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp8"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp9"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp10"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp11"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp12"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp13"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp14"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "usb:/dev/usb/lp15"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "http"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "scsi"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "parallel:/dev/lp0"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "serial:/dev/ttyS2?baud=115200"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "serial:/dev/ttyS3?baud=115200"...
D [06/Jul/2006:12:48:05 -0600] LoadDevices: Added device "socket"...
I [06/Jul/2006:12:48:05 -0600] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [06/Jul/2006:12:48:05 -0600] LoadPPDs: No new or changed PPDs...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Scanning /var/spool/cups...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 5...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 6...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 7...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 8...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 9...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 10...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 11...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 12...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 13...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 14...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 15...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 16...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 17...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 18...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 19...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 20...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 21...
D [06/Jul/2006:12:48:05 -0600] LoadAllJobs: Loading attributes for job 22...
I [06/Jul/2006:12:48:05 -0600] Full reload complete.
D [06/Jul/2006:12:48:05 -0600] StartListening: NumListeners=1
D [06/Jul/2006:12:48:05 -0600] StartListening: address=00000000 port=631
D [06/Jul/2006:12:48:05 -0600] ResumeListening: setting input bits...
D [06/Jul/2006:12:48:58 -0600] AcceptClient: 5 from localhost:631.
D [06/Jul/2006:12:48:58 -0600] ReadClient: 5 POST / HTTP/1.1
D [06/Jul/2006:12:48:58 -0600] ProcessIPPRequest: 5 status_code=1
D [06/Jul/2006:12:48:58 -0600] ReadClient: 5 POST / HTTP/1.1
D [06/Jul/2006:12:48:58 -0600] ProcessIPPRequest: 5 status_code=1
D [06/Jul/2006:12:48:58 -0600] ReadClient: 5 POST / HTTP/1.1
D [06/Jul/2006:12:48:58 -0600] ProcessIPPRequest: 5 status_code=0
D [06/Jul/2006:12:48:58 -0600] CloseClient: 5
D [06/Jul/2006:12:48:58 -0600] AcceptClient: 5 from localhost:631.
D [06/Jul/2006:12:48:58 -0600] ReadClient: 5 POST /printers/canon_lbp1760 HTTP/1.1
D [06/Jul/2006:12:48:58 -0600] print_job: auto-typing file...
D [06/Jul/2006:12:48:58 -0600] print_job: request file type is application/postscript.
D [06/Jul/2006:12:48:58 -0600] check_quotas: requesting-user-name = 'snunez'
D [06/Jul/2006:12:48:58 -0600] print_job: requesting-user-name = 'snunez'
I [06/Jul/2006:12:48:58 -0600] Adding start banner page "none" to job 23.
I [06/Jul/2006:12:48:58 -0600] Adding end banner page "none" to job 23.
I [06/Jul/2006:12:48:58 -0600] Job 23 queued on 'canon_lbp1760' by 'snunez'.
D [06/Jul/2006:12:48:58 -0600] Job 23 hold_until = 0
D [06/Jul/2006:12:48:58 -0600] StartJob(23, 0x8094668)
D [06/Jul/2006:12:48:58 -0600] StartJob() id = 23, file = 0/1
D [06/Jul/2006:12:48:58 -0600] job-sheets=none,none
D [06/Jul/2006:12:48:58 -0600] banner_page = 0
D [06/Jul/2006:12:48:58 -0600] StartJob: argv = "canon_lbp1760","23","snunez","(stdin)","1","","/var/spool/cups/d00023-001"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[2]="USER=root"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[3]="CHARSET=iso-8859-1"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[4]="LANG=en"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[5]="PPD=/etc/cups/ppd/canon_lbp1760.ppd"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[9]="CONTENT_TYPE=application/postscript"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[10]="DEVICE_URI=parallel:/dev/lp0"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[11]="PRINTER=canon_lbp1760"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[14]="CUPS_SERVER=localhost"
D [06/Jul/2006:12:48:58 -0600] StartJob: envp[15]="IPP_PORT=631"
D [06/Jul/2006:12:48:58 -0600] StartJob: statusfds = [ 7 8 ]
D [06/Jul/2006:12:48:58 -0600] StartJob: filterfds[1] = [ 9 -1 ]
D [06/Jul/2006:12:48:58 -0600] StartJob: filter = "/usr/lib/cups/filter/pstops"
D [06/Jul/2006:12:48:58 -0600] StartJob: filterfds[0] = [ 10 12 ]
D [06/Jul/2006:12:48:58 -0600] start_process("/usr/lib/cups/filter/pstops", 0xbfefe2d0, 0xbfefd640, 9, 12, 8)
I [06/Jul/2006:12:48:58 -0600] Started filter /usr/lib/cups/filter/pstops (PID 10797) for job 23.
D [06/Jul/2006:12:48:58 -0600] StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
D [06/Jul/2006:12:48:58 -0600] StartJob: filterfds[1] = [ 9 13 ]
D [06/Jul/2006:12:48:58 -0600] start_process("/usr/lib/cups/filter/foomatic-rip", 0xbfefe2d0, 0xbfefd640, 10, 13, 8)
I [06/Jul/2006:12:48:58 -0600] Started filter /usr/lib/cups/filter/foomatic-rip (PID 10798) for job 23.
D [06/Jul/2006:12:48:58 -0600] StartJob: backend = "/usr/lib/cups/backend/parallel"
D [06/Jul/2006:12:48:58 -0600] StartJob: filterfds[0] = [ -1 10 ]
D [06/Jul/2006:12:48:58 -0600] start_process("/usr/lib/cups/backend/parallel", 0xbfefe2d0, 0xbfefd640, 9, 10, 8)
I [06/Jul/2006:12:48:58 -0600] Started backend /usr/lib/cups/backend/parallel (PID 10799) for job 23.
D [06/Jul/2006:12:48:58 -0600] ProcessIPPRequest: 5 status_code=0
D [06/Jul/2006:12:48:58 -0600] CloseClient: 5
D [06/Jul/2006:12:48:58 -0600] [Job 23] /usr/lib/cups/filter/foomatic-rip: No such file or directory
E [06/Jul/2006:12:48:58 -0600] PID 10798 stopped with status 22!
D [06/Jul/2006:12:48:58 -0600] [Job 23] Page = 612x792; 0,0 to 612,792
D [06/Jul/2006:12:48:58 -0600] [Job 23] slowcollate=0, slowduplex=0, sloworder=0
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%Creator: xpdf/pdftops 3.00
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%LanguageLevel: 2
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%DocumentSuppliedResources: (atend)
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%DocumentMedia: plain 595 842 0 () ()
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BoundingBox: 0 0 595 842
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%Pages: 1
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndComments
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginDefaults
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%PageMedia: plain
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndDefaults
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginProlog
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginResource: procset xpdf 3.00 0
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndResource
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndProlog
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginSetup
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginResource: font ULRZVS+CMSY10
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndResource
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginResource: font EYQZHN+Helvetica~9d
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndResource
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginResource: font QLNEKA+Helvetica~9a
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndResource
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginResource: font ZQWEVX+Helvetica
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndResource
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndSetup
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%Page: 1 1
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%Page: 1 1
D [06/Jul/2006:12:48:58 -0600] [Job 23] pw = 612.0, pl = 792.0
D [06/Jul/2006:12:48:58 -0600] [Job 23] PageLeft = 0.0, PageRight = 612.0
D [06/Jul/2006:12:48:58 -0600] [Job 23] PageTop = 792.0, PageBottom = 0.0
D [06/Jul/2006:12:48:58 -0600] [Job 23] PageWidth = 612.0, PageLength = 792.0
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%BeginPageSetup
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%PageOrientation: Portrait
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%EndPageSetup
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%PageTrailer
D [06/Jul/2006:12:48:58 -0600] [Job 23] 0 %%Trailer
D [06/Jul/2006:12:48:58 -0600] [Job 23] Saw Trailer!
D [06/Jul/2006:12:48:58 -0600] [Job 23] Saw EOF!
D [06/Jul/2006:12:49:01 -0600] UpdateJob: job 23, file 0 is complete.
D [06/Jul/2006:12:49:01 -0600] CancelJob: id = 23
D [06/Jul/2006:12:49:01 -0600] StopJob: id = 23, force = 0
D [06/Jul/2006:12:49:01 -0600] StopJob: printer state is 3
D [06/Jul/2006:12:49:22 -0600] AcceptClient: 5 from localhost:631.
D [06/Jul/2006:12:49:22 -0600] ReadClient: 5 GET /printers/canon_lbp1760 HTTP/1.1
D [06/Jul/2006:12:49:23 -0600] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 10810
I [06/Jul/2006:12:49:23 -0600] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=10810)
D [06/Jul/2006:12:49:23 -0600] SendCommand: 5 file=8
D [06/Jul/2006:12:49:25 -0600] AcceptClient: 7 from localhost:631.
D [06/Jul/2006:12:49:25 -0600] ReadClient: 7 POST / HTTP/1.1
D [06/Jul/2006:12:49:25 -0600] ProcessIPPRequest: 7 status_code=1
D [06/Jul/2006:12:49:25 -0600] ReadClient: 7 POST / HTTP/1.1
D [06/Jul/2006:12:49:25 -0600] ProcessIPPRequest: 7 status_code=1
D [06/Jul/2006:12:49:25 -0600] ReadClient: 7 POST / HTTP/1.1
D [06/Jul/2006:12:49:25 -0600] ProcessIPPRequest: 7 status_code=1
D [06/Jul/2006:12:49:25 -0600] CloseClient: 7
D [06/Jul/2006:12:49:30 -0600] ReadClient: 5 GET /printers/canon_lbp1760?op=print-test-page HTTP/1.1
D [06/Jul/2006:12:49:30 -0600] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 10816
I [06/Jul/2006:12:49:30 -0600] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=10816)
D [06/Jul/2006:12:49:30 -0600] SendCommand: 5 file=8
D [06/Jul/2006:12:49:31 -0600] AcceptClient: 7 from localhost:631.
D [06/Jul/2006:12:49:32 -0600] ReadClient: 7 POST /printers/canon_lbp1760 HTTP/1.1
D [06/Jul/2006:12:49:32 -0600] print_job: request file type is application/postscript.
D [06/Jul/2006:12:49:32 -0600] check_quotas: requesting-user-name = 'root'
D [06/Jul/2006:12:49:32 -0600] print_job: requesting-user-name = 'root'
D [06/Jul/2006:12:49:32 -0600] Adding default job-sheets values "none,none"...
I [06/Jul/2006:12:49:32 -0600] Adding start banner page "none" to job 24.
I [06/Jul/2006:12:49:32 -0600] Adding end banner page "none" to job 24.
I [06/Jul/2006:12:49:32 -0600] Job 24 queued on 'canon_lbp1760' by 'root'.
D [06/Jul/2006:12:49:32 -0600] Job 24 hold_until = 0
D [06/Jul/2006:12:49:32 -0600] StartJob(24, 0x8094668)
D [06/Jul/2006:12:49:32 -0600] StartJob() id = 24, file = 0/1
D [06/Jul/2006:12:49:32 -0600] job-sheets=none,none
D [06/Jul/2006:12:49:32 -0600] banner_page = 0
D [06/Jul/2006:12:49:32 -0600] StartJob: argv = "canon_lbp1760","24","root","Test Page","1","","/var/spool/cups/d00024-001"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[2]="USER=root"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[3]="CHARSET=utf-8"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[4]="LANG=en_US"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[5]="PPD=/etc/cups/ppd/canon_lbp1760.ppd"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[9]="CONTENT_TYPE=application/postscript"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[10]="DEVICE_URI=parallel:/dev/lp0"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[11]="PRINTER=canon_lbp1760"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[14]="CUPS_SERVER=localhost"
D [06/Jul/2006:12:49:32 -0600] StartJob: envp[15]="IPP_PORT=631"
D [06/Jul/2006:12:49:32 -0600] StartJob: statusfds = [ 9 10 ]
D [06/Jul/2006:12:49:32 -0600] StartJob: filterfds[1] = [ 12 -1 ]
D [06/Jul/2006:12:49:32 -0600] StartJob: filter = "/usr/lib/cups/filter/pstops"
D [06/Jul/2006:12:49:32 -0600] StartJob: filterfds[0] = [ 13 14 ]
D [06/Jul/2006:12:49:32 -0600] start_process("/usr/lib/cups/filter/pstops", 0xbfefe2d0, 0xbfefd640, 12, 14, 10)
I [06/Jul/2006:12:49:32 -0600] Started filter /usr/lib/cups/filter/pstops (PID 10818) for job 24.
D [06/Jul/2006:12:49:32 -0600] StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
D [06/Jul/2006:12:49:32 -0600] StartJob: filterfds[1] = [ 12 15 ]
D [06/Jul/2006:12:49:32 -0600] start_process("/usr/lib/cups/filter/foomatic-rip", 0xbfefe2d0, 0xbfefd640, 13, 15, 10)
I [06/Jul/2006:12:49:32 -0600] Started filter /usr/lib/cups/filter/foomatic-rip (PID 10819) for job 24.
D [06/Jul/2006:12:49:32 -0600] StartJob: backend = "/usr/lib/cups/backend/parallel"
D [06/Jul/2006:12:49:32 -0600] StartJob: filterfds[0] = [ -1 13 ]
D [06/Jul/2006:12:49:32 -0600] start_process("/usr/lib/cups/backend/parallel", 0xbfefe2d0, 0xbfefd640, 12, 13, 10)
I [06/Jul/2006:12:49:32 -0600] Started backend /usr/lib/cups/backend/parallel (PID 10820) for job 24.
D [06/Jul/2006:12:49:32 -0600] ProcessIPPRequest: 7 status_code=0
E [06/Jul/2006:12:49:32 -0600] PID 10819 stopped with status 22!
D [06/Jul/2006:12:49:32 -0600] [Job 24] /usr/lib/cups/filter/foomatic-rip: No such file or directory
D [06/Jul/2006:12:49:32 -0600] CloseClient: 7
D [06/Jul/2006:12:49:32 -0600] [Job 24] Page = 612x792; 0,0 to 612,792
D [06/Jul/2006:12:49:32 -0600] [Job 24] slowcollate=0, slowduplex=0, sloworder=0
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%BoundingBox: 0 0 612 792
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%Pages: 1
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%LanguageLevel: 1
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%DocumentData: Clean7Bit
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%DocumentSuppliedResources: procset testprint/1.1
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%Creator: Michael Sweet, Easy Software Products
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%CreationDate: May 11, 1999
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%Title: Test Page
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%EndComments
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%BeginProlog
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%BeginResource procset testprint 1.1 0
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%EndResource
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%EndProlog
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%Page: 1 1
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%Page: 1 1
D [06/Jul/2006:12:49:32 -0600] [Job 24] pw = 612.0, pl = 792.0
D [06/Jul/2006:12:49:32 -0600] [Job 24] PageLeft = 0.0, PageRight = 612.0
D [06/Jul/2006:12:49:32 -0600] [Job 24] PageTop = 792.0, PageBottom = 0.0
D [06/Jul/2006:12:49:32 -0600] [Job 24] PageWidth = 612.0, PageLength = 792.0
D [06/Jul/2006:12:49:32 -0600] [Job 24] 0 %%EOF
D [06/Jul/2006:12:49:32 -0600] [Job 24] Saw EOF!
D [06/Jul/2006:12:49:33 -0600] UpdateJob: job 24, file 0 is complete.
D [06/Jul/2006:12:49:33 -0600] CancelJob: id = 24
D [06/Jul/2006:12:49:33 -0600] StopJob: id = 24, force = 0
D [06/Jul/2006:12:49:33 -0600] StopJob: printer state is 3

_________________
Santiago Núñez
CENAT-ITCR
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Jul 06, 2006 6:58 pm    Post subject: Reply with quote

Do you have foomatic-filters emerged?
Back to top
View user's profile Send private message
snunezcr
n00b
n00b


Joined: 21 Jan 2006
Posts: 30
Location: Costa Rica National Center for High Technology

PostPosted: Thu Jul 06, 2006 7:26 pm    Post subject: CUPS output Reply with quote

Ok, I've just emerged foomatic-filters and this appeared in the error log:

Code:

D [06/Jul/2006:13:01:42 -0600] [Job 26] 0 %%EndComments
D [06/Jul/2006:13:01:42 -0600] [Job 26] 0 %%BeginProlog
D [06/Jul/2006:13:01:42 -0600] [Job 26] 0 %%BeginResource procset testprint 1.1
0
D [06/Jul/2006:13:01:42 -0600] [Job 26] 0 %%EndResource
D [06/Jul/2006:13:01:42 -0600] [Job 26] 0 %%EndProlog
D [06/Jul/2006:13:01:42 -0600] [Job 26] 0 %%Page: 1 1
D [06/Jul/2006:13:01:42 -0600] [Job 26] 0 %%Page: 1 1
D [06/Jul/2006:13:01:42 -0600] [Job 26] pw = 612.0, pl = 792.0
D [06/Jul/2006:13:01:42 -0600] [Job 26] PageLeft = 0.0, PageRight = 612.0
D [06/Jul/2006:13:01:42 -0600] [Job 26] PageTop = 792.0, PageBottom = 0.0
D [06/Jul/2006:13:01:42 -0600] [Job 26] PageWidth = 612.0, PageLength = 792.0
D [06/Jul/2006:13:01:42 -0600] [Job 26] 0 %%EOF
D [06/Jul/2006:13:01:42 -0600] [Job 26] Saw EOF!
D [06/Jul/2006:13:01:42 -0600] [Job 26] /usr/lib/cups/filter/foomatic-rip: No su
ch file or directory
D [06/Jul/2006:13:01:42 -0600] CloseClient: 8
D [06/Jul/2006:13:01:42 -0600] UpdateJob: job 26, file 0 is complete.
D [06/Jul/2006:13:01:42 -0600] CancelJob: id = 26
D [06/Jul/2006:13:01:42 -0600] StopJob: id = 26, force = 0
D [06/Jul/2006:13:01:42 -0600] StopJob: printer state is 3
D [06/Jul/2006:13:02:52 -0600] CloseClient: 5


Also I tried using kde print manager, now it has the printer DB but after selecting the right model it says that the driver doesn't exist.
_________________
Santiago Núñez
CENAT-ITCR
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Jul 06, 2006 7:42 pm    Post subject: Reply with quote

What is the output of these:
Code:
emerge cups foomatic foomatic-filters foomatic-db -pv
equery files foomatic-filters

Was the cups USE flag enabled? The error shows foomatic-rip is still missing.

Edit: Don't re-add the printer using kde print manager. We want to keep things constant while narrowing the issue down.
Back to top
View user's profile Send private message
snunezcr
n00b
n00b


Joined: 21 Jan 2006
Posts: 30
Location: Costa Rica National Center for High Technology

PostPosted: Thu Jul 06, 2006 7:47 pm    Post subject: CUPS output Reply with quote

For the first case,


Code:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-print/cups-1.1.23-r7  -gnutls -nls -pam -samba -slp -ssl 0 kB
[ebuild   R   ] net-print/foomatic-3.0.2  0 kB
[ebuild   R   ] net-print/foomatic-filters-3.0.2-r1  -cups -samba 0 kB
[ebuild   R   ] net-print/foomatic-db-20050910  -cups -ppds 0 kB

Total size of downloads: 0 kB



and the second case, I can't do an equery (can't find the command)
_________________
Santiago Núñez
CENAT-ITCR
Back to top
View user's profile Send private message
snunezcr
n00b
n00b


Joined: 21 Jan 2006
Posts: 30
Location: Costa Rica National Center for High Technology

PostPosted: Thu Jul 06, 2006 8:29 pm    Post subject: CUPS problem [SOLVED] Reply with quote

Thanks, re-emerging with cups flag did the trick.
_________________
Santiago Núñez
CENAT-ITCR
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Jul 06, 2006 11:41 pm    Post subject: Re: CUPS problem [SOLVED] Reply with quote

snunezcr wrote:
Thanks, re-emerging with cups flag did the trick.

Glad it works.

equery is part of the gentoolkit package. It's a very valuable portage tool and would be worthwhile to install. It can tell you among other things: what files a ebuild installs, and what USE flags for a package do/add.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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