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

Notices


Reply
  Search this Thread
Old 01-11-2005, 04:43 AM   #1
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15
Networked printers


Hello everyone, I was hoping I'd find someone else with a similar problem, or an extremely smart cookie who can fix this straight off.

I've got a home network running of my computer (Sarge Testing/XP) and the family 733mhz P3 (XP only). The P3 has a HP Deskjet 970Cxi attached to it, which is shared over the windows network and provides access for printing from my machine under XP. (Of course, the P3 has to be turned on for this to happen)

Anyway, I want to be able to print from Sarge off this printer, and was wondering how to go about doing such a thing. I've got a faint idea that I may need samba, and that I definately need CUPS, but past this, I don't have much to go on.

Therefore, if anyone's got any ideas or help for me, it would be greatly appreciated. Oh- and the computers are networked via a Billion 4-port Switch ADSL Router. Thanks.
 
Old 01-11-2005, 08:46 AM   #2
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
This should cover it.
 
Old 01-11-2005, 10:25 PM   #3
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Original Poster
Rep: Reputation: 15
Wowzers.

Cheers for that buddy, i'll let you know how I go.
 
Old 01-11-2005, 11:43 PM   #4
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Original Poster
Rep: Reputation: 15
Right. CUPS and Samba are set up and working beautifully, i can see shares and i followed the instructions to the letter. There's only one problem... nothing prints and no errors are given!

I have a feeling it could be because of this:

formula1:/home/meacod01# enable HP
bash: enable: HP: not a shell builtin
formula1:/home/meacod01# accept HP
formula1:/home/meacod01# lpadmin -d HP

As you can see, the accept and lpadmin commands worked fine, but the enable one didn't. What's more, i'm not sure why. Any help on this one?
 
Old 01-11-2005, 11:55 PM   #5
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Original Poster
Rep: Reputation: 15
hmm... here's a bit more information.

I've now enabled it (through csh, bash and bourne have a problem with it for some reason) but still, there's problems. That being stuff queues but never prints. That i can check through lpstat.

There's always a problem printing with debian. *sigh*
 
Old 01-12-2005, 02:16 AM   #6
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
I configured CUPS using the internet interface http://localhost:631/
Then go to Manage Printers and fill out the right settings. You might have to experiment a bit to get the right syntax for the Device URI. The following works for me:
Code:
Device URI: http://130.232.59.159:631/ipp
When printing to the same network printer from Slack I have
Code:
Device URI: socket://130.232.59.159:9100/fyg_colorlaser
Good luck!

Cheers, Leon.

Last edited by BroX; 01-12-2005 at 02:19 AM.
 
Old 01-19-2005, 01:17 PM   #7
tripwire45
Member
 
Registered: Aug 2004
Distribution: Ubuntu 11.10
Posts: 59

Rep: Reputation: 15
I'm using your example to try to connect to the network printer at work using this example. It *almost* works.

Code:
Device URI: http://130.232.59.159:631/ipp
First of all, it takes quite awhile for the print job to process. In fact, I was in the process of trying to reconfigure my printer settings when the test print job finally prints.

Second, the test print produces the following:

Code:
POST /ipp HTTP 1.1
Content -Length: 286
Content-Type: application/ipp
Host: 130.232.59.159
Then there is a single line of print. The first part of the line looks like it was overwritten with another line of text, as if on an old typewriter, you typed a line, the carriage return without advancing the roller and continued to type. I can read the following on the second half of the line:

natural-languageen-usEprinter-urihppt://130.1

Then the line cuts off.

What am I missing?
 
Old 01-20-2005, 02:04 AM   #8
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
You should substitute the URI in my example (130.232.etc) for the real URI of you network printer.

Cheers, Leon.
 
Old 01-20-2005, 10:43 AM   #9
tripwire45
Member
 
Registered: Aug 2004
Distribution: Ubuntu 11.10
Posts: 59

Rep: Reputation: 15
Actually, I used your example for consistency's sake in my post. In real life, I did use the real URI for the network printer here.
 
Old 01-21-2005, 02:29 AM   #10
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Sorry I didn't get that
All I can suggest is to try different syntaxes. Google around to see what others use. The above mentioned work for me.

Cheers, Leon.
 
  


Reply



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
connecting Linux to networked printers anickless Linux - Networking 6 01-02-2006 11:01 PM
Configuring CUPS with Networked printers anickless Linux - Networking 3 11-24-2005 04:46 PM
Can't ping networked PC jkruer01 Linux - Networking 3 04-11-2004 02:38 AM
recommendation on photo printers and general purpose printers raminolta Linux - Hardware 3 01-21-2004 12:27 PM
Networked computer can't see page served from other Networked computer Travis86 Linux - Networking 2 12-30-2002 01:38 PM

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

All times are GMT -5. The time now is 02:30 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
Open Source Consulting | Domain Registration