Find the answer to your Linux question:
Results 1 to 10 of 10
Hello everyone I have a machine running fedora core 8 ... and on that mchine i can see a printer (Samsung ML-1610) that is connected to another system on wh ...
  1. #1
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281

    CUPS printer config

    Hello everyone
    I have a machine running fedora core 8 ... and on that mchine i can see a printer (Samsung ML-1610) that is connected to another system on wh i am running ubuntu... i made it possible via
    PHP Code:
    http://localhost:631/admin 

    but i wasnt able to print from my fedora machine
    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 waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    You may need to go through the "Add Printer" routine on the Fedora CUPS server. Instead of using "localhost" in the address, use the actual IP address. For example, here is my address for a HP PSC 1200 on another PC. I am using the ipp protocol instead of the http protocol.
    Code:
    ipp://192.168.1.75:631/printers/psc_1200
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  3. #3
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    thanks waterhead for ur reply
    I tried following in my firefox
    ipp://192.168.1.2:631/printers/
    but i am gettin following error
    Firefox doesn't know how to open this address, because the protocol (ipp) isn't associated with any program.
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  4. #4
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    You misunderstood me. You first must go to the CUPS server for your PC, then click the Add Printer button.
    Code:
    http://localhost:631/admin?OP=add-printer
    On this first page you only enter the "human readable" things, like this example:

    Name: Samsung_ML-1610
    Location: Bedroom
    Description: Laser Printer

    Click the "Continue" button. Then you select the format for connecting to the printer. Ipp or http seem to be what you want to try. I have ipp for printers connected to another PC, and http for a printer connected to a print server.

    Click "Continue" again. Here is where you enter the address to the printer. Since it is already configured on another CUPS server, use that name here, along with the correct IP address. It may look like this:

    ipp://192.168.1.2:631/printers/Samsung_ML-1610

    Now finish the new printer process, and print a test page.

    Hope this helps.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  5. #5
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    thanks waterhead for ur reply
    i have done this all on my fedora machine .sadly its not working
    i am starting to feel that may be i am missing some configurating on ubuntu machine.
    could u please tell me that what configuration should be on ubuntu 8.10
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  6. #6
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    On the PC that the printer is connected to (Ubuntu?), you should open that CUPS server. On the "Printers" tab, find the printer that you are trying to connect to. Then click on the button under it titled "Publish Printer".
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  7. #7
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    thanks waterhead 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
    "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

  8. #8
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    Do you have a firewall enabled? Disable it (both computers) and try again. Also, disable SELinux on the Fedora machine.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  9. #9
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    on fedora my firewall is disabled...
    on ubuntu i have opened the port 631 (as ubuntu comes with all ports blocked) by issuing following command
    sudo iptables -A INPUT -p 0/0 -s 0/0 --dport 631 -j ACCEPT
    now
    netstat -an | grep "LISTEN"
    on ubuntu gives
    tcp6 0 0 :::631 :::* LISTEN
    but still i am getting following error by firefox
    The connection has timed out
    The server at 192.168.1.2 is taking too long to respond.
    Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie

  10. #10
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    Are you positive that you are using the correct IP address? 192.168.1.2 doesn't seem like an address that a PC would have. To check, run this command on the PC that you want to check.
    Code:
    ifconfig
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

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