Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Hello everyone I have a machine running Ubuntu 8.10 and with that that machine i have connected Samsung ML-1610(Mono Laser Printer). I have second machine running fedora core 8 ... ...
  1. #1
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281

    accessing printer on network

    Hello everyone
    I have a machine running Ubuntu 8.10 and with that that machine i have connected Samsung ML-1610(Mono Laser Printer).
    I have second machine running fedora core 8 ... and from this machine i want to access my printer(Samaung ML-1610) that is connected to machine running ubuntu 8.10.
    any idea how can i do that ...!!!
    thanks
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    On your Ubuntu computer, you need to set up CUPS server to accept calls from other computers in your network. This should be as easy as editing (with sudo) the file /etc/cups/cupsd.conf, change the line

    Listen localhost:631

    to read

    Listen *:631

    Save and restart the CUPS server. Also, if you have the firewall enabled, open port 631 (IPP/CUPS).

    On your fedora machine, simply set the printer setup to use network cups and point it to the Ubuntu computer. There's no further configuration, all network printing is done by postscript and the server takes care of any post conversions if necessary.

  3. #3
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    thankd D-cat for your reply
    i did configure /etc/cups/cups.conf with what u advice i also enabled port 631... but i am facing difficulty configuring fedora machine, i try to configer it by clicking System->administration->printing
    here with server selected on left hand side i clicked go to server , a dialog box opened wh prompt for CUPS server and username... i tried different CUPS server name and user name but i am getting error
    CUPS SERVER error
    there was an error during the cups operation.: 'http Connection Encrypt failed'.
    could u please guide me abit more precisly with me fedora side setting... coz i think i am not following right path on my fedora machine.
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  4. #4
    Linux Newbie
    Join Date
    Sep 2004
    Location
    UK
    Posts
    160
    On the machine hosting (ubuntu) the printer go to"http://localhost:631/admin/" and make sure you have the "Share published printers connected to this system" checked. Restart the cups service.

    On the fedora machine go to "http://localhost:631/admin/" and make sure you have "Show printers shared by other systems" checked. restart the cups service.

    Now on the fedora machine go to "http://localhost:631/printers/" and the available cups printers on the network should show up.

    After all this your /etc/cups/cups.conf should look like this (this is from my fedora server, ubuntu should be similar).

    Code:
    LogLevel info
    SystemGroup sys root
    # Allow remote access
    Port 631
    Listen /var/run/cups/cups.sock
    # Enable printer sharing and shared printers.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseAddress @LOCAL
    DefaultAuthType Basic
    <Location />
      Allow all
      # Allow shared printing and remote administration...
      Order allow,deny
      Allow all
    </Location>
    <Location /admin>
      Encryption Required
      Allow all
      # Allow remote administration...
      Order allow,deny
      Allow all
    </Location>
    <Location /admin/conf>
      AuthType Default
      Require user @SYSTEM
      Allow all
      # Allow remote access to the configuration files...
      Order allow,deny
      Allow all
    </Location>
    <Policy default>
      <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>
      <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      </Limit>
      <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      </Limit>
      <Limit CUPS-Authenticate-Job>
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>
      <Limit All>
        Order deny,allow
      </Limit>
    </Policy>
    In a world without walls and fences, who needs Windows and Gates?

  5. #5
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    thanks blinky for yor reply it worked half way.
    i was able to see printer on my Fedora Machine.
    but i am unable to get print on a printer that is connected to ubuntu 8.10 machine.
    i copied /etc/cups/cups.conf from above post to /etc/cups/cupsd.conf of Ubuntu 8.10 but it still didnt worked.
    when i click "Print test page" i can see at the bottom of browser that
    connecting to 192.168.1.2
    but after a long wait i am gettin this error
    Firefox can't establish a connection to the server at 192.168.1.2:631.
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  6. #6
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    Ding............!!!!!!!!!!!!
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  7. #7
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    blinky and D Cat can u read this
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  8. #8
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Try the configuration from the ubuntu machine as localhost as suggested above.

    The only difference between my cupsd.conf and the one above is right at top:
    LogLevel warning
    SystemGroup lpadmin
    I'm not sure that makes any difference as far as accepting jobs from users is concerned. I kind of doubt it. I'm guessing something in the admin setup page might lend a clue (https://localhost:631/).

  9. #9
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    thanks D-cat for ur reply.....
    on my ubuntu system in i have a printer ML-1610 , whose Device URI is
    Device URI: usb://Samsung/ML-1610
    and that printer is working(i assured that by printing a "test page")
    Also share published printers connected to this system is also checked... i have also published that printer!!!
    on my fedora system i added printer
    Device URI ipp://192.168.1.2:631/printers/ML-1610
    now when i clicked "print test page" on my fedora system, initially i see a text message like this

    ML-1610 "Connecting to 192.168.1.2 on port 631..."
    but then after a while i got this error
    Quote:
    "recoverable: Unable to connect to printer; will retry in 30
    seconds..."
    any idea what i am missing
    __________________
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  10. #10
    Just Joined!
    Join Date
    Sep 2008
    Posts
    68
    Hello bilal_jan, good evening.

    Maybe my blog could help solve your problem --> HERE

    Althought my topic there is Network Printing between WinXP and Ubuntu but I guess it can help you get an idea. I'm talking about the Device URI. Check the second method in my blog. Let us know the result.

    Take care and God bless.

Page 1 of 2 1 2 LastLast

Posting Permissions

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