Is it possible to identify the printer currently connected to my PC?

Tom_Archer

New Member
Joined
Feb 18, 2013
Messages
8
I have many vba procedures which I've written over the years, several of which include print commands.

I've recently started taking my laptop between offices and using different printers. What is really irritating is having to change the printer selection each time I do so - it's very easy to forget, and find that the application is trying to print to a different printer to the one connected.

Is there any way that Excel can identify the printer currently plugged in to a PC, and automatically set that as the default printer? - or is there any way that one can set Windows 10 to automatically default to the printer that's plugged in?

It seems a fairly obvious thing to want to do, but Googling hasn't given me much hope..
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,214,947
Messages
6,122,411
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top