mrguitarmann Posted March 14, 2006 Posted March 14, 2006 Hi,I am currently installing a number of the same printer in my XP deployment. I am using the following:cscript c:\windows\system32\prnport.vbs -a -r "ricoh2090-3079.someplace.co.uk" -h "ricoh2090-3112.someplace.co.uk" -o raw -n 9100 //nologoto create a port andrundll32 printui.dll,PrintUIEntry /ga /if /u /b "2090-3079" /f "C:\DRIVERS\PRINTERS\2090\RC19E12K.inf" /r "ricoh2090-3079.someplace.co.uk" /m "RICOH Aficio 2090 RPCS"to create a printer entry connecting to the port. Because of software I'm using it has to be done this way.Only problem is it's set to it's defaults, which aren't very good at all for this printer. So I'm looking for a way to adjust both the default printer properties (ie spooling etc) and printer preferences (ie default printer tray, etc.) without intervention. Can anyone help with this? I've looked for months to no avail.ThanksTom Mann
cancerface Posted March 15, 2006 Posted March 15, 2006 (edited) Hi,you can save/restore your printer's config using:(to save the config)rundll32.exe printui.dll,PrintUIEntry /Ss /n "Your_Printer's_Name" /a "<path_to>\<filename>.dat" g u m(and to restore it)rundll32.exe printui.dll,PrintUIEntry /Sr /n "Your_Printer's_Name" /a "<path_to>\<filename>.dat" g u mYou may have to play around with the options (g u m in the above example), but you can get an idea if you type in a command promptrundll32.exe printui.dll,PrintUIEntry /?Another option would be to use the printmig tool provided by microsoft. (get it here) CF[Edit]Fixed the command after mrguitarmann's comment. Edited March 21, 2006 by cancerface
RogueSpear Posted March 15, 2006 Posted March 15, 2006 Bookmarked. What a sweet bit of information. Thanks for the post
MAVERICKS CHOICE Posted March 15, 2006 Posted March 15, 2006 Appears to be a quicker way to do than my current method.CheersMC.
mrguitarmann Posted March 15, 2006 Author Posted March 15, 2006 Thank you all! This is exactly what I need! will try today and let you know how I get on.Thanks again
mrguitarmann Posted March 15, 2006 Author Posted March 15, 2006 Cancerface your code worked well for me,I had to change the "RICOH Aficio 2090 RPCS" in your suggestion to 2090-3079, which is my printer name, I could never get the hang of that command line!Thank you!
cancerface Posted March 15, 2006 Posted March 15, 2006 @mrguitarmannOups, my bad, I meant to write the actual printer's name and not its model Oh well ...as long as it works no harm done CF
mrguitarmann Posted March 16, 2006 Author Posted March 16, 2006 Worked perfect, and I can take it across computers Thank you very muchly
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now