Bug 73456 - images in pdf-documts are not printed
Summary: images in pdf-documts are not printed
Status: RESOLVED WORKSFORME
Alias: None
Product: kpdf
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Christophe Devriese
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-25 12:28 UTC by S. Burmeister
Modified: 2004-09-09 10:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
pdf-ducument with images on pages 3, 4, 5 ... that fail to print (246.67 KB, application/pdf)
2004-01-25 12:30 UTC, S. Burmeister
Details
ps file created with kpdf (30.96 KB, application/postscript)
2004-02-25 21:08 UTC, S. Burmeister
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2004-01-25 12:28:17 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
OS:          Linux

Using kpdf, or KGhostView (acroread fails with some plain_text filter issues when printing to kprinter) printing a pdf-document some images do not get printed. I thought it was the colour-ink, but it also happens with black/white images and in gray-scale mode. It seems to be the way that a certain format of pictures is not printed. I will attach a test-file of which e.g. page 3, 4, 5 and some other are not printing correctly, i.e. leaving out images.

I use KDE 3.2 RC1, Suse 9.0 and a HP Deskjet 660C
Comment 1 S. Burmeister 2004-01-25 12:30:01 UTC
Created attachment 4341 [details]
pdf-ducument with images on pages 3, 4, 5 ... that fail to print
Comment 2 Michael Goffioul 2004-02-24 10:14:45 UTC
Does it print in "gv"?
Comment 3 S. Burmeister 2004-02-24 19:58:49 UTC
Did not have that one installed, did so, printed and it came out fine. I tried page 4 of the document attached to the bug.
Comment 4 Michael Goffioul 2004-02-25 14:14:40 UTC
The fact is that I could print page 5 of your document without any problem on a printer here (PS printer). Did you try to change the printer driver?
From kghostview, if you print to a PS file, then print this PS file using "lpr" command-line utility, does it work?

Michael.
Comment 5 S. Burmeister 2004-02-25 15:09:55 UTC
> The fact is that I could print page 5 of your document without any
> problem on a printer here (PS printer). Did you try to change the
> printer driver?

No, I am using the Hewlett-Packard drivers that come with suse, how can 
I change to some other driver, I do not know of any for the HP printers.

>> From kghostview, if you print to a PS file, then print this PS file
>> using "lpr" command-line utility, does it work?

I must correct myself in this case. I tried today to print page 5 with 
kghostview and it DID work, even without first printing it to a file. 
However kpdf still does not print the image, even if first printed to a 
file.

Sven

Comment 6 Michael Goffioul 2004-02-25 15:18:06 UTC
> ------- Additional Comments From sven.burmeister gmx net  
> 2004-02-25 15:09 -------
> > The fact is that I could print page 5 of your document without any
> > problem on a printer here (PS printer). Did you try to change the
> > printer driver?
> 
> No, I am using the Hewlett-Packard drivers that come with 
> suse, how can 
> I change to some other driver, I do not know of any for the 
> HP printers.


You can change the printer driver from the print manager. After
having selected the printer model, if more than 1 driver is
available, you should be asked which one to use (this happens
in the add printer wizard).
However, from your description below, this shouldn't change
anything.

> >> From kghostview, if you print to a PS file, then print this PS file
> >> using "lpr" command-line utility, does it work?
> 
> I must correct myself in this case. I tried today to print 
> page 5 with 
> kghostview and it DID work, even without first printing it to a file. 
> However kpdf still does not print the image, even if first 
> printed to a 
> file.


Then the problem is in kpdf. When printing to a PS file, kdeprint
does nothing except copying the data generated by the appliction
to a file. If this doesn't print, this means that the generated PS
is faulty (or at least that the underlying printer driver cannot
cope with it). As kghostview can print the file, I'd guess that the
problem is in kpdf.
From kpdf, if you print to a PS file, then view it (with gv or
kghostview), do you see the images?

Michael.
Comment 7 S. Burmeister 2004-02-25 21:03:32 UTC
> From kpdf, if you print to a PS file, then view it (with gv or
> kghostview), do you see the images?

No, opening the .ps file results in the same view as the actual print 
from kpdf, i.e. no images. I also found that when I tell kprinter to 
print the page I am viewing when printing from kpdf, it prints the one 
before the actual page I am viewing. I will file that separately.

I am also gonna attach the ps file I created with kpdf, in case that helps.

Sven

Comment 8 S. Burmeister 2004-02-25 21:08:07 UTC
Created attachment 4883 [details]
ps file created with kpdf

This is a print-to-file print of page 5 of the separately attached pdf-document
with missing picture, which should cover the whole of the page.
Comment 9 Michael Goffioul 2004-02-26 08:28:04 UTC
Redirecting the bug to kpdf as it doesn't seem to be kdeprint's fault. Indeed, when printing to a PS file, kdeprint simply copies what coming out from the app (the PS data) to a disk file. The problem is the generated PS data itself, which is outside kdeprint.
Comment 10 Ian Ventura-Whiting 2004-04-21 17:45:49 UTC
The printing problem is with KPDF, as an example of this bug take the Troll Tech QT white paper (http://www.trolltech.com/pdf/whitepapers/qt33-whitepaper-a4.pdf). This document prints fine from KGhostView but in KPDF not only are some of the images missing, but the fonts are incorrect as well. This was using the same printer on the same machine, so it has to be KPDF.

The version of KPDF I used was 0.3, the version of KGhostView was 0.2 and KDE is 3.2.2.
Comment 11 S. Burmeister 2004-09-09 10:33:45 UTC
This seems to be fixed in the kpdf version I got from Albert Astals Cid (see bug 76057).