Bug 37119 - OrderPdfFormat document cut off in print preview
Summary: OrderPdfFormat document cut off in print preview
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-18 18:37 UTC by Esther Melander
Modified: 2024-06-18 18:37 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Example PDF created from a basket group. (47.02 KB, application/pdf)
2024-06-18 18:37 UTC, Esther Melander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Esther Melander 2024-06-18 18:37:09 UTC
Created attachment 167861 [details]
Example PDF created from a basket group.

To replicate (using Bug 33393 as a starting point):

1. Go to Koha Administration -> Libraries. Ensure Library A has an
address, phone and fax.
2. Go to Koha Administration -> System preferences. Search for
OrderPdfFormat. Set this to English 1-page layout option.
3. Go to Acquisitions. Use an existing vendor or create a new one.
Ensure the vendor has a postal address, phone, fax and account number.
4. Create a basket for this vendor. Add many orders to this basket, for
example 25 items (this is to make the Order PDF cover multiple pages).
5. Close the basket and add it to a basket group of the same name.
6. Edit the basket group. Add an address in the delivery place, and a
delivery comment. Check the box to close the basket group and Save.
7. Click the button to Export as PDF.
8. Open the PDF in the browser and see the table is cut off.
9. Try to adjust the print settings using the print options in the browser. For example try adjusting the scaling to see if the document will scale properly.

See that the print scale options does not expose more of the document. Downloading and opening the PDF in a document viewer does not expose more of the document. The PDF appears to have been created like a screenshot?

I would expect the print scaling options to allow the entire document be visible.