• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

RH 7 print from toolbar cutting off right margin in IE

New Here ,
Sep 23, 2010 Sep 23, 2010

Copy link to clipboard

Copied

Topics printed with the Print button in the toolbar are cutting off the right margin in IE 7 & 8. It seems independent of the printer. This doesn't occur in Firefox.

Anyone encounter this before? Any documented fixes, or is it a known issue?

Views

904

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 23, 2010 Sep 23, 2010

Copy link to clipboard

Copied

Hi there

I'm hopeful Willam will have an easy CSS fix for folks that insist on printing that which is intended to be presented on the screen.

Probably involves some @Print incantation or some such... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!

Adobe Certified RoboHelp HTML Training

SorcererStone Blog

RoboHelp eBooks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 23, 2010 Sep 23, 2010

Copy link to clipboard

Copied

@media print{} is an easy incantation that is only suitable for older wizards (your beard must be white and must be a minimum of 30 centimeters long). Normally the training for young wizards starts with complex JavaScript-spells. But when they reach a certain age, young wizards allways seem to go for the easy solution. Like there's any fun in that!

With @media print you can control styles for printing only. For instance, to create a right padding to the body, add

@media print { body {padding-right: 10px;} }

Just paste the script somewhere in your style sheet.

In case it doesn't work, can you post a screenshot of what happens? Does it only happens for tables or images or does it happen for all content?

Greet,

Willam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 27, 2010 Sep 27, 2010

Copy link to clipboard

Copied

Thanks, but no luck on that solution.@media print { body {padding-right: 10px;} }

I change the padding to several different px values and did not see any resulting shift in the right margin.

This is how the page is appearing when it prints.

print_from_IE.png

Is there something in the JS the Print button uses that can help?

var printAction = function()
{
var topicPane = top.frames[1].frames[1];
topicPane.focus();
topicPane.print();
}

Thanks.

Mark

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 27, 2010 Sep 27, 2010

Copy link to clipboard

Copied

Is one browser set to Fit to Page and one not set that way?

Create a topic without those lines and the starred stuff on the right. I suspect that will print OK and the starred stuff is more likely the cause.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 27, 2010 Sep 27, 2010

Copy link to clipboard

Copied

Both browsers have "fit to page" enabled. Of course since RH7 uses frames, and you need a custom script to print just one frame "fit to page" might not have an effect on printer output. Does using the JavaScript for printing single frames have an effect? Can it be modified to force the frame to fit the page?

Topics that don't have the right-float menu still print with their margin cut off.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 29, 2010 Sep 29, 2010

Copy link to clipboard

Copied

LATEST

If you create a new single topic project that replicates this problem in a topic without the float menu, I will take a look. See the contact page on my site.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp