LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   detailed instructions for getting HPg85xi to work through USB (https://www.linuxquestions.org/questions/linux-newbie-8/detailed-instructions-for-getting-hpg85xi-to-work-through-usb-423426/)

lazarys 03-10-2006 03:33 AM

detailed instructions for getting HPg85xi to work through USB
 
Greetings. I'm very new to linux and system configuration, even though I've used unix as a simple user for around 20 years. I have an HP officejet g85xi multifunction printer/scanner, and would like to get it working with SUSE linux 10.0. I can get the printer portion to work through the parallel port, but apparently for the scanner to work as well, it needs to be configured via USB port. Could someone outline in detail the specific steps/commands I would need to do to get the printer and scanner working? When I try and set it up though the USB port, it reads that it is an HP printer okay, but no print jobs actually seem to spool out to it.

Any help would be greatly appreciated.

Thanks in advance

RobertP 03-10-2006 10:42 PM

According to http://hpinkjet.sourceforge.net/productsmf.php and http://linuxprinting.org/show_printe...-OfficeJet_G85
it wants the HPLIP driver.

If you have CUPS installed, browse to
http://localhost:631/
and you will have a nice GUI for setting it up.
manage printers/add printer/
give it a name and location
select USB Printer#1 from a drop down
make HP
driver Officejet G85 Foomatic/hpijs

will get you printing function only on USB.

For both printing and scanning it looks like you need the hplip and hpijs packages installed. In Debian this gives:
"HP Linux Printing and Imaging System (hplip)

This is the HP Linux Printing and Imaging System. It provides full support for printing on most HP SFP (single function peripheral) InkJets and many LaserJets, and for scanning and photo-card access on most HP MFP (multi-funtcion peripheral) printers.

HPLIP is composed of:

* HP CUPS backend driver (hp:/) with bi-directional communication with
HP printers (provides printer status feedback to CUPS and enhanced
HPIJS functionality such as 4-side fullbleed printing support)
* HPIJS Ghostscript IJS driver to rasterize output from PostScript(tm)
files or from any other input format supported by Ghostscript
* Command line utilities to perform printer maintenance, such as
ink-level monitoring or pen cleaning and calibration
* Command line utility to download data from the photo card interfaces
in MFP devices
* A GUI toolbox to access all these functions in a friendly way
* HPAIO SANE backend (hpaio) for flatbed and Automatic Document Feeder
(ADF) scanning in MFP devices

HPLIP can page an administrator (through email or a popup window through an X11 session) when the printer needs attention.

Only USB and JetDirect (network) devices are supported. For parallel-port devices, please use the hpoj package instead.

You will need the hpijs package to have a working Unix printing solution.

Homepage: http://hpinkjet.sourceforge.net

"
It looks like, with hplip, you can scan with xsane and print with cups. The file file:///usr/share/doc/hplip/hplip_readme.html gives:
"1. The HP Device Manager will only display "hp:/..." URIs that exist in a CUPS queue. Use the CUPS web interface or the distribution's printer tool to
add/remove "hp:..." URIs.
2. For appliance printers that only support 4x6 page sizes, make sure the page size setting is correct in the CUPS queue. The default page setting may not
be correct and print jobs will fail.
3. For network scanning, the "hp:/net/..." URI must be configured in the CUPS queue for auto-discovery by OpenOffice and xsane. You can manually specify
the URI with xsane using the following command.
xsane hpaio:/net/PSC_750?ip=12.25.63.142
5. The command hp-makeuri is useful for manually creating URIs with valid HP model names. This command can be used for network URIs and usb URIs.
hp-makeuri 12.252.63.142
hp:/net/PSC_750?ip=12.252.63.142
hp-makeuri /dev/usb/lp0
hp:/usb/PSC_2170_Series?serial=MY2BF1425173"

Without your printer I can go no further...

lazarys 03-11-2006 12:29 AM

Thank you for responding. I started working my way through the HP linux printing stuff and ran across a stumbling block. When I try to go into the CUPS localhost:631 web admin tool it will not seem to accept the root and password login values. Any idea what could be going on there?

RobertP 03-11-2006 05:34 AM

Quote:

Originally Posted by lazarys
When I try to go into the CUPS localhost:631 web admin tool it will not seem to accept the root and password login values. Any idea what could be going on there?

Can you use those values to log in as root elsewhere, like in a terminal window with su or ctrl-alt-F1? If so, I have no clue. Perhaps /etc/cups/cupsd.conf needs editing.

Here are the relevant bits from mine:

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

<Location /admin>
#
# You definitely will want to limit access to the administration functions.
# The default configuration requires a local connection from a user who
# is a member of the system group to do any admin tasks. You can change
# the group name using the SystemGroup directive.
#

AuthType Basic
AuthClass System

## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1

#Encryption Required
</Location>

You will have to restart cups to make changes effective.

lazarys 03-11-2006 09:46 AM

Well, I tried what you suggested, but it didn't change anything, though this sounds like where the problem is hiding. The login I used does work in a "su" login. I'll keep playing with this some. thanks; it's given me a direction to go in.

Old_Fogie 05-05-2006 03:03 PM

I can print to this printer, but I cannot scan or fax.


All times are GMT -5. The time now is 11:44 PM.