HP LaserJet 1000 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
gentoo (gentoox its an xbox1)
Posted by: hercules ()
Date: December 31, 2009 05:21AM

Hi rickrich,

i'm runnin gentoo (gentoox its an xbox1). And i tried what you told the other one. After all the foo2zjs-wrapper testpage worked! But, when i want to print the cups testpage it doesnt. You've got any idea what this could be?



Edited 1 time(s). Last edit at 01/10/2010 12:53PM by rickrich.

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: rickrich ()
Date: December 31, 2009 09:41AM

$ locate foomatic-rip
/usr/bin/foomatic-rip
/usr/lib/cups/filter/foomatic-rip
/usr/share/man/man1/foomatic-rip.1.gz
$

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: hercules ()
Date: January 01, 2010 08:11PM

Pro ~ # locate foomatic-rip
/usr/bin/foomatic-rip
/usr/lib/ppr/interfaces/foomatic-rip
/usr/lib/ppr/lib/foomatic-rip
/usr/share/man/man1/foomatic-rip.1.bz2
/usr/libexec/cups/filter/foomatic-rip

Sorry, been having problems with installing locate/slocate and updating the db caused errors.

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: hercules ()
Date: January 02, 2010 06:53AM

So this entry is missing with me: "/usr/lib/cups/filter/foomatic-rip"

I found something bout that in bugzilla: http://bugs.gentoo.org/144849, but they discuss and tell that its not necessary to be created. Ill be searching on!

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: hercules ()
Date: January 02, 2010 07:54AM

Found something different: From the cups error logfile

D [02/Jan/2010:12:47:44 +0100] Discarding unused job-progress event...
D [02/Jan/2010:12:47:49 +0100] [Job 12] usb_find_busses=0
D [02/Jan/2010:12:47:49 +0100] [Job 12] usb_find_devices=0
D [02/Jan/2010:12:47:49 +0100] [Job 12] STATE: +connecting-to-device
D [02/Jan/2010:12:47:49 +0100] [Job 12] Failed to set configuration 1 for 03f0:0517
D [02/Jan/2010:12:47:49 +0100] [Job 12] Failed to claim interface 0 for 03f0:0517: Operation not permitted
D [02/Jan/2010:12:47:49 +0100] [Job 12] STATE: -connecting-to-device
I [02/Jan/2010:12:47:49 +0100] [Job 12] Waiting for printer to become available...
D [02/Jan/2010:12:47:49 +0100] Discarding unused printer-state-changed event...
D [02/Jan/2010:12:47:49 +0100] Discarding unused job-progress event...
D [02/Jan/2010:12:47:54 +0100] [Job 12] usb_find_busses=0
D [02/Jan/2010:12:47:54 +0100] [Job 12] usb_find_devices=0
D [02/Jan/2010:12:47:54 +0100] [Job 12] STATE: +connecting-to-device
D [02/Jan/2010:12:47:54 +0100] [Job 12] Failed to set configuration 1 for 03f0:0517
D [02/Jan/2010:12:47:54 +0100] [Job 12] Failed to claim interface 0 for 03f0:0517: Operation not permitted
D [02/Jan/2010:12:47:54 +0100] [Job 12] STATE: -connecting-to-device
I [02/Jan/2010:12:47:54 +0100] [Job 12] Waiting for printer to become available...
D [02/Jan/2010:12:47:54 +0100] Discarding unused printer-state-changed event...
D [02/Jan/2010:12:47:54 +0100] Discarding unused job-progress event...
D [02/Jan/2010:12:47:56 +0100] Report: clients=0
D [02/Jan/2010:12:47:56 +0100] Report: jobs=2
D [02/Jan/2010:12:47:56 +0100] Report: jobs-active=1
D [02/Jan/2010:12:47:56 +0100] Report: printers=1
D [02/Jan/2010:12:47:56 +0100] Report: printers-implicit=0
D [02/Jan/2010:12:47:56 +0100] Report: stringpool-string-count=374
D [02/Jan/2010:12:47:56 +0100] Report: stringpool-alloc-bytes=7120
D [02/Jan/2010:12:47:56 +0100] Report: stringpool-total-bytes=8888
D [02/Jan/2010:12:47:59 +0100] [Job 12] usb_find_busses=0
D [02/Jan/2010:12:47:59 +0100] [Job 12] usb_find_devices=0
D [02/Jan/2010:12:47:59 +0100] [Job 12] STATE: +connecting-to-device
D [02/Jan/2010:12:47:59 +0100] [Job 12] Failed to set configuration 1 for 03f0:0517
D [02/Jan/2010:12:47:59 +0100] [Job 12] Failed to claim interface 0 for 03f0:0517: Operation not permitted
D [02/Jan/2010:12:47:59 +0100] [Job 12] STATE: -connecting-to-device
I [02/Jan/2010:12:47:59 +0100] [Job 12] Waiting for printer to become available...
D [02/Jan/2010:12:47:59 +0100] Discarding unused printer-state-changed event...
D [02/Jan/2010:12:47:59 +0100] Discarding unused job-progress event...
D [02/Jan/2010:12:48:04 +0100] [Job 12] usb_find_busses=0
D [02/Jan/2010:12:48:04 +0100] [Job 12] usb_find_devices=0
D [02/Jan/2010:12:48:04 +0100] [Job 12] STATE: +connecting-to-device

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: hercules ()
Date: January 02, 2010 08:49AM

