Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. How to avoid this? Do note that the :last-child selector is not supported in IE8, if you're targetting that wretch of a browser. Solution described here helped me webarchive link. First of all, you can add border to all elements to see what causes a new page to be appended maybe some margins, paddings, etc.
You can use scripting equivalents for pageBreakBefore and pageBreakAfter,dynamically assign their values. For example, instead of forcing custom page breaks on your visitors, you can create a script to make this optional.
Here I'll create a checkbox that toggles between slicing the page at the headers h2 and at the printer's own discretion default :. Click here for an example that uses this. After struggling with various page-break settings and heights and a million various CSS rules on the body tag, I finally solved it over a year later.
I have a div which is supposed to be the only thing on the page which prints, but I was getting several blank pages after it. My body tag is set to visibility:hidden; but that wasn't enough.Printer Print Blank Page, how to fix this blank page in printer Epson and Other
Vertically tall page elements still take up 'space'. So I added this in my print CSS rules:. I shrunk the height and then removed them from the layout. No more blank pages. Years later I'm happy to tell my client I cracked it.Keep in touch and stay productive with Teams and Officeeven when you're working remotely. Learn how to collaborate with Office Tech support scams are an industry-wide issue where scammers trick you into paying for unnecessary technical support services.
You can help protect yourself from scammers by verifying that the contact is a Microsoft Agent or Microsoft Employee and that the phone number is an official Microsoft global customer service number. This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. Did this solve your problem? Yes No. Sorry this didn't help. April 14, Keep in touch and stay productive with Teams and Officeeven when you're working remotely.
Site Feedback. Tell us about your experience with our site. BharathGowda11 Created on December 5, Hi, i am developing a web page where there is an option to print the page displayed. I have the same question Microsoft Edge. Microsoft Edge Legacy. Don Varnau Replied on December 5, Volunteer Moderator. You will reach developers and are more likely to get help with this at MSDN.
Thanks for marking this as the answer. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site. How satisfied are you with this response? This site in other languages x.Keep in touch and stay productive with Teams and Officeeven when you're working remotely. Learn how to collaborate with Office Tech support scams are an industry-wide issue where scammers trick you into paying for unnecessary technical support services.
You can help protect yourself from scammers by verifying that the contact is a Microsoft Agent or Microsoft Employee and that the phone number is an official Microsoft global customer service number. Only when I print from Word not from emails. Did this solve your problem? Yes No. Sorry this didn't help. April 14, Keep in touch and stay productive with Teams and Officeeven when you're working remotely.
Site Feedback. Tell us about your experience with our site. Standardbred owners Association Created on June 4, Only when I print from Word not from emails Any way to fix this???? Thanks, Jo Ann.
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question Charles Kenyon Replied on June 4, Volunteer Moderator. Thanks for marking this as the answer. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site. How satisfied are you with this response? This site in other languages x.When you try to print or view the print preview of a web page in Internet Explorer the web page or preview is blank and you may receive a script error.
To resolve this issue, use the following methods in the order in which they are presented. If method 1 does not resolve your issue, proceed to the next method. Try printing a webpage after disabling Protected Mode, to do this, follow these steps:. Most printers require driver software to work properly. Outdated, incompatible, or corrupted printer drivers can disrupt communication between the computer and the printer.
If you recently upgraded to Windows 7 to another, it's possible that the current printer driver is for the previous version of Windows. If you've had recent power outages, viruses, or other computer problems, it's possible that the drivers have become corrupted.
Downloading and installing the latest driver for your printer can resolve these types of problems. Use Windows Update. You might need to set Windows Update to automatically download and install recommended updates. Install software from the printer manufacturer.
For example, if your printer came with a disc, that disc might contain software that installs a driver for the printer. Download and install the driver yourself. You can search for a driver on the manufacturer's website. Try this if Windows Update can't find a driver for.
Method 3: Try printing a webpage running Internet Explorer as an Administrator. Try printing a web page when running Internet Explorer as an Administrator; this can help determine if there is a permissions issue.
Blank pages are unexpectedly printed in Excel
If printing a webpage running Internet Explorer as an Administrator did not solve the issue, continue to method 4. Click Starttype in the Start Search box, and then click the Temp folder in the list. Close the Windows Explorer window, start Internet Explorer, and then print or print preview a Web page. Click Startclick All Programsand then click Accessories. Right-click Command Promptand then click Run as administrator. Tags: Internet Explorerblank pagesfixprinter.
Thanks for sharing such a wonderful write up. When it comes to computer issues, it is always best to get it fixed as soon as possible. These computer problems such as virus, crashes and even slow computers could easily mean a bigger and more serious issue.
Nonetheless, thanks for sharing and appreciate it. Notify me when new comments are added. April Tags: Internet Explorerblank pagesfixprinter How-To. Newsletter Get notified when a new post is published.
Thank you.The DIVs it makes are of dynamic height, but they don't vary too much. They're usually around px. Anyway, with around six-hundred of these items per document, I'm having a really rough time getting it to print. Unless I get lucky, there's an entry chopped in half at the bottom and top of every page, and that makes actually using printouts very difficult.
I've tried page-break-before, page-break-after, page-break-inside, and combinations of the three to no avail. I think it might be WebKit not properly rendering the instructions, or maybe it's my lack of understanding of how to use them. At any rate, I need help. How can I prevent the cutting-in-half of my DIVs when printing? To avoid breaks in the text add display: table; to the CSS of the text-containing div.
I have the same problem bu no solution yet. An alternative might be to use page-break-after: avoid; on all child elements of the div to keep togehter What works in all ppular browsers are forced page breaks using eg. One pitfall I ran into was a parent element having the 'overflow' attribute set to 'auto'. This negates child div elements with the page-break-inside attribute in the print version. Otherwise, page-break-inside: avoid works fine on Chrome for me.
Only a partial solution: The only way I could get this to work for IE was to wrap each div in it's own table and set the page-break-inside on the table to avoid. Please note current browser support :.
As far as my research has gone, there is no known method to accomplish this I am working on figuring out my own hack. The advice I can give you is, to accomplish this functionality in FF, wrap the content that you don;t want to break ever inside a DIV or any container with overflow: auto just be careful not to cause weird scroll bars to show up by sizing the container too small.
Sadly, FF is the only browser I managed to accomplish this in, and webkit is the one I am more worried about. I hope this works for you too. Thanks JohnS.
Maintain the aspect ratio of a div with CSS How to deal with page breaks when printing a large HTML table Disabling browser print options headers, footers, margins from page? Is it possible to apply CSS to half of a character?Office ProPlus is being renamed to Microsoft Apps for enterprise. For more information about this change, read this blog post. In Microsoft Excel, when you print a worksheet, pages that are completely blank may be unexpectedly printed.
Cells that are formatted to appear blank include those with white fonts, zeroes-as-blanks settings, three semicolons see Example 1 in the "More Information" sectionand so forth. There are completely blank pages ahead of any pages that contain data including the first two conditions stated herewhich print as blank.
Blank Page Issues – SSRS Reports
Pages that contain hidden rows or columns are not printed if there is no other data on the pagenor are the intervening pages. Notice that not only does page 1 contain data, but it is followed by three blank pages. This includes the page that has the hidden cell and the intervening pages. You may also leave feedback directly on GitHub. Skip to main content. Exit focus mode. Note Pages that contain hidden rows or columns are not printed if there is no other data on the pagenor are the intervening pages.
Is this page helpful? Yes No. Any additional feedback? Skip Submit. Send feedback about This product This page. This page. Submit feedback. There are no open issues. View on GitHub.When you print a worksheet, you may often find it prints some blank pages which annoy you.
In this case, you need find out the possibilities of printing blank pages first, and then stop printing the blank pages in Excel. To find unnoticed text by shortcut in Excel. To find cells with formula which return to blank value with shortcut in Excel. To set a specific area to print in Excel.
And repeat this operation to delete the cell you do not need. Finally, print the worksheet. If you print a worksheet with blank pages, maybe there are some formulas which return to blank value you do not notice. Then print the worksheet. See screenshot:. Log in. Remember Me Forgot your password? Forgot your username? Password Reset. Please enter the email address for your account.
How to remove the browser's printed page header and footer
A verification code will be sent to you. Once you have received the verification code, you will be able to choose a new password for your account.
Please enter the email address associated with your User account. Your username will be emailed to the email address on file. How to stop printing blank pages in Excel When you print a worksheet, you may often find it prints some blank pages which annoy you.
Read More Free Download You are guest Login Now. Loading comment The comment will be refreshed after To post as a guest, your comment is unpublished. I have already faced this issue. When I am trying to print my pages the printer printing blank pages in excel.