Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2016-01-20 16:17:02

jar
Member
Registered: 2013-08-08

How to set a PDF default to automatic zoom

Hello,

I have a BIRT report in ReportServer and I would like to open it in PDF with the zoom default on automatic. Is is now fitting to page which on a 1920*1080 screen results in very large letters and numbers. Any way to have this default to automatic or 125%.

Thanks,
Jeroen

Offline

#2 2016-01-21 06:15:11

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: How to set a PDF default to automatic zoom

Hi Jeroen,

take a look at the file (within Tomcat's ReportServer folder)

resources/pdf.js/viewer.js

There you should find the property

var kDefaultScale = 'page-width';

in line 20, which hopefully controls the default scale (I haven't tested it).

Cheers
-Arno

Offline

#3 2016-01-21 13:30:13

jar
Member
Registered: 2013-08-08

Re: How to set a PDF default to automatic zoom

Hello Arno,

Thanks for your quick answer.
Setting it to 'auto' made it open with automatic zoom.

Jeroen

Offline

Board footer

Powered by FluxBB