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

Printer Prints Gibberish, instead of file #23

Open
ghost opened this issue Jul 5, 2017 · 4 comments
Open

Printer Prints Gibberish, instead of file #23

ghost opened this issue Jul 5, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Jul 5, 2017

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 <feff004d00 . . . (This seemingly random string continues for 5 lines) > >>
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

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! We accept bounties via Bountysource.

@davidmhewitt
Copy link
Member

Can you try configuring a new printer and when you are asked to select the model of the printer see if there is a Raw or Raw Queue model of printer. It will probably be under a Generic category if such a thing exists. Sorry, I can't be more specific, I don't have access to a computer with elementary at the moment.

All of the other settings should remain the same.

@tintou
Copy link
Member

tintou commented Jul 5, 2017

You can also try with the official drivers here : http://download.ebz.epson.net/dsc/search/01/search/searchModule

@ghost
Copy link
Author

ghost commented Jul 5, 2017

@davidmhewitt These are my options for adding a new printer:
vokoscreen-2017-07-05_09-53-03

@davidayalaperez
Copy link

davidayalaperez commented Jan 28, 2019

I hope you have found the solution at the time. I had the same problem in another print and this was the (my) solution. Install a generic driver. I post it here for you and for future people who are looking for a solution.
captura realizada el 2019-01-28 13 39 11

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

No branches or pull requests

3 participants