LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 03-24-2009, 05:33 AM   #1
hhanz
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
how install a HP OfficeJet600 Printer with cups?


Hello,

I tried to install my HP OfficeJet600 Printer. First I tried apsfilter but I understood almost nothing. Then I tried cups 1.3.5 and I had the following issues:

1. I was asked for a root password although I donīt use one on my computer
I answered just hitting Enter.
2. I was asked to specify "device". In WindowsXP, the device for the printer was "COM:" but cups didnīt have that in this menu.
3. I was asked for a "device URI", what is that? How do I find out what to say here?

(4. cups wants a "ppd" file, but from the HP download link, I only got a file named "hplip-3.9.2.run". what with this?
Download manager said that "hplip-3.9.2.run" was executable,but when I double-clicked it in emelfm it didnīt execute.)

thanks, hh.

PS. I just found out how to make this file executable with "chmod". Now it did execute, finishing with the message

"./hplip-install: line 5: python: command not found"

and i have heaps of .ppd files in mydsl/hplip-3.9.2.
I try on later...

Last edited by hhanz; 03-24-2009 at 08:33 AM. Reason: found out how to execute .run file but python error
 
Old 03-25-2009, 10:17 AM   #2
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,383

Rep: Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600
Here is the listed driver for the officejet600. -->http://openprinting.org/show_printer...-OfficeJet_600

Your post is confusing. Could you clarify a few things.

First of all, what machine is your printer attached to? Xp or Linux? If it is linux, what has XP got to do with it?

You do need the root password to add a printer in Cups. What distro are you using?

The device is usually the hardware you are going through to connect to the printer, like USB1.

The Device URI is a locater the software used. It may point to the same or a different machine. You can find help for these in the Cups documentation online. Go to http://localhost:631 and look at the documentation link.
 
Old 03-29-2009, 08:11 PM   #3
hhanz
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry for confusing...

I am using DamnSmallLinux, Linux Version Number is 2.4.31. I also have WindowsXP on the same Computer. The printer has no USB connection, it works with a parallel port, which, in Windows, is named "COM:".
I made the "hplip-3.9.2.run" file executable with "chmod", and it produced a file named "hp-officejet_series_600-hpijs.ppd".
This is what cups offered me to choose from as "device":

AppSocket/HP JetDirect
Backend Error Handler
CUPS-PDF
Internet Printing Protocol (http)
Internet Printing Protocol (ipp)
LPD/LPR Host or Printer
PTAL Device not found
SCSI Printer
Serial Port #1
Serial Port #2

The following is new since my last post:

I have now set a root password.
I started trying "AppSocket/HP JetDirect" as device and "lpd://box/queue" as deviceURI, as shown in the examples given by cups. ("box" is HOSTNAME in DamnSmallLinux).
Asked for "make/manufacturer", I specified the .ppd file mentioned above.
Then, cups asked me for a username and password. I first tried "root" and the root password, then "dsl" (non-root user, no password), but I was asked over and over again until I quit.

I hope this explanation was better than the last one.
Can you help me?

Thank you.

Last edited by hhanz; 03-29-2009 at 08:14 PM.
 
Old 03-30-2009, 09:13 AM   #4
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,383

Rep: Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600
Quote:
Then, cups asked me for a username and password. I first tried "root" and the root password, then "dsl" (non-root user, no password), but I was asked over and over again until I quit.
Cups will only allow root user to add or modify printer configuration. Your root password should have worked. When you first connect to cups, click Admin. I think it will ask for the root password then.

DSL, since it is a stripped down distro may not operate as other linux systems. So if you can not get by the password thing, then this is a DSL system problem. It may take some scratching around on the DSL site to figure it out.

The rest of what you are doing looks O.K. I'm not sure about the URI. I have only used a parallel port for printing once, a long time ago. I thought it would start out as Par. Anyway, let me know if you can or can not get past the password thing.
 
Old 09-29-2011, 06:37 AM   #5
tix
LQ Newbie
 
Registered: May 2011
Posts: 24

Rep: Reputation: 0
For most problems in Linux, the solution can be very simple (i.e. forgetting to connect the printer to the computer or forgetting to power up the printer). Here are some tutorials that I found useful when configuring printing in Linux (Slackware). I was able to configure my laser printer with CUPs as a shared via Samba so that computers on my LAN could print. Also I was able to configure older version of Linux (Slackware) with APSFILTER to share printer over network via Samba and all computers on my LAN could print

http://www.gen.horizon-host.com/linux.php

"Realisation of Truth is higher than all else. Higher still is truthful living"
--Guru Nanak
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS: how do i install a serial printer via cli 'lpadmin' ? lefty.crupps Linux - Software 2 08-02-2007 12:15 PM
Trying to install a printer with CUPS dutche Slackware 11 02-13-2006 07:25 AM
Z600 CUPS Printer Driver install idot Linux - Software 0 08-12-2005 12:30 PM
How do you install a printer for CUPS? govert Linux - Hardware 5 05-17-2005 07:57 AM
Printer : CUPS install simeandrews Linux - Hardware 3 05-21-2004 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration