You are viewing limited content. For full access, please sign in.

Question

Question

Forms - Any way to define a vertical resolution other than 2550 for saving forms

asked on September 30, 2016 Show version history

I am trying to find an alternative way to view forms without using the FIT WIDTH view. The FIT WIDTH causes a strange haze to cover the image which is giving some users headaches.

We are having trouble getting the monitor resolution to display 2550 pixels across when switching to native view. Either the video card on the workstation can't handle it, the monitor can't handle it, or even if both can handle it, other applications are not designed for such high resolution. 

If there was any way we could define the vertical resolution to fit better on lower resolution displays like 1920 or 2048 so that we did not have to use the fit width feature that would be really helpful! We defined the form to be 1000 pixels across which is the perfect amount of space for the information on the form, but also leaving room to display on any monitor with space left over for metadata and thumbnails. The problem is, it only looks good when filling out the form where it is displayed at 1000 pixels.

0 0

Answer

SELECTED ANSWER
replied on October 7, 2016

So you want to customize the page size for the form saved into repository, right?

Forms is using a tool named "wkhtmltopdf" for printing form to pdf/tiff, and supports custom options of this tool, including changing page size.

You need to add an option named "WkhtmltopdfArguments" to the cf_options table in database for this to work, and set the option value to be your custom option. The default option value is " --page-size Letter --dpi 300 ". Please note that after changing the option, all save to repository service tasks in all processes would be affected.

You can refer to http://wkhtmltopdf.org/usage/wkhtmltopdf.txt for how the options should be.

 

1 0
replied on October 11, 2016

This provided some major relief, thank you!

I found using a paper size of A5 with reduced margins made a world of difference for viewing on a 1080p monitor and still provides a clean print output.

The closer the output resolution of the document is to the window size, the less blur is created by the fit width view.

0 0

Replies

replied on October 4, 2016

Bump

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.