Skip to content

Deprecated Options for CUPS used in Configuration File #76

@tothedaring

Description

@tothedaring

Describe the Bug
Per CUPS Issue #4010, options / parameters "page-bottom", "page-left", "page-right", "page-top" have been deprecated and removed and therefore no longer have any bearing on print job manipulation.

To Reproduce
Enable / toggle commenting for Line 253 in configuration file, enter printer name, write file, launch NomadNet, send paper message to recipient.

Expected Behavior
Printer will use options / parameters outlined to format printing, however print defaults to "-o fit-to-page" option, filling page with outlandishly large LXM QR code.

Logs & Screenshots
Please include any relevant log output. If applicable, also add screenshots to help explain your problem.

System Information

  • Debian 12
  • Python 3.11.2
  • NomadNet 0.7.0

Additional context
Personally, I've opted to use print_command = lp -d [PRINTER_NAME] -o job-priority=100 -o media=Custom.75x75mm -o orientation-requested=3 for a more reasonably-sized QR code that, in my testing, works on most media / paper stock (US Letter, A4, US Envelope #10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions