The error_log shopws that GNU Cash is sending PDF to the printing system
and this gets processed at first by pdftopdf and then by foomatic-rip.
So there are theree possibilities for what makes the GIF images black
(or at least the transparent parts of them):

- GNU Cash already
- The pdftopdf filter
- Ghostscript and the HPIJS printer driver (they get called by foomatic-rip).

The first step is to find out what GNU Cash sends to the printing
system.

To find out this, disable your print queue with

cupsdisable <queue name>

This prevents jobs which you send from being processed and removed from
the queue,

Send a job from GNU Cash with your GIF image to the print queue. It will
stay waiting in the

/var/spool/cups/

directory, a file whose name begins with a "d". Copy the file into your
home directory (note that normal users cannot read these files):

sudo cp /var/spool/cups/d* .
sudo chown <your user name> d*
mv d* gnucash.pdf

Clean up your print queue with

cancel -a
cupsenable <queue name>

Now have a look at the file with evince or Adobe Reader. Is the image
already black? If so, GNU Cash (or the GUI libraries which it is using)
has a bug.

If not, the problem is in the filters. Do

cupsfilter -m application/vnd.cups-pdf -p /etc/cups/ppd/<your print
queue>.ppd gnucash.pdf > pdftopdfout.pdf 2>pdftopdf.log

This runs only the pdftopdf filter. Display pdftopdfout.pdf with evince
or Adobe Reader. How does the image look like. If it is black, pdftopdf
has a bug, otherwise the bug is in Ghostscript or the driver. Try to
display it also with Ghostscript, ("gs pdftopdfout.pdf"). If the image
is black only then, the bug is in Ghostscript.

Set up a print queue for your printer with Gutenprint as the driver (Use
the HP DeskJet 990C as the model if Gutenprint is not listed as a driver
for your printer). Does the image come out correctly then. If so, the
HPIJS driver or the IJS interface of Ghostscript is faulty. To check
whether it is not Ghostscript's IJS interface you can install the
packages foomatic-db-gutenprint and ijsgutenprint and set up a queue
with a "Foomatic/gutenprint-ijs" driver. If the image comes out
correctly, the bug is in HPIJS, otherwise in Ghostscript's IJS
interface.


** Changed in: cups (Ubuntu)
Sourcepackagename: cupsys => cups

-- 
Printing a transparent gif header result in a completely black header.
https://bugs.launchpad.net/bugs/196009
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to