What are the units on the form width?

  • Profile Image
    afgcashout
    Asked on May 10, 2016 at 12:50 PM

    Having trouble printing on custom paper sizes. Can you help me figure out the max width I should use on a form for it to print nicely on receipt paper (72mm wide) with a default resolution of 203 dpi? Also, how can I shrink the blank spaces between lines on the form so that it isn't as long? Thanks!

  • Profile Image
    david
    Answered on May 10, 2016 at 02:09 PM

    Form width is measure in pixels.  72mm equals roughly 272px.  Most formatting, including line spacing, can be updated using the form designer:

    Line spacing will be under the "Line Layout" tab. 

    If you want to decrease the spacing further, you can add this code to your form:

    http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    .form-line,.form-input-wide {
        margin-top : -10px;
        margin-bottom : -10px;
    }

    Increase the negative value to decrease the spacing.  Positive values will increase spacing.