linuxmint / linuxmint/xreader

PDF file print fails

Open
#465 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Description

 * Xreader version (xviewer --version) 2.8.3
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...) Linux Mint Cinnamon 20.1

Issue

Cannot print PDF files

Steps to reproduce

Open PDF file using Xreader, print it using the print icon

On my Epson WF-3520 a "printer error" is reported and nothing prints.

On my Brother HL-2270DW it doesn't get an error, but what comes out is either a blank sheet of paper or just a small part of the first page, truncated and mis-placed on the page.

Print to File results in a good PDF file but a letter size document converts to tabloid (11x17 inch) size.

Expected behaviour

Other information

Printing the same PDF files from other software, e.g. Evince, works fine.

Converting PDF to Postscript using pdftops, opening the .ps file in Xreader, and printing it from there also works fine. (When printing to file, size is not converted to tabloid.)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure through Xreader's print icon on a PDF, comparing direct PDF printing with printing the PostScript output produced by pdftops. Done means PDF printing works on the reported printers and preserves the source page size, including Print to File; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.