SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Rep:
Printer driver
Has anyone been successful in getting a Dell V313w working with Slackware? I found drivers for RPM and DEB based systems, but have been unable to make them work with Slackware. Any help with this would be appreciated.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
Yes I can see the printer in the CUPS interface. The problem is, there are no drivers for it and I have been unable to get the rpm or deb based ones to work. I tried src2pkg on both but neither will build a Slackware package.
The file which cups needs for your printer is a *.ppd file. You could extract the rpm or the debian package and search there for a ppd file. This file can be installed via the cups-webinterface.
A PPD file alone isn't going to help you, unless the printer understands PostScript or is supported by Ghostscript. This Dell isn't either, so their driver includes a PPD file and I assume a program to convert the data stream from CUPS Raster, and who knows what else. Although it is possible their Ubuntu (or other) driver can be made to work on Slackware, it is unlikely to be easy to debug... sorry I can't offer more advice here.
They seem to distribute it as tar.gz file, which unpacks to the self-extracting shell script package you found above; you are supposed to run that from the shell and it unpacks itself, and I think it creates a .rpm or .deb file... the one I looked at had a Java runtime and a whole bunch of LUA scripts too... I don't know why they used such a strange, twisted method of packaging their driver... but if you can get it to an .rpm file, you can try rpm2tgz and then unpack the result, and you just might find something usable.
Open the Downloads folder and run these sequential commands:
Code:
tar -xzf R293771.rpm.sh.tar.gz
./R293771.rpm.sh
rpm2tgz R293771.rpm
installpkg ./R293771.tgz
Dell's website has this as an excerpt:
Quote:
Manually adding the Printer in CUPS:
---------------------------------------
1. Attach the printer via USB to the Linux machine.
2. Run a browser and open "http://localhost:631"
3. Click "Add Printer" and fill out the details, such as name and description. In the Device dropdown list, select "Dell USB Backend #1 (Dell )" or "Dell Network Backend #1 (Dell )". Make sure you select the correct device. The printer is not detected by the machine if you cannot see its model in the list. On some distro, you may have to reboot the machine so it can be detected. You can also Browse for the PPD file if the device is not on the list. The ppd files are located in folder /usr/dellinkjet/dell09/etc/.
The following are the different models supported by this driver and with their matching ppd file:
Printer PPD
------------------------------------------------------
Dell V310-V510 Series ..... dlV310-V510.ppd
4. Select your Dell printer model name. After adding the printer, you should see the "Printer Options". Click the "Set Printer Options" (optional) or proceed to the next step.
5. You can access the printer admin directly by typing this address in the browser: http://localhost:631/printers/. The name of the printer is what you entered in step 3.
6. Print a test page to make sure the software has been successfully installed.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
When I tried this it did not work. The tar command created the same file as my earlier post. When I tried to run that, it started a nix installer program that then failed with a bunch of missing dependencies. I did not check all of the "missing" dependencies but the ones I did check are in fact installed on my system.
You should check the dependencies and then reattempt this. Remember Slackware requires manual dependency checking and if it doesn't find something it will let you know you have to look for it and then install the package it's in. 9 time sout of 10 all the packages you'll need are at SlackBuilds.org anyway.
There's a good chance that this package requires lua which is available from SlackBuilds.org as well as possibly the packages for libgnomecups, libgnomecanvas, libgnomeprint, and libgnomeprintui which are also available there.
Remember you do have to do all the dependency checks yourself on Slackware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.