HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Deployment / Configuration issues › pd4browser.properties › Re: Re: pd4browser.properties
1. Actually viewer.params is intended to make possible to open generated PDFs by exotic PDF viewers (if any). Let’s say the viewer requires to put an extra switch before PDF name:
myexoticpdfreader.exe -input output.pdf
In the case you would need to define
viewer.params=-input
in pd4browser.properties. If you want to use the property to pass PDF open parameters, you need to specify them fully:
viewer.params=/A “page=3=OpenActions”
(the above makes sense only in offline scenarios!)
2. You may define desired page format in pd4browser.properties
page.format=LETTER
but why don’t you use Pd4Php for that?
In the case you may pass the open parameter (from your first question) like that: