Floppy / dataslate

Make usable reference booklets for your Warhammer 40k Kill Team
https://dataslate.rocks
Other
16 stars 14 forks source link

Printing to pdf is not forcing page breaks between data cards #697

Open rescuedruckus opened 2 years ago

rescuedruckus commented 2 years ago

Using Safari v15.1, when printing to pdf (or printer), pagebreaks between cards are not being enforced. I have attached a pdf version of my pathfinder Kt for your reference. I tried a while back to print off a Hunter Clade KT and the tactical ploy cards were split across pages as well. No screenshot or PDF for this available. I'm on the discord as RescuedRuckus if you need to reach out. Dataslate.pdf )

Floppy commented 2 years ago

Thanks! I've noticed the same thing, it's really awkward to enforce page breaks in pure HTML I'll take another look at it though.

rescuedruckus commented 2 years ago

Great thanks!!

Overall love your data card setup!

On Jan 3, 2022, at 1:46 PM, James Smith @.***> wrote:

Thanks! I've noticed the same thing, it's really awkward to enforce page breaks in pure HTML I'll take another look at it though.

— Reply to this email directly, view it on GitHub https://github.com/Floppy/dataslate/issues/697#issuecomment-1004284866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKWHUCL5GJ5FUTLZDOBF23UUHVKHANCNFSM5LFTXACQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

Floppy commented 2 years ago

I wonder if it makes more sense to take full control of the PDF generation, rather than relying on print stylesheets, which still after all these years are unreliable at best. Hmm.

rescuedruckus commented 2 years ago

Maybe? As I’ve got no clue about coding and stuff, what control can you have as the end user?

Sent from my iPhone

On Jan 4, 2022, at 4:46 AM, James Smith @.***> wrote:

 I wonder if it makes more sense to take full control of the PDF generation, rather than relying on print stylesheets, which still after all these years are unreliable at best. Hmm.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

Floppy commented 2 years ago

I think some of the changes to layout that happened helped this - do you think it's fixed now @rescuedruckus ?