CUPS on mini2440 error

Abhinit
Hi all,
        I'm trying to run CUPS on ARM architecture, The scheduler starts, I
added the printer, but I'm not able to print anything to my Deskjet
printer. No job-ID's are creater. Please help, Here's my error log:

I [19/Apr/2011:23:03:26 +0000] Listening to ::1:631 (IPv6)
I [19/Apr/2011:23:03:26 +0000] Listening to 127.0.0.1:631 (IPv4)
I [19/Apr/2011:23:03:26 +0000] Listening to /var/run/cups/cups.sock
(Domain)
I [19/Apr/2011:23:03:26 +0000] Remote access is disabled.
I [19/Apr/2011:23:03:26 +0000] Loaded configuration file
"/etc/cups/cupsd.conf"
I [19/Apr/2011:23:03:26 +0000] Using default TempDir of
/var/spool/cups/tmp...
I [19/Apr/2011:23:03:26 +0000] Configured for up to 100 clients.
I [19/Apr/2011:23:03:26 +0000] Allowing up to 100 client connections per
host.
I [19/Apr/2011:23:03:26 +0000] Using policy "default" as the default!
I [19/Apr/2011:23:03:26 +0000] Full reload is required.
I [19/Apr/2011:23:03:26 +0000] Loaded MIME database from '/etc/cups': 35
types, 37 filters...
I [19/Apr/2011:23:03:26 +0000] Full reload complete.
I [19/Apr/2011:23:03:26 +0000] Cleaning out old temporary files in
"/var/spool/cups/tmp"...
E [19/Apr/2011:23:03:26 +0000] Unable to open listen socket for address
::1:631 - Address family not supported by protocol.
I [19/Apr/2011:23:03:26 +0000] Listening to 127.0.0.1:631 on fd 4...
I [19/Apr/2011:23:03:26 +0000] Listening to /var/run/cups/cups.sock on fd
6...
I [19/Apr/2011:23:03:26 +0000] Resuming new connection processing...
E [19/Apr/2011:23:03:28 +0000] CUPS-Add-Modify-Printer: Unauthorized
I [19/Apr/2011:23:03:28 +0000] Setting Deskjet printer-is-accepting-jobs to
1 (was 1.)
I [19/Apr/2011:23:03:28 +0000] Setting Deskjet printer-state to 3 (was 5.)
I [19/Apr/2011:23:03:28 +0000] Saving printers.conf...
I [19/Apr/2011:23:03:28 +0000] Printer "Deskjet" modified by "root".
I [19/Apr/2011:23:03:28 +0000] Setting Deskjet device-uri to
"file:///dev/lp0"; (was "file:///dev/lp0";.)
I [19/Apr/2011:23:03:29 +0000] Saving printers.conf...
I [19/Apr/2011:23:03:29 +0000] Printer "Deskjet" modified by "root".
I [19/Apr/2011:23:03:29 +0000] Saving printers.conf...
I [19/Apr/2011:23:03:29 +0000] Printer "Deskjet" modified by "root".
E [19/Apr/2011:23:15:31 +0000] CUPS-Set-Default: Unauthorized
I [19/Apr/2011:23:15:31 +0000] Saving printers.conf...
I [19/Apr/2011:23:15:31 +0000] Saving classes.conf...
I [19/Apr/2011:23:15:31 +0000] Default destination set to "Deskjet" by
"root".
I [19/Apr/2011:23:15:51 +0000] [Job ???] Request file type is text/plain.
I [19/Apr/2011:23:53:24 +0000] [Job ???] Request file type is text/plain.
I [19/Apr/2011:23:56:14 +0000] Started "/usr/lib/cups/daemon/cups-deviced"
(pid=797)
E [20/Apr/2011:00:29:22 +0000] Unknown SystemGroup "lpadmin sys root" on
line 14, ignoring!
I [20/Apr/2011:00:29:22 +0000] Listening to ::1:631 (IPv6)
I [20/Apr/2011:00:29:22 +0000] Listening to 127.0.0.1:631 (IPv4)
I [20/Apr/2011:00:29:22 +0000] Listening to /var/run/cups/cups.sock
(Domain)
I [20/Apr/2011:00:29:22 +0000] Remote access is disabled.
I [20/Apr/2011:00:29:22 +0000] Loaded configuration file
"/etc/cups/cupsd.conf"
I [20/Apr/2011:00:29:22 +0000] Using default TempDir of
/var/spool/cups/tmp...
I [20/Apr/2011:00:29:22 +0000] Configured for up to 100 clients.
I [20/Apr/2011:00:29:22 +0000] Allowing up to 100 client connections per
host.
I [20/Apr/2011:00:29:22 +0000] Using policy "default" as the default!
I [20/Apr/2011:00:29:22 +0000] Full reload is required.
I [20/Apr/2011:00:29:22 +0000] Saving job cache file
"/var/cache/cups/job.cache"...
I [20/Apr/2011:00:29:22 +0000] Loaded MIME database from '/etc/cups': 35
types, 37 filters...
I [20/Apr/2011:00:29:22 +0000] Loading job cache file
"/var/cache/cups/job.cache"...
I [20/Apr/2011:00:29:22 +0000] Full reload complete.
E [20/Apr/2011:00:29:22 +0000] Unable to open listen socket for address
::1:631 - Address family not supported by protocol.
I [20/Apr/2011:00:29:22 +0000] Listening to 127.0.0.1:631 on fd 3...
I [20/Apr/2011:00:29:22 +0000] Listening to /var/run/cups/cups.sock on fd
5...
I [20/Apr/2011:00:29:22 +0000] Resuming new connection processing...
I [20/Apr/2011:00:30:03 +0000] [Job ???] Request file type is text/plain.
I [20/Apr/2011:00:31:04 +0000] [Job ???] Request file type is text/plain.
I [20/Apr/2011:00:32:57 +0000] [Job ???] Request file type is text/plain.
E [20/Apr/2011:00:40:49 +0000] Unknown SystemGroup "lpadmin sys root" on
line 14, ignoring!
I [20/Apr/2011:00:40:49 +0000] Listening to ::1:631 (IPv6)
I [20/Apr/2011:00:40:49 +0000] Listening to 127.0.0.1:631 (IPv4)
I [20/Apr/2011:00:40:49 +0000] Listening to /var/run/cups/cups.sock
(Domain)
I [20/Apr/2011:00:40:49 +0000] Remote access is disabled.
I [20/Apr/2011:00:40:49 +0000] Loaded configuration file
"/etc/cups/cupsd.conf"
I [20/Apr/2011:00:40:49 +0000] Using default TempDir of
/var/spool/cups/tmp...
I [20/Apr/2011:00:40:49 +0000] Configured for up to 100 clients.
I [20/Apr/2011:00:40:49 +0000] Allowing up to 100 client connections per
host.
I [20/Apr/2011:00:40:49 +0000] Using policy "default" as the default!
I [20/Apr/2011:00:40:49 +0000] Full reload is required.
I [20/Apr/2011:00:40:49 +0000] Saving job cache file
"/var/cache/cups/job.cache"...
I [20/Apr/2011:00:40:49 +0000] Loaded MIME database from '/etc/cups': 35
types, 37 filters...
I [20/Apr/2011:00:40:49 +0000] Loading job cache file
"/var/cache/cups/job.cache"...
I [20/Apr/2011:00:40:49 +0000] Full reload complete.
E [20/Apr/2011:00:40:49 +0000] Unable to open listen socket for address
::1:631 - Address family not supported by protocol.
I [20/Apr/2011:00:40:49 +0000] Listening to 127.0.0.1:631 on fd 3...
I [20/Apr/2011:00:40:49 +0000] Listening to /var/run/cups/cups.sock on fd
5...
I [20/Apr/2011:00:40:49 +0000] Resuming new connection processing...
I [20/Apr/2011:00:41:07 +0000] [Job ???] Request file type is text/plain.
I [20/Apr/2011:00:44:05 +0000] Started "/usr/lib/cups/daemon/cups-deviced"
(pid=926)
I [20/Apr/2011:00:45:21 +0000] Started "/usr/lib/cups/daemon/cups-deviced"
(pid=953)
I [20/Apr/2011:00:47:07 +0000] Started "/usr/lib/cups/daemon/cups-deviced"
(pid=978)
E [20/Apr/2011:00:57:29 +0000] Unknown SystemGroup "lpadmin sys root" on
line 14, ignoring!
I [20/Apr/2011:00:57:29 +0000] Listening to ::1:631 (IPv6)
I [20/Apr/2011:00:57:29 +0000] Listening to 127.0.0.1:631 (IPv4)
I [20/Apr/2011:00:57:29 +0000] Listening to /var/run/cups/cups.sock
(Domain)
I [20/Apr/2011:00:57:29 +0000] Remote access is disabled.
I [20/Apr/2011:00:57:29 +0000] Loaded configuration file
"/etc/cups/cupsd.conf"
I [20/Apr/2011:00:57:29 +0000] Using default TempDir of
/var/spool/cups/tmp...
I [20/Apr/2011:00:57:29 +0000] Configured for up to 100 clients.
I [20/Apr/2011:00:57:29 +0000] Allowing up to 100 client connections per
host.
I [20/Apr/2011:00:57:29 +0000] Using policy "default" as the default!
I [20/Apr/2011:00:57:29 +0000] Full reload is required.
I [20/Apr/2011:00:57:29 +0000] Saving job cache file
"/var/cache/cups/job.cache"...
I [20/Apr/2011:00:57:29 +0000] Loaded MIME database from '/etc/cups': 35
types, 37 filters...
I [20/Apr/2011:00:57:29 +0000] Loading job cache file
"/var/cache/cups/job.cache"...
I [20/Apr/2011:00:57:29 +0000] Full reload complete.
E [20/Apr/2011:00:57:29 +0000] Unable to open listen socket for address
::1:631 - Address family not supported by protocol.
I [20/Apr/2011:00:57:29 +0000] Listening to 127.0.0.1:631 on fd 3...
I [20/Apr/2011:00:57:29 +0000] Listening to /var/run/cups/cups.sock on fd
5...
I [20/Apr/2011:00:57:29 +0000] Resuming new connection processing...
E [20/Apr/2011:00:58:16 +0000] Unknown SystemGroup "lpadmin sys root" on
line 14, ignoring!
I [20/Apr/2011:00:58:16 +0000] Listening to ::1:631 (IPv6)
I [20/Apr/2011:00:58:16 +0000] Listening to 127.0.0.1:631 (IPv4)
I [20/Apr/2011:00:58:16 +0000] Listening to /var/run/cups/cups.sock
(Domain)
I [20/Apr/2011:00:58:16 +0000] Remote access is disabled.
I [20/Apr/2011:00:58:16 +0000] Loaded configuration file
"/etc/cups/cupsd.conf"
I [20/Apr/2011:00:58:16 +0000] Using default TempDir of
/var/spool/cups/tmp...
I [20/Apr/2011:00:58:16 +0000] Configured for up to 100 clients.
I [20/Apr/2011:00:58:16 +0000] Allowing up to 100 client connections per
host.
I [20/Apr/2011:00:58:16 +0000] Using policy "default" as the default!
I [20/Apr/2011:00:58:16 +0000] Full reload is required.
I [20/Apr/2011:00:58:16 +0000] Saving job cache file
"/var/cache/cups/job.cache"...
I [20/Apr/2011:00:58:16 +0000] Loaded MIME database from '/etc/cups': 35
types, 37 filters...
I [20/Apr/2011:00:58:16 +0000] Loading job cache file
"/var/cache/cups/job.cache"...
I [20/Apr/2011:00:58:16 +0000] Full reload complete.
E [20/Apr/2011:00:58:16 +0000] Unable to open listen socket for address
::1:631 - Address family not supported by protocol.
I [20/Apr/2011:00:58:16 +0000] Listening to 127.0.0.1:631 on fd 3...
I [20/Apr/2011:00:58:16 +0000] Listening to /var/run/cups/cups.sock on fd
5...
I [20/Apr/2011:00:58:16 +0000] Resuming new connection processing...
I [20/Apr/2011:00:58:34 +0000] [Job ???] Request file type is text/plain.
E [20/Apr/2011:02:04:23 +0000] Unknown SystemGroup "lpadmin root root" on
line 14, ignoring!
I [20/Apr/2011:02:04:23 +0000] Listening to ::1:631 (IPv6)
I [20/Apr/2011:02:04:23 +0000] Listening to 127.0.0.1:631 (IPv4)
I [20/Apr/2011:02:04:23 +0000] Listening to /var/run/cups/cups.sock
(Domain)
I [20/Apr/2011:02:04:23 +0000] Remote access is disabled.
I [20/Apr/2011:02:04:23 +0000] ...stripped-down

Abhinit
Update:

I found out its coz maybe CUPS isn't detecting the filters, when I tried
raw printing:

[root@FriendlyARM /]# lp -oraw ./abhi.txt 
request id is Deskjet-1 (1 file(s))

the page printed...

But Filters are there in /usr/lib/cups/filters:

[root@FriendlyARM /]# ls /usr/lib/cups/filter/
gziptoany      imagetops      pdftops        rastertodymo   rastertohp    
texttops
hpgltops       imagetoraster  pstops         rastertoepson  rastertolabel

[root@FriendlyARM /]# lpstat -t
scheduler is running
system default destination: Deskjet
device for Deskjet: ///dev/lp0
Deskjet accepting requests since Tue Apr 19 23:03:28 2011
printer Deskjet is idle.  enabled since Tue Apr 19 23:03:28 2011

Abhinit
Update:

The issue was that there is no pstoraster!

hence only images can be printed.

bao
Hi Abhinit,

To print pdf file and text file, you need more filter.

Try this:

http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf_a...

Good luck

Abhinit
@bao: Thanx!! sorry for the late reply! I'll definitely try it out... :)