LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Printer driver backup - Debian home server (http://www.linuxquestions.org/questions/linux-newbie-8/printer-driver-backup-debian-home-server-4175446561/)

gacanepa 01-21-2013 05:44 AM

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.

descendant_command 01-22-2013 12:57 AM

Code:

locate *.deb | grep something

frankbell 01-22-2013 07:25 PM

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.

gacanepa 01-23-2013 04:35 PM

Quote:

Originally Posted by frankbell (Post 4875787)
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.

frankbell 01-23-2013 08:33 PM

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.

gacanepa 01-24-2013 08:28 AM

Quote:

Originally Posted by frankbell (Post 4876522)
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/


frankbell 01-24-2013 08:36 PM

Cool. Glad I could help.

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


All times are GMT -5. The time now is 07:17 AM.