The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

Printing

  • Robert Fant
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #4401 by Robert Fant
Printing was created by Robert Fant
I posted this earlier in "General Chat" but got no response.
Maybe this is where I should have posted.

Nonetheless,
I am using a "Plain Text" page.
There is enough stuff on this page that adds it's own scroll bar.

The problem I'm having is that when I print the page, only the stuff that is visible (scroll bar all the way up) prints. The rest is ignored.

How can I get it to print everything on the page?

Thanks,
Robert

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #4402 by tom
Replied by tom on topic Printing
Hi,

As far as I can tell, you cannot. This is not specifically a Xerte problem. It is how browsers print content with (internal) scroll bars.

Please Log in or Create an account to join the conversation.

  • Robert Fant
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #4403 by Robert Fant
Replied by Robert Fant on topic Printing
Hi Tom,

That cannot be completely accurate. I create "worksheets" for my classes, using JavaScript. I even have a script for page-breaks and everything prints nicely.

Here are two pages, one written in JavaScript only, one similar but WITHIN Xerte:

1) JavaScript page

2) Xerte page

I just need to figure out what I'm not understanding.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #4404 by tom
Replied by tom on topic Printing
Of course you can this in code. But at this point in time, it's not handled in Xerte itself. You would need to add the code yourself.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #4405 by ronm
Replied by ronm on topic Printing
Try this...
enable resuming so that you can generate a link direct to your page 2 e.g. will have #resume=2 on the end of the url
then on your page 2 where you want them to print add that link with &display=1024,1800 on the end
adjust the 1800 to be whatever display your inner content without scroll bars.

Might work?
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Log in or Create an account to join the conversation.

Moderators: JohnSmith
Time to create page: 0.149 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo