Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
Hi everyone, i need some help. I have redhat and a samsung ml-1630w connected to the network NOT to a physical machine. Quering the printer via the browser it tells ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    9

    Samba CUPS nightmare

    Hi everyone, i need some help.
    I have redhat and a samsung ml-1630w connected to the network NOT to a physical machine.
    Quering the printer via the browser it tells me ipp is set and ready to go.

    i'm going to use samba and cups for print server and sharing with windows. Samba conf is set to printing = cups and is totally happy with it, loads and shares my printer with windows clients.

    but i can't print to it. not even from the redhat that hosts cups, nevermind from windows.

    i opened localhost:631 said add printer and said the printer was an ipp printer and gave it the address to reach to it.

    i gave him the driver that came with the printer, he was happy and said: printer idle, ready to print.
    so i tried to print a test page. it said aborted. I ping the printer, on port :80 it answers.
    I disabled iptables to see if it was a connection problem but still refuses to print.
    I went back to cups and i used every possible combination to get to the printer:
    ipp / /x.x.x.x:631
    http / /x.x.x.x:631
    http / / x.x.x.x:631/ipp
    socket / / x.x.x.x:9100
    http / / x.x.x.x

    (obviously after the protocol there is the : // but the forum won't allow me to put it because it tries to auth hyperlink it..)
    and so on and so forth...

    i reconfigured my cupsd.conf to allow all, browsable allow all.
    nothing at all worked. i'm sure i'm missing something...any help? any ideas on how i'm going to reach that printer?
    the printer properties tells me the printer URI is: http / / x.x.x.x:631
    IPP protocol: Enable
    Auth scheme: none

    thank you!!!

  2. #2
    Linux User
    Join Date
    Sep 2008
    Location
    UK
    Posts
    353
    If it helps, I set up my samsung scx 4200 via an hp usb jetdirect printserver. I got the printer to work in suse by installing the samsung driver and using an http://ip_address/RAW setting.
    Windows should also allow this without having to use cups server.

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    9
    Thanks, but my print server will be the redhat machine.
    i also tried to use port 9100 and when i print a test page it says processing and that's it. if i don't use cups how do i modify the smb.conf to give it the parameters for an http printer?

    or, maybe easier, how do you install, step by step a networked printer (samsung) not connected to any machine - the way you like it, nevermind i need to share it.
    thanks

  4. #4
    Linux User
    Join Date
    Sep 2008
    Location
    UK
    Posts
    353
    Quote Originally Posted by Sele View Post
    Thanks, but my print server will be the redhat machine.
    i also tried to use port 9100 and when i print a test page it says processing and that's it. if i don't use cups how do i modify the smb.conf to give it the parameters for an http printer?

    or, maybe easier, how do you install, step by step a networked printer (samsung) not connected to any machine - the way you like it, nevermind i need to share it.
    thanks
    How are you setting it up?
    Redhat and printer <->network <-> Windows pc ...

    OR

    Redhat and printer <->network <-> linux pc?

    If the machine is running linux, open a browser and go to localhost:631 to set up cups.
    Remember, cups is only for linux/unix machines.

    I don't use samba, but try setting it up using swat on the redhat box. (It allows samba configuration using a web browser.)

    I installed my samsung printer using an hp 170x usb print server. If you look on ebay, you should be able to get a cheap one.

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    9
    i'm setting this up: redhat <-> network <-> printer
    that's all i need to set up really because after that samba works and i get to share to windows all the printers that i create, shame i just can't print to any of them. But forget samba for a second, that really is not the problem.
    Cups is set, but it won't print, which is why i'm thinking there has to be something wrong in getting to the printer. I even tried with webmin and cups creating a new printer, raw printing, it says i'm successful printing a test page, but nothing comes out of the printer...
    even from the cups localhost:631 i can create succesfully the printer, it will say idel, ready to print, i say print test, it says ok, but nothing comes out of the printer...

    unfortunately i must forget hp print server, long story, but i just cannot get one

  6. #6
    Linux User
    Join Date
    Sep 2008
    Location
    UK
    Posts
    353
    What is the printer connected to - a pc with linux/windows or a print server?
    If it's set to a pc, can you set it up as a normal printer and print a text file?

  7. #7
    Just Joined!
    Join Date
    Jun 2009
    Posts
    9
    the printer is connected to a network cable and has its own ipaddress.

  8. #8
    Linux User
    Join Date
    Sep 2008
    Location
    UK
    Posts
    353
    In other words, it has a print server attached?
    If so, set up your print server first. Then in linux, set the printer to print to http://printer-ip/RAW (you should be able to get the format from the print server config.) Port 9100 is only used by hp jet direct servers.
    Look at the print server set up docs for windows printing.
    You don't need samba and cups, only RAW tcp printing for linux boxes.

  9. #9
    Linux User
    Join Date
    Sep 2008
    Location
    UK
    Posts
    353
    I take it that you have managed to print using windows when you set it up, or are you confusing the usb cable for a network cable?
    Also, if you have a network print server card, most of them have a web interface that allow you to set them up from a browser.

  10. #10
    Just Joined!
    Join Date
    Jun 2009
    Posts
    9
    i want to use samba as my print server. samba is on the redhat machine.
    i cannot find a way to set this up without connecting the printer physically to a pc. but there must be a way. if i call my printer thru a browser it answers and lets me see everything, so i just need to make a queue, right?

Page 1 of 3 1 2 3 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
  •  
...