Results 1 to 5 of 5

Thread: Comprehensive, command line guide to sharing printer from server

  1. #1
    Join Date
    Feb 2008
    Beans
    76
    Distro
    Ubuntu 12.04 Precise Pangolin

    Comprehensive, command line guide to sharing printer from server

    Is there a really good, comprehensive guide out there for setting up and sharing (only on one's local network) a USB attached printer from Ubuntu Server 11.10, only using the command line on the server? I haven't found anything in the official documentation or the community documentation that distinguishes between "sharing" a printer "on the network" and setting up a "shared, network-enabled" printer (two separate scenarios).

    I'm trying to learn how to be proficient on the command line and for the past couple of months it's been a complete disaster. So far I've managed to set up an HP Officejet 5610, connected via USB, to a Ubuntu Server 11.10, and it will print from a Windows 7 client, but printing from a Ubuntu 11.10 client keeps asking for some autentication I don't remember setting up or having (all possible user passwords have been tried and failed). Scanning from this MFD is impossible (well, it's possible but not for me on the command line).

    I'd really like to learn this, but I'm not finding the resources I need. Any and all help is always appreciated.

  2. #2
    Join Date
    Mar 2012
    Beans
    17

    Re: Comprehensive, command line guide to sharing printer from server

    ,would be a great help for me either...

  3. #3
    Join Date
    Mar 2012
    Beans
    17

    Re: Comprehensive, command line guide to sharing printer from server

    well, im using the kubuntu 11.10 and my kubuntu 11.10 client is seeing the shared printer but just wont work (wew) i think i need a little sleep...

  4. #4
    Join Date
    Feb 2008
    Beans
    76
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Comprehensive, command line guide to sharing printer from server

    What, I think, would really help would be "example" configuration files. Like an example smb.conf set up for sharing a printer to all on one's local network (but no outside access). Assuming a fresh install of the server environment (which you would have to do) one could post common initial configurations like this for various typical setups.
    Anyway, just a thought. I've reinstalled my server again (good thing I have my actual data on another drive) and am making headway, but it could be more streamlined.

  5. #5
    Join Date
    Mar 2008
    Location
    Queensland Australia
    Beans
    664
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Comprehensive, command line guide to sharing printer from server

    In a terminal, run:
    sudo gedit /etc/cups/cupsd.conf

    Look for :
    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all

    Add the following line:
    BrowseProtocols all
    You may also have to change this next section in your cupsd.conf file

    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen /var/run/cups/cups.sock
    Listen 192.168.1.12:631

    (192.168.1.12 is the IP address of the machine with the printer on it, 631 is the port number to listen on).

    From the client machine on the network try to connect to the networked printer using IPP to the IP address of the server machine, verify the printer is shared, download the drivers.

    I am running Ubuntu 10.4 LTS.

    regards

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •