Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 07:48
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
How to save and restore printer / printer settings?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
der-schutzhund

Joined: 26 Nov 2007
Posts: 781
Location: Blomberg / Germany

PostPosted: Mon 08 Apr 2013, 16:48    Post subject:  How to save and restore printer / printer settings?  

Hi.

Maybe someone can help me?
I want to save the printer settings and installed printer for later restore.
I backed up the / etc / cups and restored but it will not display any printer.
How is that possible in lucid528?

Greetings

Wolfgang
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3964
Location: Kiel,Germany

PostPosted: Mon 08 Apr 2013, 17:38    Post subject:  

did you kill cupsd somehow ? does cupsd run in the background ?
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3964
Location: Kiel,Germany

PostPosted: Tue 09 Apr 2013, 01:18    Post subject:  

cupsd is getting launched by /etc/init.d/cups at bootup .

cupsd might only parse the configuration files once at launch time and does not poll them anymore while running .

Code:
/etc/init.d/cups restart


could do it if you restore the rueckauf file in the current session, while cupsd is running but does not look behind anymore into /etc/cups .
Back to top
View user's profile Send private message Visit poster's website 
der-schutzhund

Joined: 26 Nov 2007
Posts: 781
Location: Blomberg / Germany

PostPosted: Tue 09 Apr 2013, 14:51    Post subject:  

Hi Karl Godt,

das war ein guter Tip! Es läuft!
Weißt du vielleicht auch noch wie man die Auflösung mit einem Script einstellen kann? Smile

Greetings

Wolfgang
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3964
Location: Kiel,Germany

PostPosted: Tue 09 Apr 2013, 16:15    Post subject:  

Sounds good Smile

If you make /etc/init.d/cups non-executable, it would not be launched at bootup by rc.services .

/etc/profile
/root/Startup
/root/.xinitrc
/usr/sbin/delayedrun

are files i could think of to implement something

like

Code:
/etc/init.d/cups stop
find /somewhere -name cups_backup_folder -exec cp -a --remove-destination "{}"  /etc \;
/etc/init.d/cups start
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0561s ][ Queries: 11 (0.0165s) ][ GZIP on ]