LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2005, 01:45 AM   #1
whjones
Member
 
Registered: Nov 2004
Location: Honolulu
Distribution: Fedora Core 3
Posts: 42

Rep: Reputation: 15
CUPS printing over wireless network


Aloha everyone,
I have a small network at home, but am having problems getting the printing thing done. Basically, here is my network:

Computer A - Windows XP Media Center (my brother-in-law's); physically connected to DI-624 802.11g wireless router and cable modem

Computer B - my desktop (ActLinux); dualboot Windows XP Pro/Fedora Core 3; equipped with Belkin F3D7000 802.11g wireless NIC; also physically connected to HP OfficeJet 7031xi printer

Computer C - my laptop (ThinkLinux); dualboot Windows XP Pro/Fedora Core 3; equipped with D-Link DWL G650 wireless NIC

All of the computers share internet access through the DI-624 router, and all have internet connectivity. My Linux LAN is only between my desktop and laptop, as my brother-in-law has no interest in learning Linux. I will therefore limit the remainder of this discussion to my Linux LAN.

I have successfully networked the computers together using SSH, after opening port 22 via Firestarter only for the IP in question. Next, I opened port 631 for the IP corresponding to the appropriate computer so that CUPS can work. Next, I attempted to add a printer using the http://localhost:631/admin option. The problem I have is probably the location portion. I don't have a physical connection between the laptop and the desktop, so I decided to try the IPP method. My printer is located at: /dev/usb/lp0 on my desktop (ActLinux). This is the URI I used:

http://ActLinux:631/dev/usb/lp0 (substituting ActLinux for the IP address)

When I attempted to print a test page, I got the following error message:

"Unable to get printer status (client-error-forbidden)!"

Does anyone know a solution to my problem, or can anyone please point me in the right direction to solve this problem? You assistance will be greatly appreciated. In the interim, I can simply use scp to copy the files from my laptop to my desktop and print from there. It would be nice to print from my laptop in Linux like I do under Windows.

Mahalo in advance for your replies,

William Jones
 
Old 01-02-2005, 06:53 AM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Yea, the first time I installed printers on redhat it took some time. However, I don't know if you can do that with ipp. Have you tried using 'printtool' and then setting it up that way. The menu provides you with a lot of selections which you can choose. Since your printer is usb connected, I believe there is an option for that. You might want to check.

-twantrd
 
Old 01-02-2005, 01:24 PM   #3
whjones
Member
 
Registered: Nov 2004
Location: Honolulu
Distribution: Fedora Core 3
Posts: 42

Original Poster
Rep: Reputation: 15
Aloha twantrd,

I also tried printtool, but you come to the same question. There's no problem setting up the printer for the desktop. It is physically connected, via USB, to the desktop. I'm trying to get it set up for my laptop, which connects via a wireless NIC to the desktop. I can't use the USB option for the laptop as I don't have a USB printer connected to the laptop.

I think theproblem is when I get to Queue Type. It asks for the server and path. I put in the IP for my desktop as the server, but the default path is '/printer/queue1'. I tried the default setting, which didn't work, so I changed that to reflect the file in the /dev directory, namely '/dev/usb/lp0' , which also didn't work. When I tried 'http://localhost:631" (using CUPS), the same thing happened, but the offerings for printers were scarce, to say the least.

I had printing with no problems when I had a wired lan, but in my new house, I opted for a wireless setup to avoid wires going every which way but loose. That's why I'm having a problem - I just can't seem to figure out how to set up printing in a wireless LAN to the client.

William Jones
 
Old 01-02-2005, 03:42 PM   #4
whjones
Member
 
Registered: Nov 2004
Location: Honolulu
Distribution: Fedora Core 3
Posts: 42

Original Poster
Rep: Reputation: 15
Update

Aloha everyone,

Boy, was I going the wrong way. I put in the path to the .pdd file and got the test print to work! Now, however, I have another problem. When I open gedit, abiword, etc... and select print, the printer doesn't show up. I'll recheck the documentation, but even though the printer works for root (http://localhost:631/admin), it doesn't appear to be "on the system" anywhere. Any assistance will be greatly appreciated.

Mahalo,

William Jones
 
Old 01-02-2005, 04:29 PM   #5
whjones
Member
 
Registered: Nov 2004
Location: Honolulu
Distribution: Fedora Core 3
Posts: 42

Original Poster
Rep: Reputation: 15
Update2

Aloha everyone,

Even though the printer doesn't show up as a valid printer in any of my text editors/word processors, I can print from the command line. The only problem is that any formatting, such as that used with abiword, is lost and the raw output of the file (XML in the case of abiword) is printed instead. Does anyone have a clue where I should look for the solution now?

Mahalo,

William Jones
 
  


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
network printing via cups rafalek Linux - General 5 03-30-2007 05:54 AM
Network printing with CUPS tarheel92x Linux - Networking 1 09-25-2005 09:10 AM
CUPS Network Printing scarydeath Linux - Networking 1 10-23-2004 11:25 AM
Cups Network printing matux Linux - Networking 0 09-29-2004 12:51 PM
cups network printing geomatt Slackware 3 05-10-2004 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 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