8000 GitHub - dominicsayers/db-to-pdf: Specific db to pdf problem I needed to solve · GitHub
[go: up one dir, main page]

Skip to content
< 8000 link rel="preload" as="image" href="https://github.githubassets.com/assets/changelog-fd687bff072883b0.png"/>
dominicsayersPublic

About

Specific db to pdf problem I needed to solve

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

I needed to take a list of records in a database (it could have been a spreadsheet) and create a multi-page PDF document based on that data, one page per record.

I couldn't find an easy way to do it, especially handling the page breaks.

Turned out that CSS @media print can control page breaks pretty easily, so I just created a view that output all the records and used my browser's Print function to create the PDF.

About

Specific db to pdf problem I needed to solve

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0