kunkel321 Posted September 20, 2010 Report Share Posted September 20, 2010 Is it possible to "determine" what the default printer is? Thanks. Quote Link to comment Share on other sites More sharing options...
paul Posted September 20, 2010 Report Share Posted September 20, 2010 Read Registry Value "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device" into %tDefaultPrinter% Text Box Display: <READ REGISTRY VALUE Key="HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows\\Device" Destination="%tDefaultPrinter%"/> <TEXT BOX DISPLAY Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang3081{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}{\\f1\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 The default printer is %tDefaultPrinter%\\f1 \r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/> Quote Link to comment Share on other sites More sharing options...
kunkel321 Posted September 20, 2010 Author Report Share Posted September 20, 2010 Perfect! Thanks Paul! Quote Link to comment Share on other sites More sharing options...
kunkel321 Posted September 20, 2010 Author Report Share Posted September 20, 2010 Woo Hoo... MacExp reads the registry (per Paul's code), writes the name of default printer into a particular text file (using Variable Modify String), then the freeware Samurize reads from the text file and posts the default printer onto my desktop. The activations for the ME macro are (1) System Startup and (2) When window "Printers and Faxes" closes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.