You are not logged in.
Hi folks,
Archlinux 86-64 2007 08-2
HP Deskjet 5740
I'm following;
Other Linux Distros and/or Manual Installation
http://hplip.sourceforge.net/install/ma … other.html
to install the HP printer. I can't find python-devel, cups-devel and cups ddk, LSB. Please advise where can I get them OR which repo I have to enable. TIA.
I have "hplip-2.8.2.tar.gz" dowload. Please advise on which directory I have to keep it to start its installation. Thanks
B.R.
satimis
Offline
Simple answer: Other distros have at example xyz (only the runtime), xyz-devel (include files) and xyz-doc (documentation). In Arch Linux xyz is even a mix from xyz and xyz-devel. The other point is that there is no xyz-doc. Try a "pacman -Ql python | less" and you will find a lot of include files so you don't have to search for python-devel. I think there will be a better explanation in the wiki but sorry i don't know where.
Offline
Arch has a hplip package, so pacman will install it for you - no compilation required.
Offline
Simple answer: Other distros have at example xyz (only the runtime), xyz-devel (include files) and xyz-doc (documentation). In Arch Linux xyz is even a mix from xyz and xyz-devel. The other point is that there is no xyz-doc. Try a "pacman -Ql python | less" and you will find a lot of include files so you don't have to search for python-devel. I think there will be a better explanation in the wiki but sorry i don't know where.
Noted and thanks
satimis
Offline
Arch has a hplip package, so pacman will install it for you - no compilation required.
Thanks for your advice. I got the printer installed as follows;
$ sudo pacman -S hplip
Password:
resolving dependencies...
looking for inter-conflicts...
Targets: foomatic-db-engine-3.0_20080211-1 libgphoto2-2.4.0-4
libieee1284-0.2.11-1 sane-1.0.19-2 hplip-2.8.2-2
Total Download Size: 13.27 MB
Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
foomatic-db-engine-... 166.9K 96.2K/s 00:00:02 [#####################] 100%
libgphoto2-2.4.0-4-... 1397.4K 165.3K/s 00:00:08 [#####################] 100%
libieee1284-0.2.11-... 87.7K 67.2K/s 00:00:01 [#####################] 100%
sane-1.0.19-2-x86_64 3.5M 167.4K/s 00:00:22 [#####################] 100%
hplip-2.8.2-2-x86_64 8.1M 180.6K/s 00:00:46 [#####################] 100%
checking package integrity...
(5/5) checking for file conflicts [#####################] 100%
(1/5) installing foomatic-db-engine [#####################] 100%
(2/5) installing libgphoto2 [#####################] 100%
NOTE
----
Add your user to group 'camera' to use camera devices.
(3/5) installing libieee1284 [#####################] 100%
(4/5) installing sane [#####################] 100%
NOTE
----
Add your user to group 'scanner' to use scanner devices.
(5/5) installing hplip [#####################] 100%
NOTE
----
# You can open the HP Device Manager by entering this command in the console window:
# $ hp-toolbox
# You will need to install 'pyqt3' for running hp-toolbox.
# 'pacman -S pyqt3' should do this for you.
# If you want to use this driver with sane:
# echo "hpaio" >> /etc/sane.d/dll.conf
$ sudo pacman -S pyqt3
resolving dependencies...
looking for inter-conflicts...
Targets: qt3-3.3.8-6 qscintilla-qt3-1.7.1-2 pyqt3-3.17.4-1
Total Download Size: 13.69 MB
Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
qt3-3.3.8-6-x86_64 10.6M 174.2K/s 00:01:02 [######################] 100%
qscintilla-qt3-1.7.... 585.2K 99.9K/s 00:00:06 [######################] 100%
pyqt3-3.17.4-1-x86_64 2.5M 132.1K/s 00:00:20 [######################] 100%
checking package integrity...
(3/3) checking for file conflicts [######################] 100%
(1/3) installing qt3 [######################] 100%
INFORMATION:
Documentation is seperated it's called qt3-doc
(2/3) installing qscintilla-qt3 [######################] 100%
$ su
Password:
# echo "hpaio" >> /etc/sane.d/dll.conf
No complaint
# nano /etc/rc.conf
adding @cups to the line;
DAEMONS=(syslog-ng @iptables @network @netfs @crond @portmap @fam @dbus @hal @sshd @httpd @cups
Reboot PC and login as satimis. But can't print.
Login as root I can print the test page. Please advise which file I have to change permission? TIA
B.R.
satimis
Offline
@satimis Look for the permissions of the devices which be created from udev if you put on your printer. In the file udev.rules is this line
SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
so perhaps your user have to be in the group 'lp'. In the worst case you have to look at the diff of the content from /dev before and after you put your printer on.
Offline
@satimis Look for the permissions of the devices which be created from udev if you put on your printer. In the file udev.rules is this line
SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
so perhaps your user have to be in the group 'lp'. In the worst case you have to look at the diff of the content from /dev before and after you put your printer on.
Thanks for your advice.
The line
SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
is found on /etc/udev/rules.d/udev.rules
$ cat /etc/group | grep lp
lp::7:daemon
edit /etc/group as
lp::7:daemon,satimis
reboot PC and start a .txt file on gedit
File -> Print -> starting "Print" window
select "HP_Printer"
The file collapses.
Edit:
Even click "Print Preview" the file collapses.
B.R.
satimis
Last edited by satimis (2008-03-14 09:31:14)
Offline
you missed that you also have to add hplip to DAEMONS=()
Offline
you missed that you also have to add hplip to DAEMONS=()
Whether you meant on /etc/rc.conf ?
Tried, adding hplip on /etc/rc.conf
DAEMONS=(......... @hplip)
reboot PC. Still fail to print. The file collapses
Edit:
Tried login as root. Printing still fails and the file collapses. Following warning displayed ont the terminal
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_fill: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_grestore: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_show: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_showpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_beginpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_setrgbcolor: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_rect_stroked: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_gsave: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_translate: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_rotate: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_fill: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_grestore: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_show: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_showpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_beginpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_setrgbcolor: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_rect_stroked: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_gsave: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_translate: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_rotate: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_fill: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_grestore: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_show: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_showpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_beginpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_setrgbcolor: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_rect_stroked: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_gsave: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_translate: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_rotate: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_fill: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_grestore: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_show: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_showpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_beginpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_setrgbcolor: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_rect_stroked: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_gsave: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_translate: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_rotate: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_closepath: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_curveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_fill: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_grestore: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_scale: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_show: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_showpage: assertion `pc->gc != NULL' failed
** (gedit:7147): WARNING **: could not set the value of Settings.Document.Filter, node not found
(gedit:7147): GnomePrint-CRITICAL **: gnome_font_face_find_closest: assertion `face != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_font_find_closest: assertion `face != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gp_ctx_new: assertion `ctx->font != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gp_gc_new: assertion `ctx != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_font_face_find_closest: assertion `face != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_font_find_closest: assertion `face != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gp_ctx_new: assertion `ctx->font != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gp_gc_new: assertion `ctx != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_beginpage: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_moveto: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gnome_print_gsave: assertion `pc->gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gp_gc_get_ctm: assertion `gc != NULL' failed
(gedit:7147): GnomePrint-CRITICAL **: gp_gc_get_currentpoint: assertion `gc != NULL' failed
B.R.
satimis
Last edited by satimis (2008-03-14 11:10:23)
Offline
First, Linux is not Windows so you don't need to reboot for every little thing. Look in the manpage of gpasswd for adding a user without the need of logging out and opening a root shell with typing "/etc/rc.d/hplip start" is your friend in the other case.
I suggest you open the cups web page and try to test the printing from there (see at example this [1]). The printer should be compatible with HP DeskJet 990C [2] so you can test it with this driver too. Sorry, i have no local printer, so this be only hints for you to find the solution.
[1] http://www.slackbasics.org/html/printer.html
[2] http://www.linuxprinting.org/show_print … skJet_5740
Offline
First, Linux is not Windows so you don't need to reboot for every little thing. Look in the manpage of gpasswd for adding a user without the need of logging out and opening a root shell with typing "/etc/rc.d/hplip start" is your friend in the other case.
I suggest you open the cups web page and try to test the printing from there (see at example this [1]). The printer should be compatible with HP DeskJet 990C [2] so you can test it with this driver too. Sorry, i have no local printer, so this be only hints for you to find the solution.
[1] http://www.slackbasics.org/html/printer.html
[2] http://www.linuxprinting.org/show_print … skJet_5740
Hi attila,
Thanks for your advcie. Something strange happend here.
I can't find the executable /etc/rc.d/hplip
$ sudo /etc/rc.d/hplip
Password:
sudo: /etc/rc.d/hplip: command not found
# /etc/rc,d/hplip
bash: /etc/rc,d/hplip: No such file or directory
$ pacman -Qs hplip
local/hplip 2.8.2-2
Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet.
The driver has been installed.
$ which hpijs
/usr/bin/hpijs
This seems to be executable
Login as root and start GNOME desktop
Application -> System Tools --> Manage Printing
starts "HP_Printer-CUPS 1.36" window. The HP Printer Deskjet 5740 is there.
"Print Test Page"
login as root with root's password. Fails
login as root with satimis' password. It prints the "Test Page"
$ cat /etc/hp/hplip.conf
# hplip.conf. Generated from hplip.conf.in by configure.
[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207
[hplip]
version=2.8.2
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.8.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
$ cat /etc/group
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root
lp::7:daemon,satimis
mem::8:
kmem::9:
wheel::10:root,satimis
ftp::11:
mail::12:
log::19:root
smmsp::25:
games::50:
network:x:90:
video:x:91:
audio::92:
optical::93:hal
floppy:x:94:hal
storage:x:95:hal
power:x:98:
nobody::99:
users::100:
dbus:x:81:
hal:x:82:
avahi:x:84:
gdm:x:101:
satimis:x:1000:
locate:x:21:
postdrop:x:75:
postfix:x:73:
dovecot:x:76:
courier:x:72:
vmail:x:5000:
mysql:x:89:
spamd:x:5001:
uucp:x:14:
camera:x:97:
scanner:x:96:
Any advice. TIA
B.R.
satimis
Offline
Yes, there is no hplip in /etc/rc.d. My error, sorry, because i don't check it and you have to ask iphitus how you can add hplip to DAEMONS or what does he means with it.
Offline
Hrm, maybe my memory is wrong.
I do definitely remember having to start a specific rc.d/ daemon for the HP printers (other than cupsd). Possibly I got the name wrong, but it was _definitely_ required and _definitely_ included in hplip. Do "pacman -Ql hplip|grep rc.d" and see what it's called.
Offline
@iphitus: Maybe things have changed since you used it.... "pacman -Ql hplip | grep rc.d" returns nothing for me. Also, I only have cups in my daemons array and my HP Deskjet prints fine.
@satimis: Did you try setting up the printer using hp-setup? It has done better than the standard cups setup for me (on occasion...)
Last edited by Allan (2008-03-15 13:26:02)
Offline
FYI - there used to be a hplip init script, but it is no longer required. It became obsolete with version 2.7.9.
Offline
Hi folks,
Problem solved after reinstall following packages;
foomatic-filters
foomatic-db
foomatic-db-engine
foomatic-db-hpijs
Add following packages;
gutenprint
gsfonts
Then the printer works. User can print document. I haven't reconfigured anything.
$ pacman -Ql foomatic-***
error: package "foomatic-***" not found
$ sudo pacman -S foomatic-***
Password:
error: 'foomatic-***': not found in sync db
$ sudo pacman -S foomatic-db-PPD
error: 'foomatic-db-PPD': not found in sync db
$ pacman -Ql hplip|grep rc.d
No printout
$ which hplip
which: no hplip in (/bin:/usr/bin:/sbin:/usr/sbin:/opt/mozilla/bin:/opt/qt/bin)
$ which hpijs
/usr/bin/hpijs
$ hwdetect --show-modules
ACPI : button processor thermal
PATA : pata_acpi pata_amd ata_generic
SCSI : sd_mod sr_mod st
SATA : sata_nv
USB : usblp usbcore ehci-hcd ohci-hcd
NET : forcedeth ppp_generic slhc
INPUT : evdev pcspkr
SOUND : snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore
OTHER : cdrom lp ppdev k8temp i2c-nforce2 i2c-core parport parport_pc pci_hotplug shpchp rtc-cmos rtc-core rtc-lib
usblp is there
Thanks again for your help.
B.R.
satimis
Offline