This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

When a user creates a pdf using the “create pdf from URL” function, the PDF squeezes the Item View into the middle of the page instead of the “PDF” appearing as a full page.

Symptoms

The user creates a pdf using the “Create PDF from URL” function but the user did not specify the page size, e.g. A4, A3 etc.

See screenshot:

Image

Troubleshooting Steps

To resolve this issue, please follow these steps: 

  1. Navigate to your K2 Designer, and access the view that contains the “PDF” control.
  2. Click on the “PDF” control to access the setting:

Image

3. Navigate to settings, select “Page Size” and choose the page size of your choice:

Image

4. Once you have saved your changes, re-run the application. This issue should now be resolved.