Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cups.conf & printers.conf = print?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 643

PostPosted: Sun Mar 02, 2014 1:14 am    Post subject: cups.conf & printers.conf = print? Reply with quote

Should copying cups.conf and printers.conf generally be sufficient for moving a working printer configuration from one computer to another?
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1633

PostPosted: Sun Mar 02, 2014 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 643

PostPosted: Sun Mar 02, 2014 1:23 pm    Post subject: Reply with quote

Thanks, which program draws that tree?
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 206
Location: Strasbourg, france.

PostPosted: Sun Mar 02, 2014 2:07 pm    Post subject: Reply with quote

I'll guess tree -A.
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1633

PostPosted: Sun Mar 02, 2014 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum