Skip to main content
Thirusanguraja Venkatesan
Known Participant
June 27, 2013
Question

View FitB not working in DOCVIEW pdfmark.

  • June 27, 2013
  • 1 reply
  • 3289 views

Hi,

I am used below Post Script code to set the PDF Initial view Magnification be Fit Width but it won’t work.

[ /PageMode /UseOutlines /Page 1 /View [/FitB] /DOCVIEW pdfmark


But when I am tried for Fit Page it will work

Script for Fit Page (Working)

[ /PageMode /UseOutlines /Page 1 /View [/Fit] /DOCVIEW pdfmark

Script for Fit Width (Not Working)

[ /PageMode /UseOutlines /Page 1 /View [/FitB] /DOCVIEW pdfmark

Note:


When I am tried in alternative way with help of {Catalog}  /PUT pdfmark the Fit Width will work but not updated in Initial View  Magnification field. But Fit Page will work and also updated in the Initial View  Magnification field.

Script for {Catalog} Fit Page:

[ {Catalog} <<View [/Fit]/Page 1>> /PUT pdfmark

Script for {Catalog} Fit Width:

[ {Catalog} <<View [/FitB]/Page 1>> /PUT pdfmark

When I am open this same PDF in Adobe Reader the zoom level will be in FIT WIDTH only for {Catalog} Fit Width.


 

Screen shot for Fit Page.

Screen shot for Fit Width.

From the above screen shot I am marked in red color for your clarification,

I hope you all understand my problem.

So please give solution for this problem.

Regard

Thirusanguraja Venkatesan

This topic has been closed for replies.

1 reply

Legend
June 27, 2013

The manual for PDFMark does not say that "FitB" means fit width...

Thirusanguraja Venkatesan
Known Participant
June 28, 2013

ok any way i am got solution Test Screen,

Here my postscript script:


[ /PageMode /UseOutlines /View [/FitH -32768]/Page 1 /DOCVIEW pdfmark

[ {Catalog} <</ViewerPreferences<</DisplayDocTitle true>>/PageLayout/OneColumn>> /PUT pdfmark


Above postscript code was i am used to get my PDF Document Properties - > Initial View as

Document Option

  • Show: Bookmarks Panel and Page
  • Page Layout: Continuous
  • Magnification: Fit Width


Window Options


  • Show : Document Title

I hope my statement is true because it working.

Note:

But i am have one doubt in the above coding i can't understand meanning of /View [/FitH -32768]

if you can could you explain me.

but any way i am got output.


Regards,

Thirusanguraja Venkatesan

Legend
June 28, 2013

Let me ask you 3 questions

1. Where did the form /FitH -32768] come from? I can't recommend using formats not described in the official document.

2. How did you come to use /FitB ? It looks to me very clearly wrong from the document.

3. What version of the PDFMark Reference Manual are you using to work from?