Written by Allen Wyatt (last updated September 15, 2021)
This tip applies to Excel 2007, 2010, 2013, and 2016
On Bob's system, Excel refuses to print to any printer other than the one set as the default for the system. This only happens in Excel, not in Word or any other installed application. So in order to print he has to temporarily change the default printer to the one he wants, print, and then remember to set the printer back afterwards. Bob is wondering why he can't choose other printers.
There could be a number of different causes for this problem. One subscriber reported that they had the same problem but that it only cropped up after migrating their office to Windows 7 64-bit and using Windows PrintServer. In their case, they discovered that their was a hidden attribute on the printer queues which caused the problem and they could only get it taken care of by talking with Microsoft support.
Others reported the problem occurring when particular add-ins were installed on the system. (One in particular, Microsoft Office Labs Search Command, was mentioned a few times.) Disabling the add-in solved the problem.
There is a good discussion about the problem and various fixes here:
http://answers.microsoft.com/en-us/office/forum/office_2010-excel/excel-2010-only-prints-to-the-default-printer/5b6beddd-f85d-4fda-ab2b-56c750f2028c
You'll want to ensure that this is entered in your browser as a single URL; it is quite long.
If none of the suggested solutions work in your situation, you can try printing via macros. Why? Because you can easily modify the designated default printer in the macro and then change it back. It's all done through the use of the ActivePrinter property. You can determine the name of the current default printer and assign it to a variable, change the printer, then do your printing, and finally change the printer back:
Dim sDefault As String sDefault = Application.ActivePrinter 'save current default printer Application.ActivePrinter = "XYZ SuperPrinter" ' do your printing Application.ActivePrinter = sDefault 'restore default
The only thing you need to do is to make sure that you replace "XYZ SuperPrinter" with the actual name of the printer you want to use. You can find out the name of the printer by making it the default (in Windows) and then, within the VBE Immediate window, printing the name of the printer:
? Application.ActivePrinter
Mark down the name, paying attention to spacing and capitalization, and that is the name you can use in the printing macro.
Note:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12497) applies to Microsoft Excel 2007, 2010, 2013, and 2016.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Need to print your worksheet on a non-standard paper size? Excel is rather limited in printing to such papers, and here ...
Discover MoreExcel doesn't allow for as robust of headers and footers as Word does. Even so, there are some things you can do to ...
Discover MoreNeed your printed output to look its best? You may need to change the settings used by your printer, then. Here's how to ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2022-02-02 15:55:09
Laverne
Had the problem with excel 365 only using the default printer.
Solution: HKEY_CURRENT_USER -> software -> Microsoft -> WindowsNT\
Right click on Devices and add "everyone" to permissions. Give full permissions.
Problem solved (for me).
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2023 Sharon Parq Associates, Inc.
Comments