Forum Support

Shape 5
October 25, 2021, 02:50:55 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Printing Problems in IE & Edge  (Read 643 times)
mct2002
Jr. Member
**
Offline Offline

Posts: 76



« on: February 21, 2017, 12:04:09 PM »

I am having trouble when trying to print pages from my website in IE & Edge.  When I go to print preview it will show the first page of content, but all the pages after that show only the template (no article).  So if a visitor is trying to print off an article or form, any information that runs over onto a second page (or longer) is just not there.

I have this same problem on all of my sites which use different themes (Business Pro, Design Control, Spectrum, EZ Webhosting, Ambient, Corporate Response, Corpway, Luxon, and Soul Search).  I have tried printing from other Joomla sites that do not use Shape5 templates and do not experience the same problem.  This leads me to believe that the problem is Shape5 related.

My sites are running:
Joomla Core:  3.6.5
Vertex:  4.0.0 or 4.1.0

I am using
Microsoft Edge 38.14393.0.0
Internet Explorer 11.576.14393.0

My site running Business Pro can be found at https://www.custominternet.biz
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: February 22, 2017, 08:51:02 AM »

Hello,

A template does not control any part of the printing process of a browser, and we would have no way to debug that for you. My guess is that the browser doesn't like a width somewhere on the page so it goes off the page, but that's just a guess. But a template has not to effect how a browser interprets its print layout. If you want articles to be printed you should enable the Print drop down on the articles, which is a built in feature to Joomla for printing articles.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mct2002
Jr. Member
**
Offline Offline

Posts: 76



« Reply #2 on: February 22, 2017, 01:47:24 PM »

I disagree.  I set up a test website with one article and one form.  When I use the Beez3 or Protostar templates the pages print fine.  I installed the Business Pro template (with no customization, vertex v4.0.0) and made that the default template.  When it is set as the default template the first page is printed as expected, but all pages after that are blank until I reach the footer.

Using the print drop-down will not work for some of my sites because the visitors need to be able to print articles with forms in them that they have filled out.  The built-in Joomla function will not do this.  Only printing from the browser will.

I can share login credentials with you to the test site I created if that would help.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: February 22, 2017, 08:36:06 PM »

Hello,

Using a different template will stylize with different layouts of the modules and content, different widths, different fonts, etc. I'm sorry but the template does not control how a browser interprets a page to print in any way, that is entirely controlled by the browser. We have no way to change how a browser prints. Furthermore, I can print with Firefox and Chrome and all content shows, which proves that the browser interprets how the content prints. This is a browser issue and something we cannot control. Printing Joomla content is intended to be done through the article controls.

If you search online there are lot of forum threads of similar issues with IE. This particular post suggests a css change to force an auto height on print:

http://stackoverflow.com/questions/17145413/extra-blank-page-when-i-print-except-in-ie-is-it-my-print-css

You can try this, but again no guarantee as this is a browser issue, and these are just hacks to try and manipulate the layout on print.

html, body {
    height: 100%;
    @media print {
        height: auto;
    }
}

You could also try this:

html, body {
    height: 100%;
    @media print {
        height: 99%
        page-break-after: avoid;
        page-break-before: avoid;;
    }
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.