You are not logged in.

#1 2012-09-05 21:09:10

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

PDF printing problem (pics added)

Hi guys.

I am trying to print some papers, for example
http://citeseerx.ist.psu.edu/viewdoc/su … .1.10.9207
from pdf. Print preview and print results are completely messed up, only rare symbols appear on the screen/paper.

Evince displays the pdf fine (other than in "print preview" mode). pdf2ps seems to work well also.

I have no idea of where to look for solution.. On my gentoo box everything is fine.

Please advice.

Last edited by Khumarahn (2012-10-09 21:53:56)

Offline

#2 2012-10-09 21:53:25

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

Up... posting screenshots this time.
This is what it looks like on preview and print:
scr1t.png
Full image:
http://138.26.76.81/4u/scr1.png


This is what it should be:
scr0t.png
Full image:
http://138.26.76.81/4u/scr0.png

Any ideas are appreciated.



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by Khumarahn (2012-10-10 14:21:07)

Offline

#3 2012-10-10 02:41:48

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

I think this is a bug, but what is failing? I deleted /etc/cups, reinstalled cups and tried this before installing any printers. Results are the same.

The same file prints fine on my stable gentoo boxens.

Offline

#4 2012-10-10 02:59:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,167

Re: PDF printing problem (pics added)

Well, there are not completely messed up.  It looks like it got the first character of every line right.

No suggestions, but, perhaps. a useful data point.

It appears you are using TeX or LaTeX.  Maybe play with a different font.  What happens if you go for printing from a dvi file over a pdf.  Again, not a solution, but looking for more data.
What are you using to generate the pdf?  pdflatex or dvipdf ?  What if you try the other?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#5 2012-10-10 03:04:30

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

I don't have latex source for it... it's just a paper from the internet
http://citeseerx.ist.psu.edu/viewdoc/su … .1.10.9207

Offline

#6 2012-10-10 03:11:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,167

Re: PDF printing problem (pics added)

Oh sad  Sorry, I'm out


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#7 2012-10-10 03:17:22

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

Could you may be try to reproduce it? Does this document print preview look fine on your machine?

Last edited by Khumarahn (2012-10-10 03:17:35)

Offline

#8 2012-10-10 03:28:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,167

Re: PDF printing problem (pics added)

I'll try that for you when I get home in about an hour.  Right now, I am listening to my daughters' flute lesson using my phone as a wireless router.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#9 2012-10-10 03:35:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,167

Re: PDF printing problem (pics added)

My $DEITY !! Laplace and Cauchy are rolling in their graves !!

I doubt Laplace ever considered applying frequency domain, boundary conditions and transient response to financial systems.  Most of the MBAs I've encountered certainly have not tongue

Last edited by ewaller (2012-10-10 03:36:16)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#10 2012-10-10 03:47:01

firecat53
Member
From: Sammamish, Wa
Registered: 2007-05-14
Posts: 1,447
Website

Re: PDF printing problem (pics added)

Hmmm, same results as yours for that paper -- I can view it just fine (zathura w/ poppler) but when I print to the cups-pdf printer, I see the same partial, garbled output you did.

Data point...but unfortunately no ideas for you hmm

Scott

Last edited by firecat53 (2012-10-10 03:47:23)

Offline

#11 2012-10-10 04:38:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,167

Re: PDF printing problem (pics added)

Well, I just printed page one.  It looks fine.

Printed to HP OfficeJet Pro 8500 A910 from Okular.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#12 2012-10-10 08:04:43

dejavu
Member
Registered: 2008-05-26
Posts: 103

Re: PDF printing problem (pics added)

I can't see your screenshot, but it sounds similar to my unsolved problem. Unfortunately I can't provide my misaligned PDF because its content is private.
So see: https://bbs.archlinux.org/viewtopic.php?id=143694

Last edited by dejavu (2012-10-10 08:05:01)

Offline

#13 2012-10-10 14:25:45

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

Pictures were deleted by moderators because they were more than 250x250. I have just fixed this. See the top.

I tried xournal, results are the same. Is this poppler failing? or cups?

Is there a way to downgrade packages in arch?

Offline

#14 2012-10-10 15:10:58

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

I installed okular, and printed a couple of pages... They look just fine. Also, pdf2ps command produces correct ps, which then prints with evince correctly.

Offline

#15 2012-10-10 15:36:16

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,038
Website

Re: PDF printing problem (pics added)

As another work around you could use the admittedly odd looking command from poppler:

pdftocairo -pdf myfile.pdf mynewfile.pdf

This simply reads the pdf in to cairo surfaces and renders them to a new pdf.  If pdftops works this does essentially the same thing, but it gives you a pdf back in the end.

Last edited by Trilby (2012-10-10 15:37:32)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#16 2012-10-10 15:44:43

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

Great!

This command produced the odd-looking pdf. Should I may be submit a bug for poppler? (if yes, would you recommend arch linux bugzilla, or upstream?)

Last edited by Khumarahn (2012-10-10 15:46:21)

Offline

#17 2012-10-10 16:33:23

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,038
Website

Re: PDF printing problem (pics added)

Ah, no, sorry.  I expected this "rerendering" would fix the pdf file.  Just because it didn't fix it does not mean it caused it.  The problem is in the original pdf file, and poppler apparently rendered it very faithfully - so definitely not a bug.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#18 2012-10-10 16:37:33

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

I doubt the problem is in that pdf file. It actually happens with many different files... And the same command on my gentoo machine (which is always somewhat outdated compared to arch) produces nice correct results, and I never had problems like this.

Offline

#19 2012-10-10 21:06:47

Khumarahn
Member
Registered: 2011-11-02
Posts: 14

Re: PDF printing problem (pics added)

pdftocairo -pdf myfile.pdf mynewfile.pdf

produces a pdf that looks bad on display from the beginning (you don't even have to preview or print it), and pdftocairo "converts Portable Document Format  (PDF)  files,  using  the cairo output device of the poppler PDF library", so I assume the problem is with poppler or cairo.

I submitted a bug report
https://bugs.archlinux.org/task/31887

Last edited by Khumarahn (2012-10-10 21:25:33)

Offline

#20 2012-10-30 02:05:38

bruno321
Member
From: Montevideo, Uruguay
Registered: 2010-03-05
Posts: 86

Re: PDF printing problem (pics added)

This is happening to me as well... any progress?

Offline

#21 2012-10-31 12:32:40

4ndy
Member
Registered: 2012-10-26
Posts: 6

Re: PDF printing problem (pics added)

I had the same problem.
Today I upgraded to Gnome 3.6.1
The problem seems to be solved.

Offline

Board footer

Powered by FluxBB