Can Only Print to Default Printer

by Allen Wyatt
(last updated August 7, 2017)

2

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 there 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 discussing 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.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12497) applies to Microsoft Excel 2007, 2010, and 2013.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Copying and Moving Footnotes

Want to get your footnotes from one place to another in a document, or even from one document to another document? It's easy ...

Discover More

Weird Characters in File Names

If you ever end up with file names that contain percent signs followed by numbers, it could be due to some sort of file name ...

Discover More

Adjusting a Range's Starting Point

Select a range of cells, and one of those cells will always be the starting point for the range. This tip explains how to ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Adding Page Borders to a Printout

Need a full-page border on your Excel printouts? It's not as easy to get one as you might wish. There are a few ways you can ...

Discover More

Specifying an Order for Page Printing

If a printout of your worksheet requires multiple pages, you may want to specify the order in which Excel prints those pages. ...

Discover More

Black and White Blues

Getting a chart looking its best on a black-and-white printer can be a challenge. This tip examines different ways you can ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 0 + 7?

2016-02-04 20:34:22

Richard Davis

I can't wait to upgrade to Apple, where everything just works. Sick of microsoft wasting so much of my otherwise productive time.


2013-03-05 11:53:32

Aldo Santolla

You will need to get a list of available printers that Excel can see and know what Excel calls them. The easiest way to get this that I found was to run the macro writer, open your printer dialogue (Ctrl+P) and select each printer name. This will write to the macro the string names for each printer listed. I did this and my list was this:

Application.ActivePrinter = "Copier on Ne05:"
Application.ActivePrinter = "Fax on Ne04:"
Application.ActivePrinter = "Foxit PDF Toolbar Printer on Ne03:"
Application.ActivePrinter = "Microsoft XPS Document Writer on Ne02:"
Application.ActivePrinter = "PDF995 on Ne01:"
Application.ActivePrinter = "Samsung ML-1640 Series on Ne00:"

Each time you install a new printer driver or remove a printer, this list will change specifically the "on Ne" code number.


This Site

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.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.