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

calculate col and row for form only if 4lbp was not specified #1

Open
wants to merge 3 commits into
base: 18RX
Choose a base branch
from

Conversation

miyako
Copy link
Member

@miyako miyako commented Jul 13, 2020

the calculation of row and column count for form was incorrect.

  • the margins are not taken into account
  • the gaps are not taken into account
  • the values in 4lbp (if passed) is ignored

@miyako miyako changed the title calculate col and row for form only if 4lnp was not specified calculate col and row for form only if 4lbp was not specified Jul 13, 2020
@@ -121,15 +121,15 @@ If ($Boo_form)
GET PRINT OPTION:C734(Legacy printing layer option:K47:18;$legacyMode)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an interesting approach, but the "Legacy printing layer option" is only available on Windows. It will not solve the problem on MacOS.

Copy link
Member Author

@miyako miyako Nov 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal is to pass a parameter to request 17R6 compatible mode. Of course, legacy printing means nothing on macOS, but we just need to read the value, we don't need to switch from Direct2D to GDI, so the solution works on both platforms. Of course there is a problem if the user really wants GDI, and it is an abuse of the specification, so a dedicated parameter would be better.

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 this pull request may close these issues.

2 participants