ExLibrisGroup / spineomatic-cloudapp

Cloud App version of SpineOMatic
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Paging not working correctly #81

Closed sthb13 closed 1 year ago

sthb13 commented 2 years ago

Hi Mark, first thank you for the quick update yesterday. It's a tremendous help to be able to edit the source code of the layout itself. However I discovered today, that the Label per Page setting isn't working correctly. The first page looks correct, but all the following labels spread out on the following pages without page breaks. Example: I have 19 items selected 2022-06-28_12h46_36 When I open the print dialog the first page looks correct (assuming I want to print to PDF, so it isn't a printer driver issue) 2022-06-28_12h52_33 But the following labels should be printed on 18 separate pages, but are spread on 6 pages. 2022-06-28_12h53_01 This behavior has been confusing us and we had all kinds of offset issues, but I just hadn't noticed that the paging isn't working at all, as the page size and the label size were mostly identical. It would also be very helpful to have real margin less printing as an option somewhere. Now there is always the default 8px (about 2mm) margin from the html body tag on all sides of the page which complicates calculations on small pages with multiple labels and fields with little tolerance.

Thank you and best regards, Skuli, Icelandic Libraries Consortium (ILC)

mgobat commented 2 years ago

@sthb13, since you just noticed this, you can't confirm this was happening pre-1.2.7, can you? None of the changes in v1.2.7 should be affecting paging...

sthb13 commented 2 years ago

yes, I tested it with an older spinomatic version (from april) that I was fiddling with on the sandbox, it is the same behavior.

mgobat commented 2 years ago

@sthb13, thanks. I'm glad it isn't new.

mgobat commented 1 year ago

@sthb13, could you please provide the details of your template and layout? Thank you.

mgobat commented 1 year ago

@sthb13, I think the problem may be the "Top margin" setting in the layout. Is yours zero by any chance? If so, what happens if you change it to .1?

mgobat commented 1 year ago

Included in release v.1.2.9.