MTGProxyPrinter

View Ticket
Login

View Ticket

Ticket Hash: b80a3f6992e94b82604ae9d7c2d18fde27bbcf83
Title: Some printers seem to downscale prints during direct printing. Investigate.
Status: Verified Type: Code_Defect
Severity: Severe Priority: High
Subsystem: Print_Support Resolution: Open
Last Modified: 2024-01-07 23:04:49
Version Found In: 0.25.0
User Comments:
thomas added on 2023-10-17 16:53:24:

See https://www.reddit.com/r/bootlegmtg/comments/vvoapc/comment/k562hy8

Idea

Refactor rendering on paper to have actual margins

  • The scene size should be reduced by the configured margins
    • Subtract (margin_top*DPI) pixels from all Y coordinates
    • Subtract (margin_left*DPI) pixels from all X coordinates
    • Reduce scene height by margin_top+margin_bottom
    • Reduce scene width by margin_left+margin_right
  • The margins should be set in the QPrinter instance, instead of setting them to zero

This should ensure compatibility with printer drivers that refuse zero margins.


thomas added on 2023-12-20 19:59:28:

A separate printing mode was added that allows the printer to control the margins, which should please those printer drivers and allow to-scale printing.

User confirmation required to close this.


thomas added on 2024-01-07 23:04:49:

This still is an issue with non-A4 paper, even with borderless printing disabled (See user report on reddit)

It is probably required to replace the paper size settings in millimeters with the proper enum-based predefined values.