Page to PDF Inconsistencies

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
JefferyD
Posts: 177
Joined: August 31st, 2021, 11:37 am
Contact:

Page to PDF Inconsistencies

Unread post by JefferyD »

  1. CSS media queries seem to not being applied.
    Looking through the page and the HTML that the ViewToPDFFile service generated, this part of the CSS seems to not being applied even though I've set the PDF width over the min-width threshold.
    image.png
    image.png (12.72 KiB) Viewed 302 times
    image.png
    image.png (12.72 KiB) Viewed 302 times

    With the media query, the page displays the menu like this:
    image.png
    image.png (4.4 KiB) Viewed 302 times
    image.png
    image.png (4.4 KiB) Viewed 302 times

    Yet the PDF displays the menu like this:
    image.png
    image.png (5.25 KiB) Viewed 302 times
    image.png
    image.png (5.25 KiB) Viewed 302 times
  2. The width seems shifted slightly to the right for a reason I cannot determine.

    The border of this section is centered on the page:
    image.png
    image.png (4.58 KiB) Viewed 302 times
    image.png
    image.png (4.58 KiB) Viewed 302 times
    Yet it's closer to the right edge of the PDF than the left:
    image.png
    image.png (4.49 KiB) Viewed 302 times
    image.png
    image.png (4.49 KiB) Viewed 302 times
  3. As EASYProcess does not support custom attributes or colspan/rowspan, I'm currently handling these with javascript which is not retained in the PDF.

    The colspan is applied to make sure the description is under the correct header:
    image.png
    image.png (9.27 KiB) Viewed 302 times
    image.png
    image.png (9.27 KiB) Viewed 302 times
    But the PDF does not use the colspan when it's applied using the javascript approach:
    image.png
    image.png (9.23 KiB) Viewed 302 times
    image.png
    image.png (9.23 KiB) Viewed 302 times
word count: 266

Tags:
SteveCap
Posts: 328
Joined: August 26th, 2021, 9:18 am
Contact:

Re: Page to PDF Inconsistencies

Unread post by SteveCap »

Task #10577 has been created. This post will be updated when it has been completed.
word count: 15
Post Reply