LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-31-2016, 10:36 AM   #1
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian, CentOS
Posts: 709

Rep: Reputation: 192Reputation: 192
CUPS Questions. Moving/copying printers.


Question 1:
I have two Debian 8 machines. Server1 has about 40 printers and the Server2 has 8 printers. Is it possible to add the printers from Server1 to Server2 without manually creating each individual printer on Server2? I know how to move all printers from one server to another. Its pretty easy copying /etc/cups to new server and restarting cups. But how do I add printers without overriding pre-existing?

Question2:
If moving printers from Centos6 to Debian8, is it the same process as above? Moving the /etc/cups file, and resarting cups?

Thanks, Hopefully my questions makes sense. Let me know if you need more info.
 
Old 05-31-2016, 12:15 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,636

Rep: Reputation: 473Reputation: 473Reputation: 473Reputation: 473Reputation: 473
Quote:
I have two Debian 8 machines. Server1 has about 40 printers and the Server2 has 8 printers. Is it possible to add the printers from Server1 to Server2 without manually creating each individual printer on Server2?
Excuse me, are you talking of "local" or "remote" printers known by the server? Remote servers can be pointed out by the Server2 in simple; as you said "copying" (not the server you are copying) but the CUPS configuration files that contained data for printers in the network known to it. But if you talk of local printer the driver must first be installed locally in Server2 before it can use it for others.

Hope that helps. Good luck.

m.m.
 
Old 05-31-2016, 12:38 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,832

Rep: Reputation: 1787Reputation: 1787Reputation: 1787Reputation: 1787Reputation: 1787Reputation: 1787Reputation: 1787Reputation: 1787Reputation: 1787Reputation: 1787Reputation: 1787
Yes, cups can share printers as well as browse the network for shared printers which can be easily enabled via the cups administration page. Most have the avahi demon installed and running which should be with debian.

CentOS 6 and debian 8 run different versions of cups and may not be configured exactly the same so I would not blindly copy the entire /etc/cups directory from one to the other.
 
Old 05-31-2016, 01:21 PM   #4
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian, CentOS
Posts: 709

Original Poster
Rep: Reputation: 192Reputation: 192
These are HP network printers using postscript drivers. Basically server1 will be taken offline and server2 will take over. This is the reason for my wanting to copy over the printers and cant just have them shared. I mean, I can just create each one manually on server2, but just trying to see if there was an easier way to do it.

Im going to make another centos 6 and debian 8 VM's to test it out.

Thanks guys.

Last edited by erik2282; 05-31-2016 at 01:23 PM.
 
  


Reply

Tags
cups, 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
[SOLVED] Firefox not seeing CUPS printers jeffmd55 Linux - Newbie 6 03-23-2011 08:24 AM
CUPS and HP printers barn63 Slackware 4 07-26-2010 06:12 PM
[cups] "no printers found" - printer isn't recognized by CUPS over network Majin_Buu Linux - Server 3 06-18-2009 10:25 AM
copying/moving stalls when moving a lot of data to a usb stick =X= Linux - Hardware 10 07-30-2004 05:29 AM
Printers and cups Pedroski Linux - Hardware 1 10-05-2003 06:50 PM


All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration