Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Newbie trying to install linux printer driver

  1. #1
    Join Date
    Mar 2010
    Beans
    78
    Distro
    Lubuntu 12.04 Precise Pangolin

    Newbie trying to install linux printer driver

    Hello, looking for some assistance, if anyone can help. I'm trying to set up with Ubuntu for the first time. It's taken me a long time to get my wireless network, and the sound to work, now the last thing is the printer! I have an old Samsung ML4500, and no sign of recognition on booting with the device connected. I've download the tar file for the linux i386 driver from http://www.samsung.com/uk/support/de...sub_class_cd=P

    I've copied the readme text at the bottom of this message.

    So my questions are:
    1) The printer didn't work "out of the box", does that mean that I have to use the driver from Samsung or could the correct driver be in Ubuntu somewhere, but I have to install it? (I can't even tell what the driver is called at the moment).
    2) If I do need to install the Samsung version, do I fulfil the 3 "requirements" from the installation notes (below). I'm using a fresh version of 32 bit Karmic?
    3) Does it matter when the installation files are? Currently I've extracted them to directory /home/John/Downloads, and inside there there is a folder called "image" which has the setup.sh file which I'm supposed to run.
    4) It says I need to be "logged in as the super-user (root)". Is this satisfied if I cd to "image" and enter sudo setup.sh? Probably not as I get a message "command not found" when I do this. Does using "sudo" fulfill the super user bit? Does being in /home/john/ count as the root bit?

    Sorry to ask such basic questions.

    Regards, John

    SUPPORTED CONFIGURATIONS
    ------------------------

    - Linux distributions : Redhat 6.x, Mandrake 7.x, SuSE 6.x, Debian 2.2,
    Caldera OpenLinux 3.x, TurboLinux, Slackware 7.x, Linux/PPC, Yellow Dog,
    and newer versions.
    - Linux kernel 2.2 and up
    - GNU Libc version 2.1 and up

    Requirements :
    - GTK+ 1.2 libraries ; these usually come with the GNOME desktop environment,
    but if your distribution didn't install those by default, you will need to
    install them before you can use the graphical tools from this package.
    - A working Ghostscript installation
    - CUPS 1.1.x is the preferred printing system for this package, but the
    Linux Package will accommodate any other printing system based on LPD.
    CUPS 1.1.14 packages are provided as a convenience with this program, and can
    be installed or upgraded from the installer. However, users of Debian and
    Slackware distributions should make sure they have an active printing system
    (such as LPD) before proceeding with the installation.

    INSTALLATION
    ------------

    You need to be logged in as the super-user (root) to be able to install this
    package.

    - Run the 'setup.sh' script on the CDROM to launch the installation program,
    if the installer didn't start automatically upon insertion of the CDROM in
    your drive.

    - You may choose either the "Recommended" or "Expert" types of installation.
    "Recommended" is fully automated and won't require any interaction on your
    part. It will install the product under /usr/local/linuxprinter.
    The "Expert" installation allows you to fine-tune these settings and choose
    where the package will be installed.

    - Once the installation is done, you will be offered the option to start the
    Configuration Tool, which allows to install and configure new Linux printers
    into your Linux system.

    - The configuration tool can later be launched by using the 'linux-config'
    command, or through the menu item that may have been added to your Gnome / KDE
    menus.

  2. #2
    Join Date
    Nov 2007
    Location
    Les Gets, France
    Beans
    753
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Newbie trying to install linux printer driver

    Hi
    In answer to question 4, Yes, sudo should give you root privileges. It is all case sensitive - could that be the problem? ie is it SETUP.sh?

  3. #3
    Join Date
    Dec 2009
    Beans
    540
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Newbie trying to install linux printer driver

    If the directory the script is in is not in a PATH directory, you will need to run
    Code:
    sudo ./setup.sh
    . This simply tells bash to look in the current directory to find the script.

    You may have to make the script executable if you haven't done so already:
    Code:
    sudo chmod +x ~/Downloads/image/setup.sh
    Last edited by patchwork; March 27th, 2010 at 12:21 AM.

  4. #4
    Join Date
    Mar 2010
    Beans
    78
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Newbie trying to install linux printer driver

    Thanks for posting roger_1960, setup_sh is in the correct case.

    patchwork thanks for that. I've just got to the permissions section of the ubuntu pocket guide, so hopefully no-one will have to explain that to me again.

    I did get setup_sh to run finally by using gksu (used instead of sudo to run graphics package) in root:

    root@jf:/home/john/Downloads/image# gksu setup.sh
    root@jf:/home/john/Downloads/image#

    No error messages, and no output, and no worky. Unless anyone reading has any suggestions, perhaps I'll try the "Installations and Upgrades" board.

    J.

  5. #5
    Join Date
    May 2009
    Beans
    121
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Newbie trying to install linux printer driver

    I havent checked the instructions out. But look at this link http://www.openprinting.org/printer/...amsung-ML-4500
    The say it works perfectly.

  6. #6
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Newbie trying to install linux printer driver

    Quote Originally Posted by johnfrith View Post
    1) The printer didn't work "out of the box"
    But it is supported out of the box. I've just checked. The driver for the ML-4500 is included.

    I was surprised to see you say this because my ancient Samsung ML-1210 works out of the box and has done so with every distro I've tried since 2005. There is a huge range of Samsung printers supported in a default install.

    Let's go back to basics. You say "no sign of recognition on booting with the device connected". It's not necessarily auto-recognised. Boot up, connect the printer and switch it on and go to System > Administration > Printing. If the printer is not already configured, click on 'add' and follow the wizard.

    If that fails for some reason, open firefox and type 'localhost:631" in the address box. Click on the "Administration" tab and then "Add Printer" and see where that takes you.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  7. #7
    Join Date
    Mar 2010
    Beans
    78
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Newbie trying to install linux printer driver

    Quote Originally Posted by coffeecat View Post
    Boot up, connect the printer and switch it on and go to System > Administration > Printing. If the printer is not already configured, click on 'add' and follow the wizard.
    If I run this, and click "New", it searches for a printer, but doesn't find anything. It does present a screen where I can enter a URI, but I don't know what the URI is. I have searched but all the explanations go over my head.

    Quote Originally Posted by coffeecat View Post
    If that fails for some reason, open firefox and type 'localhost:631" in the address box. Click on the "Administration" tab and then "Add Printer" and see where that takes you.
    This gives me a screen:
    Add Printer

    Local Printers: SCSI Printer
    HP Printer (HPLIP)
    HP Fax (HPLIP)
    Discovered Network Printers:
    Other Network Printers: AppSocket/HP JetDirect
    Internet Printing Protocol (http)
    Internet Printing Protocol (ipp)
    LPD/LPR Host or Printer
    Windows Printer via SAMBA
    Backend Error Handler


    This doesn't mean much to me. I tried SCSI printer, which takes me to:
    Add Printer

    Connection:
    Examples: http://hostname:631/ipp/
    http://hostname:631/ipp/port1

    ipp://hostname/ipp/
    ipp://hostname/ipp/port1

    lpd://hostname/queue

    socket://hostname
    socket://hostname:9100
    See "Network Printers" for the correct URI to use with your printer.


    Network Printers takes me to:
    Using Network Printers

    Using Network Printers

    This help document describes how to discover, configure, and use TCP/IP network printers with CUPS.
    Getting the IP Address



    .................................................e tc.

    Well, first thing is that it's not a networked printer, but ignoring that, in the middle of this page there is a table of common URI's, but no mention of Samsung.

    I'm lost and my head is spinning. I'm sure this is obvious to someone, but I'm putting in a lot of hours trying to climb this learning curve. Any help appreciated.

    Regards, John

  8. #8
    Join Date
    Mar 2010
    Beans
    78
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Newbie trying to install linux printer driver

    Quote Originally Posted by s_ø View Post
    I havent checked the instructions out. But look at this link http://www.openprinting.org/printer/...amsung-ML-4500
    The say it works perfectly.
    Thanks s_ø.

    I did have to buy a new (usb) cable for the printer. Maybe that's not working.

  9. #9
    Join Date
    Mar 2010
    Beans
    78
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Newbie trying to install linux printer driver

    Just tried my new cable with my old laptop, and it works, so it's not a problem with the cable.

  10. #10
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Newbie trying to install linux printer driver

    It's likely that Ubuntu is not detecting the printer, not that it doesn't have the drivers. Which may be a hardware issue.

    Question: are you able to detect any other usb device in the port you're using? Have you tried a different usb port for the printer. You're not, by chance, using a usb to parallel converter between the printer and usb cable?

    Try this. Boot up with the live CD so that you're getting a completely default, albeit live, Ubuntu system. Plug in and switch on the printer. Is it detected? Can you configure it and print a test page? If so, there's something wrong with your installed version of Ubuntu which we need to look into. If not....

    Boot up the live CD on the laptop (assuming that the laptop can run it) - or on another machine - and do the same. If the live CD can detect and configure the printer, but not the original machine, then you have a hardware problem.

    By the way, running the CD live does not in any way affect any installed OS, unless you mount the hard drive and edit/change any files on it. So running the live CD should not damage whatever's on the hard drive. If you manage to configure the printer in the live session, all this is lost when you power down, so that won't solve the issue, merely be useful diagnostically.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

Page 1 of 2 12 LastLast

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
  •