elementary / elementary/settings-printers

Printer Prints Gibberish, instead of file

Open
#23 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
14
Forks
11
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if this is the right place to open this issue, so feel free to let me know if I should open it somewhere else.

I can connect my printer just fine. I can even send print jobs to my printer. There are no issues there. The only issue, is that instead of printing the file, it prints something along the lines of this:

12345X@PJL
@PJL JOB NAME = "The name of the document I want to print" DISPLAY = "3 username document name"
@PJL SET USERNAME = "my elementary OS username"
@PJL SET DUPLEX=OFF
@PJL SET MEDIASOURCE=AUTO
@PJL SET MEDIATYPE=OFF
@PJL SET PAPER=LETTER
@PJL SET RENDERMODE=AUTOCOLOR
@PJL SET ECONMODE=OFF
@PJL SET RET=ON
@PJL ENTER LANGUAGE = PDF
(note that last line, no matter what type of file I print, it always says `PDF`)
But wait, there's more:

%PDF-1.4
%L=o[ ]
% This file was generated by pdftopdf
%%PDFTOPDFNumCopies : 1
%%PDFTOPDFCollate : false
1 0 obj
<< /Pages 3 0 R /Type /Catalog >>
endobj
2 0 obj
<< /CreationDate (D:20170705001112) /Creator >>
endobj
3 0 obj
. . .

And there is about 10 more lines of this pattern: `# 0 obj << someProperty /SomeArgs >> endobj`

Then, I see this line:

stream

And after that, I will get an infinite amount of pages of random binary characters.

My printer is a wireless printer, it prints over Wifi. It is an Epson. I'm not sure if this is the cause of the issue though.

It seems to me that what it is printing is a configuration file, because when I open my printer settings page, I see this:
![screenshot from 2017-07-05 09 28 25](https://user-images.githubusercontent.com/27834353/27866451-656bce0c-6164-11e7-94e8-6c6ee4f198f2.png)

These settings seem to match what I see in the page that is printed out. Then below that part on the page, I think I see the configurations for the current print job that I am trying to print, because I see things like this: `/CreationDate` and `/Author`.

Then, at the `stream` line, all the binary characters that follow are probably the actual file itself, the one that I was originally trying to print.

I have tried printing text files from Scratch, and PDF files from both the Document Viewer and Epiphany Web. So it seems that no matter what I print, and no matter where I print from, I get the same results.

This issue is only in elementary OS though. I can print just fine from any Windows 10 computer I have, and any Mac that I have.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/46913197-printer-prints-gibberish-instead-of-file?utm_campaign=plugin&utm_content=tracker%2F60188248&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60188248&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.