Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
The place for more technical questions for those who want to create new pagetypes or bespoke functionality.
  • Page:
  • 1

TOPIC:

Printing 7 years 6 months ago #4401

  • Robert Fant
  • Robert Fant's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
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 Connexion or Create an account to join the conversation.

Printing 7 years 6 months ago #4402

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1275
  • Thank you received: 320
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 Connexion or Create an account to join the conversation.

Printing 7 years 6 months ago #4403

  • Robert Fant
  • Robert Fant's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
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 Connexion or Create an account to join the conversation.

Printing 7 years 6 months ago #4404

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1275
  • Thank you received: 320
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 Connexion or Create an account to join the conversation.

Printing 7 years 6 months ago #4405

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 847
  • Thank you received: 260
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 Connexion or Create an account to join the conversation.

  • Page:
  • 1
Moderators: JohnSmith
Time to create page: 0.048 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search