• Post Reply Bookmark Topic Watch Topic
  • New Topic

linearized Pdf file  RSS feed

 
Pandit Pandit
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Please any one can tell me how to linearized the pdf, so that it can be served one page at a time.It would be great if you provide me some code for the servlet, As i need to do it through servlet.
 
Frank Jorga
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot "re-linearize" a PFD file.
You have to do this at building time as you need special Objects in your file and you have to obey a certain order of their appearance.
Maybe there are tools from Adobe, but as far as i know theres nothing in Java

For further Information see PDF Specification 1.4 Appendix F (Available from Adobe)
 
Pandit Pandit
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Frank for reply,
I think, I couldn't explain my problem properly. Actually, I need byte serving through servlet for pdf.As, I search the net,I am sure it can be done, Infact I have some code but I am not able to run it properly.
Again, Thank you very much Frank
[ December 19, 2004: Message edited by: Pandit Pandit ]
 
sawan parihar
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I don't remember exactly but i think tomcat4 doesn't supports it. If it does then it has some issues.

http://issues.apache.org/bugzilla/query.cgi

cheers
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Pandit Pandit"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!