LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-09-2004, 05:19 PM   #1
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Rep: Reputation: 30
cups network printing


Hi,
I'm trying to rig up a print server with the following gear:
parallel port printer connected to an ancient desktop running slackware 9.1
shiny new laptop also running slack 9.1
both are wirelessly networked to a router and sharing an internet connection via the router

Here's what I can do:
print from the desktop via cups
talk back and forth between the machines via the network
exchange files between them via nfs

Here's what I can't do:
figure out how to print remotely from the laptop

I'm a bit puzzled by the cups configuration process.
Do I need cupsd running on both machines?
What protocol should I use to configure the remote printer from the laptop?

I've been looking through the documentation for hours and can't seem to get it worked out.

Any printer configuration geniuses out there who can help?


Thanks!
geomatt
 
Old 05-10-2004, 10:58 AM   #2
davidschob
Member
 
Registered: May 2003
Posts: 56

Rep: Reputation: 17
Hi geomatt...

This one bugged me too. Here's the thing. On the desktop, there's a setting in cups.conf that allows sharing (let me find it for you)... you should uncomment the line that says @ local in the browseaddress section... It will allow printing from all local machines.

Here's the section:


# The @LOCAL address broadcasts to all non point-to-point interfaces.
# For example, if you have a LAN and a dial-up link, @LOCAL would
# send printer updates to the LAN but not to the dial-up link.
# Similarly, the @IF(name) address sends to the named network
# interface, e.g. @IF(eth0) under Linux. Interfaces are refreshed
# automatically (no more than once every 60 seconds), so they can
# be used on dynamically-configured interfaces, e.g. PPP, 802.11, etc.
#

#BrowseAddress x.y.z.255
#BrowseAddress x.y.255.255
#BrowseAddress x.255.255.255
#BrowseAddress 255.255.255.255
BrowseAddress @LOCAL
#BrowseAddress @IF(name)

good luck!
 
Old 05-10-2004, 03:50 PM   #3
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
davidschob,
Thanks for the suggestion. I tried it but I still get the same error.

When I type:
lpinfo -v
or
lpinfo -h remoteHost -v

I get this:
lpinfo: cups-gets-devices failed: server-error-service-unavailable

Is this a more basic configuration problem?

I configured the printer by running through the cups web configuration wizard on both machines. On the desktop it has a URI of parallel:/dev/lp0
on the laptop it has a URI of ipp://remoteHost/ipp

Is that correct?

In addition when I try to print say a text file directly from kde the printer dialog is returning an "unknown ipp error." It's configuration menus ask for a host name of the printer and a port number. Ay idea what those should look like? And is that configuration method maybe conflicting with the cups one?

Forgive any questions that may make no sense - I am still very much the newbie....
-geomatt
geomatt
 
Old 05-10-2004, 09:38 PM   #4
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Fixed it.
Some uncommenting of lines in cupsd.conf did the trick. Just had to track them down. Also had the kde print manager configured wrong.
 
  


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
network printing via cups rafalek Linux - General 5 03-30-2007 04:54 AM
Network printing with CUPS tarheel92x Linux - Networking 1 09-25-2005 08:10 AM
CUPS Network Printing scarydeath Linux - Networking 1 10-23-2004 10:25 AM
Cups Network printing matux Linux - Networking 0 09-29-2004 11:51 AM
cups network printing rosslaird Debian 9 07-22-2004 12:53 AM

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

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