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

Weird margins on printing #746

Closed
sartris opened this issue Aug 10, 2020 · 6 comments · Fixed by #808
Closed

Weird margins on printing #746

sartris opened this issue Aug 10, 2020 · 6 comments · Fixed by #808
Milestone

Comments

@sartris
Copy link

sartris commented Aug 10, 2020

Environment

Version - .47.7, .47.8, .47.9

Windows 10, Java 8 update 261

Description

Since .47.7, printing either to my printer or PDF (including Adobe PDF, Microsoft PDF, and the XPS writer) with very large margins - a full inch. If you print in .47.6, the issue does not exist. I've included a PDF of each to show the difference.

Archer 47.6.pdf
Archer 47.7.pdf
Archer 47.8.pdf
Archer 47.9.pdf

@neoancient
Copy link
Member

What are the margins set to in the print dialog?

@sartris
Copy link
Author

sartris commented Aug 10, 2020

there are no options for margins anywhere that i can find. the only thing i found that altered the behavior was a "borderless printing" toggle - but that only eliminated the top margin and kept the sides with the scaled-down sheet. What's more, .47.6 does not have an issue (nor does the most recent stable release).

this is not the native export to pdf that was recently added (which works fine), but the external print-to-file drivers. these mimic what happens when I use actual paper to print sheets.

@neoancient
Copy link
Member

The change from 0.47.6 to 0.47.7 is that it allows the user to specify the margins, which were always fixed before.

The expected behavior is that you will get a cross-platform dialog that looks something like this:
Screenshot from 2020-08-10 16-33-54
The margins are set on the Page Setup tab:
Screenshot from 2020-08-10 16-37-06

MML should be setting these to 0.25" by default.

@sartris
Copy link
Author

sartris commented Aug 11, 2020

ah ha. i see the problem now - i don't get that dialog. this is what i see. i don't get any margin options in the advanced settings either.

print dialog

@neoancient
Copy link
Member

After checking with others, this appears to be platform dependent, which is a bit frustrating since the documentation specifically says this is the cross-platform version of the dialog. It's very difficult for me to troubleshoot OS-specific behavior since I only run Linux, but I do have another approach in mind that I think will take care of it and I can get other members of the dev team to test on Windows.

@sartris
Copy link
Author

sartris commented Aug 12, 2020

ok, i figured it would be something like that. i can stop combing the settings for a fix.

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

Successfully merging a pull request may close this issue.

2 participants