equery f net-print/foomatic-filters
[ Searching for packages matching net-print/foomatic-filters... ]
* Contents of net-print/foomatic-filters-3.0.20080507:
/etc
/etc/foomatic
/etc/foomatic/direct
/etc/foomatic/filter.conf
/etc/foomatic/filter.conf.sample
/usr
/usr/bin
/usr/bin/foomatic-gswrapper
/usr/bin/foomatic-rip
/usr/bin/lpdomatic -> /usr/bin/foomatic-rip
/usr/lib
/usr/lib/ppr
/usr/lib/ppr/interfaces
/usr/lib/ppr/interfaces/foomatic-rip -> /usr/bin/foomatic-rip
/usr/lib/ppr/lib
/usr/lib/ppr/lib/foomatic-rip -> /usr/bin/foomatic-rip
/usr/libexec
/usr/libexec/cups
/usr/libexec/cups/backend
/usr/libexec/cups/backend/beh
/usr/libexec/cups/filter
/usr/libexec/cups/filter/cupsomatic -> /usr/bin/foomatic-rip
/usr/libexec/cups/filter/foomatic-gswrapper -> /usr/bin/foomatic-gswrapper
/usr/libexec/cups/filter/foomatic-rip -> /usr/bin/foomatic-rip
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/foomatic-gswrapper.1.bz2
/usr/share/man/man1/foomatic-rip.1.bz2

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: rickrich ()
Date: December 31, 2009 07:38AM

Set the URI in CUPS to be:

usb:/dev/usb/lp0

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: hercules ()
Date: December 31, 2009 08:27AM

When I installed the printer I did this like usb:/dev/usb/lp0
in the /etc/cups/cupsd.conf there I cant change something like that. Is there another part of cups i should read through?
When i access via localhost cups, i see the printer, it is with foo2zjs driver but it doesnt print the testpage: this time the error "/usr/libexec/cups/filter/foomatic-rip failed" occurred. The first time this happened. Maybe i need some other packages of foomatic. I really dont know. Maybe you can help me. Ive seen in another thread that you recommended setting the LogLevel to debug, to check the logfiles. Isnt in my config the loglevel debug on? its not commented out. Okay im sorry. just my cupsd.conf, maybe you see something i dont see.

Pro ~ # nano /etc/cups/cupsd.conf
GNU nano 2.1.7 File: /etc/cups/cupsd.conf

# Show troubleshooting information in error_log.
LogLevel debug
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS
DefaultAuthType Basic
<Location />
# Allow shared printing and remote administration...
Order allow,deny
Allow @LOCAL
</Location>

thx!

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: hercules ()
Date: December 31, 2009 08:37AM

Another error ive hab was application vnd.cups-command. Okay hope thats not too much information!

Happy new year!

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: rickrich ()
Date: January 02, 2010 08:54AM

Try changing DeviceURI in /etc/cups/printers.conf to:
DeviceURI file:///dev/usb/lp0
and /etc/cups/cupsd.conf to:
FileDevice Yes
Then, restart CUPS (e.g. cd foo2zjs; sudo make cups).

This is NOT my problem... it is a CUPS problem.

Options: ReplyQuote
Re: HP 1000 on linux mint [URI wrong; solved]
Posted by: hercules ()
Date: January 02, 2010 09:06AM

Now ive got this error:

"/usr/libexec/cups/filter/foomatic-rip failed"

I checked my installation of foomatic, maybe theres also a problem...Yea, maybe also with CUPS. Have to read me more into cups and printing under linux (using gentoo), seems not too easy to set up, unfortunately! Youre right, its not your problem, i have to solve it.

Thanks a lot!

Options: ReplyQuote
Re: HP1000 Using foo2zjs
Posted by: hercules ()
Date: January 10, 2010 12:01PM

Hi rickrich,

we talked in another thread, were you also told me, that it is a cups problem. So i looked for the cups error log to show you.

Pro ~ # nano /var/log/cups/error_log
GNU nano 2.1.7 File: /var/log/cups/error_log Modified

D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[21]="CONTENT_TYPE=application/vnd.cups-command"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[22]="DEVICE_URI=usb:/dev/usb/lp0"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[23]="PRINTER_INFO=HP Laserjet 1000"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[24]="PRINTER_LOCATION=Arbeitszimmer"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[25]="PRINTER=laserjet1000"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[26]="CUPS_FILETYPE=document"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[27]="FINAL_CONTENT_TYPE=printer/laserjet1000"
I [10/Jan/2010:17:58:52 +0100] [Job 17] Started filter /usr/libexec/cups/filter/commandtops (PID 6400)
I [10/Jan/2010:17:58:52 +0100] [Job 17] Started backend /usr/libexec/cups/backend/usb (PID 6401)
D [10/Jan/2010:17:58:52 +0100] Discarding unused job-state-changed event...
D [10/Jan/2010:17:58:52 +0100] cupsdMarkDirty(----J-)
D [10/Jan/2010:17:58:52 +0100] Discarding unused printer-state-changed event...
D [10/Jan/2010:17:58:52 +0100] cupsdMarkDirty(----J-)
D [10/Jan/2010:17:58:52 +0100] Discarding unused printer-state-changed event...
D [10/Jan/2010:17:58:52 +0100] [Job 17] job-sheets=none,none
D [10/Jan/2010:17:58:52 +0100] [Job 17] argv[0]="laserjet1000"
D [10/Jan/2010:17:58:52 +0100] [Job 17] argv[1]="17"
D [10/Jan/2010:17:58:52 +0100] [Job 17] argv[2]="root"
D [10/Jan/2010:17:58:52 +0100] [Job 17] argv[3]="Set Default Options"
D [10/Jan/2010:17:58:52 +0100] [Job 17] argv[4]="1"
D [10/Jan/2010:17:58:52 +0100] [Job 17] argv[5]="job-uuid=urn:uuid:1340c265-0fbc-3fb0-6cdf-116a9cb19dd7 job-originating-host-name=localhost"
D [10/Jan/2010:17:58:52 +0100] [Job 17] argv[6]="/var/spool/cups/d00017-001"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [10/Jan/2010:17:58:52 +0100] [Job 17] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"


What if the problem is only that cups is always in that debug mode (i didnt need to change this setting).

Ciao, Fil

Options: ReplyQuote
Re: gentoo (gentoox its an xbox1)
Posted by: rickrich ()
Date: January 10, 2010 01:03PM

Since foo2zjs-wrapper works and CUPS doesn't work, the problem is with CUPS. I don't read CUPS error logs. Check with your distro.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.