Fab's AutoBackup forums

Welcome to Fab's AutoBackup technical support forums
Bienvenue sur les forums de support technique de Fab's AutoBackup

You are not logged in.

Announcement


Due to a large amount of fake accounts registrations for advertising purpose (spam), this forum does not accept new registrations any longer.
You can still browse existing threads to find the help you are looking for. If you do not find it and have questions, please use this contact form.

====================================

En raison d'un nombre important d'enregistrements de faux comptes utilisateurs à des fins de spam (publicité non sollicitée), il n'est désormais plus possible de s'enregistrer sur les forums de support technique.
Vous pouvez toujours parcourir les sujets existants pour trouver ce que vous recherchez. Si vous ne trouvez pas l'information et avez des questions, veuillez utiliser ce formulaire de contact.

#1 2014-09-20 09:48:25

mickythekiller
Member
Registered: 2014-09-20
Posts: 11

Save printer configuration

Hi,
is it possible to include printer configuration ?
i use cscript %WINDIR%\System32\prnmngr.vbs for listing
there is also this script for network printers
http://ss64.com/vb/syntax-printsave.html
wink

Offline

#2 2014-09-20 16:42:41

Fab
Administrator
Registered: 2011-05-11
Posts: 1,307

Re: Save printer configuration

Hi,
that looks good for local configurations but will not work with hooked system drives. In many cases, techs work on hard drives that will not boot. I do not think that an half working feature will look very good for people. Perhaps if I find a way to do this in Delphi code and for local and hooked drives I would add it.
Thanks for suggestion!


Fab

Offline

#3 2014-09-20 18:41:12

mickythekiller
Member
Registered: 2014-09-20
Posts: 11

Re: Save printer configuration

You can use registry also
HKEY_CURRENT_USER\Printers
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Control\Print\Printers

Offline

#4 2014-09-20 19:19:02

Fab
Administrator
Registered: 2011-05-11
Posts: 1,307

Re: Save printer configuration

mickythekiller wrote:

You can use registry also
HKEY_CURRENT_USER\Printers
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Control\Print\Printers

This is looking better as registry can read from another system.
I guess that at restore, stopping print spooler service before merging reg files and restarting it after is needed or things may go wrong.

Just a dumb question : what happens if the drivers are missing on the target system ?


Fab

Offline

#5 2014-09-20 20:37:25

mickythekiller
Member
Registered: 2014-09-20
Posts: 11

Re: Save printer configuration

Is it just to save list of printer name, model and ip
because i don't think is it easy to backup and restore this

This is the key to save
HKLM\system\currentcontrolset\contro\print\printers

Before there was Printmigrator 3.1 printmig
Now there is Printbrm for 7/8 to 7/8

Offline

#6 2014-09-20 20:42:43

mickythekiller
Member
Registered: 2014-09-20
Posts: 11

Re: Save printer configuration

and MigrImp dipisoft

Offline

#7 2014-09-21 15:24:33

Fab
Administrator
Registered: 2011-05-11
Posts: 1,307

Re: Save printer configuration

mickythekiller wrote:

Is it just to save list of printer name, model and ip
because i don't think is it easy to backup and restore this

This is the key to save
HKLM\system\currentcontrolset\contro\print\printers

Before there was Printmigrator 3.1 printmig
Now there is Printbrm for 7/8 to 7/8

I think that people will want the drivers too, and not only for printers but for all the installed devices.
Listing the printers is a good start anyway. I can parse the registry key and put the informations in a text file.
This is in the to do list now.


Fab

Offline

#8 2014-09-21 15:56:32

mickythekiller
Member
Registered: 2014-09-20
Posts: 11

Re: Save printer configuration

Good for beginning smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.025 seconds, 8 queries executed - Memory usage: 517.17 KiB (Peak: 518.18 KiB) ]