View previous topic :: View next topic |
Author |
Message |
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sun Mar 02, 2014 1:14 am Post subject: cups.conf & printers.conf = print? |
|
|
Should copying cups.conf and printers.conf generally be sufficient for moving a working printer configuration from one computer to another? |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Sun Mar 02, 2014 11:22 am Post subject: |
|
|
No. Looking at /etc/cups, I have:
Code: |
.
├── client.conf
├── client.conf.org
├── cupsd.conf
├── cupsd.conf.default
├── cupsd.conf.org
├── interfaces
├── ppd
│ ├── canonmg5200.ppd
│ ├── custom
│ │ ├── HP-DeskJet_310-cdj550.ppd
│ │ ├── HP-DeskJet_310-pcl3.ppd.3
│ │ ├── HP-DeskJet_310-pcl3.ppd.4
│ │ ├── MP630-series.ppd
│ │ └── Samsung-ML-2250-gdi.ppd
│ ├── DeskA4-310.ppd
│ ├── DeskA5-310.ppd
│ ├── DeskJet310.ppd
│ ├── MP630-series.ppd
│ ├── Pixma_MG5250.ppd
│ └── Samsung2251N.ppd
├── printers.conf
├── printers.conf.org
├── snmp.conf
├── snmp.conf.org
├── ssl [error opening dir]
└── subscriptions.conf
|
That's an accumulation of ten year's printers, but you get the idea.
Will |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sun Mar 02, 2014 1:23 pm Post subject: |
|
|
Thanks, which program draws that tree? |
|
Back to top |
|
|
SirRobin2318 Apprentice
Joined: 24 Apr 2004 Posts: 241 Location: Strasbourg, france.
|
Posted: Sun Mar 02, 2014 2:07 pm Post subject: |
|
|
I'll guess tree -A. |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Sun Mar 02, 2014 3:52 pm Post subject: |
|
|
And there's more - I had a vague recollection of copying an install from Ubuntu:
Code: |
Mon Aug 16 09:19:28 BST 2010
Emerged cnijfilter with the mp630 flag on Gentoo (the cnijtools flag needs
the obsolete libxml library), but the printer didn't respond.
Installed Canon MP630 drivers from .deb files on Ubuntu, and then copied the
/usr/share/ppd directory, the /etc/cups/cupsd.conf and printers.conf, and the
/etc/cups/ppd/MP630-series.ppd files across to Gentoo (some of these files
appear to be binary drivers). Printing from Gentoo then worked.
Note that USB printers have to be attached and powered up before the system
is booted, at least for the install.
There are two extra directories in Ubuntu, /usr/share/cngpijmonmp630 and
/usr/share/printuimp630; they seem to be part of cnijtools, but were copied
across anyway.
|
So some printers can get pretty weird.
Will
(Yes, tree) |
|
Back to top |
|
|
|