Re: networkprinting/cups

From: Gregory Seidman (gss+debian_at_cs.brown.edu)
Date: 03/01/04

  • Next message: Colin Watson: "Re: Bad News -- Xfree 4.4 is out"
    Date: Sun, 29 Feb 2004 22:20:07 -0500
    To: debian-user <debian-user@lists.debian.org>
    
    

    On Sun, Feb 29, 2004 at 02:36:03PM +0100, ijbd wrote:
    } my desktop has an HP-720C, which works fine on cups locally. If I use
    } KDE menu Settings/Printing Manager, I can open a printer wizard
    } offering me all kind of things (to be able to push prints to the LAN I
    } think, I want to pull them from the LAN). Do I need to do something
    } here to make the desktop a network print server?
    [...]

    Yes.

    } Aha, /etc/initd.conf enabled imaps and pop3 only so I removed the #in
    } #printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd
    } and restarted initd on both machines. Probably only required on the desktop.

    Completely irrelevant.

    } No improvement, what more to do?

    The trick is that the machine with the printer connected to it has to 1)
    broadcast its print services, and 2) allow printing from the network.
    You may also have to set your laptop to listen for available print
    services. This involves modifying the /etc/cups/cupsd.conf file. Note
    that I have a similar setup to yours, so I've actually done this.

    This paragraph applies to both the client (laptop) and server (desktop).
    Browsing is supposed to be on by default anyway, but you can search in
    the cupsd.conf file for a line about Browsing and make sure it is turned
    on and not commented. The BrowseProtocol should also be uncommented, and
    it should be set to cups. The BrowseAddress should probably be set to
    @LOCAL, but you can put in something more specific if you understand
    what you are doing.

    On just the server, you must have BrowseAllow @LOCAL (or something more
    specific). Now comes the complicated part. You will find a bunch of
    sections that start with <Location PATH> where PATH is something like /
    or /classes. You must somehow allow the laptop access to certain paths.
    My home LAN is behind a NAT, and my network is 192.168.1.x, so I have

    Allow From 192.168.1.1/24

    ...in the /, /classes, /printers <Location> sections. You will want
    something similar.

    Once you've change the cupsd.conf files on both machines, you'll need to
    run /etc/init.d/cupsys restart to get CUPS to reread the configuration.
    You should now magically have the HP printer available to the laptop.

    } mvg Boudewijn
    --Greg

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Colin Watson: "Re: Bad News -- Xfree 4.4 is out"

    Relevant Pages

    • Re: Local Network Problem
      ... server/workstation, a workstation, and a laptop that should be ... I had all three machines talking but after ... Do you use a dhcp server for your machines? ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
      (Ubuntu)
    • Re: Domain resources in router to router VPN
      ... machines in both sites members of the domain. ... > to another subnet of the network. ... I want the laptop to log into the ... > server as well as send and receive messages. ...
      (microsoft.public.win2000.ras_routing)
    • Re: [opensuse] Am I the only one?
      ... we have four machines running Linux -- ... My laptop isn't an important machine. ... It's not an FTP server. ... So we now have all four machines running v11.1 and KDE4. ...
      (SuSE)
    • Re: Outlook 2007 on two computers dont show same e-mails
      ... Do you have one of the machines leaving the mail on the server, if you're getting your mail from a POP3 server? ... I use two machines (laptop & desktop) so I set the laptop to leave message on the server then early every morning I have the desktop retrieve all the messages. ... Can't I see from my desktop computer the e-mails I see on the laptop? ...
      (microsoft.public.outlook)
    • Re: Local Network Problem
      ... server/workstation, a workstation, and a laptop that should be ... They will not respond if I ping the ... I had all three machines talking but after ... Do you use a dhcp server for your machines? ...
      (Ubuntu)