• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Control Zoom of shown pdf file on client side

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All!
I am showing p.d.f. file in browser.But the zoom percentile is varying for each file.
I want to keep it by default to a fixed size.
Can I do this. Please advise me.
Thanks in advance.
Bye
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there and welcome to Javaranch!

Firstly it is Javaranch policy to have a 'real' firt and last name as your screen name, so please do take time to change this.

Secondly, I can't see how this is a Struts question? Please post questions in the correct forum (A staff member will move this eventually).

Now onto your Q:

Are you simply viewing a PDF from a file system? Loading it from Java?
 
sandeep kale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I am showing jasper report in p.d.f. format on browser i.e. am writing pdf
stream to s.e.r.v.l.e.t. Output Stream.Now issue is that stream on client browser is having different zooming percentile.I just want to have a fixed zoom percentage for the stream. Thank you.
 
Martijn Verburg
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I don't know enough about JasperReports and PDF display to help you. Hopefully someone else can chime in. It might be a case of the client dictating what the zoom percentage is, which in that case there is very little you can do.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!