Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Limit PDF/ Print Option to Produce Only One Page #564

Closed
wants to merge 2 commits into from

Conversation

GoFroggyRun
Copy link
Contributor

@GoFroggyRun GoFroggyRun commented Jun 19, 2017

Per discussion in #534, the Print button on TaxBrain output page currently produces two pages. See the following screenshot for detail:

pdf_one_page

I tried different ways to limit the number of pages to print via DataTable.ext.buttons.pdfHtml5 and DataTable.ext.buttons.print functions (details could be found within the commit), but they do not seem to help.

@brittainhard, could you advice what's the best approach to deal with this issue?

@brittainhard
Copy link
Contributor

Print output looks great, +1

@brittainhard
Copy link
Contributor

@GoFroggyRun looks like we have more merge conflicts. In the future, I think it's best not to modify the vendor files themselves, but use a module separate script that changes the attributes of the original objects. I didn't think about this with the first PRs you made, but I think this code is fine for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants