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 Wed 22 Oct 2014, 03:12
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 Posts_count  
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: 3972
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_website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
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_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: 3972
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0512s ][ Queries: 12 (0.0078s) ][ GZIP on ]