LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-21-2013, 05:44 AM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 180

Rep: Reputation: 24
Printer driver backup - Debian home server


Hi everyone,
Months ago I managed to install manually the drivers for 2 printers (Inkjet EPSON CX-3900 and Laser SAMSUNG ML1160) in my Debian Squeeze box.
Unfortunately, I wasn't as wise as to backup the .deb file I used to install each printer, and now I find myself needing to reinstall the OS and I just thought about those printers.
I was wondering if there is anywhere I could look in my system to find the original .deb file or any way to recover it.
If I can't, I'll just take the long and hard way to look for those files (I remember it took quite a while to find them). Just asking.
Thanks in advance ya'll.
 
Old 01-22-2013, 12:57 AM   #2
descendant_command
Member
 
Registered: Mar 2012
Posts: 755

Rep: Reputation: 159Reputation: 159
Code:
locate *.deb | grep something
 
Old 01-22-2013, 07:25 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,416

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
Open up the Synaptic Package Manager and, in the left pane towards the bottom, select "Status-->Installed." Then use the search feature to search for Epson and Samsung and note the package names.
 
Old 01-23-2013, 04:35 PM   #4
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by frankbell View Post
Open up the Synaptic Package Manager and, in the left pane towards the bottom, select "Status-->Installed." Then use the search feature to search for Epson and Samsung and note the package names.
I forgot to add that this is a CLI-only server, so there is no GUI-based package manager.
 
Old 01-23-2013, 08:33 PM   #5
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,416

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
You can list all installed packages with this command:

Code:
dpkg -l
It will be quite a list, but, in combination with grep, it might answer your questions. I have an HP printer, and

Code:
dpkg -l | grep hp
produced useful results.

I learned about the option from the Going Linux podcast. I refreshed my memory at this link.
 
1 members found this post helpful.
Old 01-24-2013, 08:28 AM   #6
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by frankbell View Post
You can list all installed packages with this command:

Code:
dpkg -l
It will be quite a list, but, in combination with grep, it might answer your questions. I have an HP printer, and

Code:
dpkg -l | grep hp
produced useful results.

I learned about the option from the Going Linux podcast. I refreshed my memory at this link.
Thanks a lot! That did the trick. You're the man! I'll mark this thread as solved and add to your reputation .

Code:
gacanepa@debian:~$ sudo dpkg -l | grep Sam
[sudo] password for gacanepa: 
ii  libwbclient0                       2:3.5.6~dfsg-3squeeze4       Samba winbind client library
ii  samba-common                       2:3.5.6~dfsg-3squeeze4       common files used by both the Samba server and client
ii  samba-common-bin                   2:3.5.6~dfsg-3squeeze4       common files used by both the Samba server and client
ii  samba-doc                          2:3.5.6~dfsg-3squeeze4       Samba documentation
ii  splix                              2.0.0-2.2                    Driver for Samsung's SPL2 (bw) and SPLc (color) laser printers
ii  swat                               2:3.5.6~dfsg-3squeeze4       Samba Web Administration Tool
gacanepa@debian:~$ sudo dpkg -l | grep epson
ii  epson-inkjet-printer-escpr         1.1.1-1lsb3.2                Epson Inkjet Printer Driver (ESC/P-R) for Linux
gacanepa@debian:~$ aptitude show epson-inkjet-printer-escpr
Package: epson-inkjet-printer-escpr      
New: yes
State: installed
Automatically installed: no
Version: 1.1.1-1lsb3.2
Priority: extra
Section: alien
Maintainer: Seiko Epson Corporation <linux-epson-inkjet@avasys.jp>
Uncompressed Size: 2,220 k
Depends: lsb (>= 3.2)
Description: Epson Inkjet Printer Driver (ESC/P-R) for Linux
 This software is a filter program used with Common UNIX Printing System (CUPS) from the Linux. This can supply the high quality print with Seiko Epson Color
 Ink Jet Printers. 
 
 This product supports only EPSON ESC/P-R printers. This package can be used for all EPSON ESC/P-R printers. 
 
 For detail list of supported printer, please refer to below site: http://avasys.jp/english/linux_e/ 
 
 (Converted from a rpm package by alien version 8.79ubuntu0.1.)

gacanepa@debian:~$ aptitude show splix
Package: splix                           
State: installed
Automatically installed: no
Version: 2.0.0-2.2
Priority: optional
Section: text
Maintainer: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
Uncompressed Size: 2,015 k
Depends: libc6 (>= 2.3.6-6~), libcups2 (>= 1.4.0), libcupsimage2 (>= 1.4.0), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), cups, cups-client, ghostscript-cups
Description: Driver for Samsung's SPL2 (bw) and SPLc (color) laser printers
 Support for printing to SPL2- and SPLc-based printers. These are most of the cheaper Samsung laser printers which do not understand standard languages like
 PostScript or PCL. Both monochrome (ML-15xx, ML-16xx, ML-17xx, ML-2xxx) and color (CLP-5xx, CLP-6xx) models are supported. Also some rebranded Samsungs like
 the Xerox Phaser 6100 work with this driver. 
 
 Note that older SPL1-based models (ML-12xx, ML-14xx) do not work. Use these printers with the older "gdi" driver which is built into GhostScript.
Homepage: http://splix.ap2c.org/

Last edited by gacanepa; 01-24-2013 at 10:39 AM.
 
Old 01-24-2013, 08:36 PM   #7
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,416

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
Cool. Glad I could help.

Going Linux is a great podcast. All I did was listen.
 
  


Reply

Tags
debian, install, printers


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup live system - home server i92guboj Linux - Server 3 09-11-2009 02:46 PM
home server - backup strategy - Linux Help wo2caisley Linux - Newbie 1 05-30-2008 10:24 AM
How might I Setup Home Web Server plus File Server plus Printer Sharing brindamo Linux - Server 3 01-14-2008 12:48 AM
Doing a Home Backup Server the right way? zephyrcat Linux - Server 5 10-03-2007 06:42 AM
printing to a debian printer from windows xp home utanja Linux - Networking 9 11-14-2005 12:17 AM


All times are GMT -5. The time now is 09:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration