SVG files fail to print

Bug #1096998 reported by Doug Bainbridge
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Inkscape 0.48.3.1 r9886
OS: linux Mint Debian Edition Update pack 6
Epson Stylus Photo 2100.

I cannot print any svg file from Inkscape. File=> Print gives a message "file printed" but the printer remains idle.

On the first attempt at printing, after a long wait there was a message about uniconverter being missing, which I have now installed via synaptic.
On the second, after a long wait I got the message below:

<begin quote>
UniConvertor failed:

Cannot list directory /home/dougb/.uniconvertor:[Errno 2] No such file or directory: '/home/dougb/.uniconvertor'
ignoring it in font_path
Cannot list directory /home/dougb/.uniconvertor:[Errno 2] No such file or directory: '/home/dougb/.uniconvertor'
ignoring it in font_path
No plugin-type information in /usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/__init__.py
No plugin-type information in /usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/__init__.py
Cannot load plugin module sk1saver
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
When importing plugin sk1saver
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/plugins.py", line 190, in __call__
    module = self.load_module()
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/uniconvertor/__init__.py", line 88, in uniconv
    saver(doc, output_file)
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/plugins.py", line 194, in __call__
    % {'name':self.module_name})
app.events.skexceptions.SketchError: Cannot load filter sk1saver

<endquote>

On my third attempt inkscape appeared to hang without any message emerging.

The installation seems to have most of the required python scripts in /usr/share/pyshared/uniconverter.... with links in /usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/.... pointing to them.

However __init__.py in /usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters is an empty file and
I have no directory '/home/dougb/.uniconvertor'.

I've no idea what to do next

Tags: linux printing
Revision history for this message
Alvin Penner (apenner) wrote :

- printing should not require Python to be present, not sure what is causing that
- does other software print correctly to this printer
- are you able to experiment with any other printers and Inkscape
- could you try installing PDFCreator as a printer driver to see if it works
- are you doing borderless printing
- how do you connect your printer: USB, or parallel port, or FireWire?

Revision history for this message
Doug Bainbridge (dougrb) wrote : Re: [Bug 1096998] Re: SVG files fail to print

On 08/01/13 01:29, Alvin Penner wrote:
1)> - printing should not require Python to be present, not
sure what is causing that
2)> - does other software print correctly to this printer
3)> - are you able to experiment with any other printers and
Inkscape
4)> - could you try installing PDFCreator as a printer
driver to see if it works
5)> - are you doing borderless printing
6)> - how do you connect your printer: USB, or parallel
port, or FireWire?
>

1) It looks as though something's screwed up, don't you think?
2) I can print pretty well anything else on the printer,
including printing an svg file from Gimp (but of course it's
not vector).
3) doubtful. At the moment, no
4) I can print to file and to PDF and then print them OK
5) yes
6) USB

su_v (suv-lp)
tags: added: linux printing
Revision history for this message
Doug Bainbridge (dougrb) wrote :

[SOLVED - sort of]

I uninstalled inkscape and uniconverter, then re-installed them, uniconverter first.

Printing failed with no error message; there appeared to be no job sent to the printer.

By chance I found that printing via
(1) File=>Print=>Print regularly fails to do anything

BUT via
(2) File=>Print=>Print Preview; click on Print icon works OK

Revision history for this message
Alvin Penner (apenner) wrote :

interesting, similar to comment 13 in Bug 531342

Revision history for this message
su_v (suv-lp) wrote :

While I have no idea what might have triggered that call to a UniConvertor-based output extension of Inkscape when trying to print, there's another known issue affecting printing directly from Inkscape on certain platforms:

>> (1) File=>Print=>Print regularly fails to do anything
>> (2) File=>Print=>Print Preview; click on Print icon works OK
>
> interesting, similar to comment 13 in Bug 531342

Printing directly using the CUPS backend of GTK+ (i.e. on Linux and OS X), has been affected by an upstream bug in GTK+ since GTK+ 2.24.9 (2.24.9 caused Inkscape to crash when trying to print directly, and the initial fix for the crash in 2.24.10 broke printing from Inkscape altogether). The upstream bug in GTK+ has been fixed by now, but is not yet part of the latest stable release (currently 2.24.14). Note that the upstream bug doesn't usually affect printing e.g. from evince (apparently because evince, the default PDF viewer called from the GTK+ print dialog for 'Preview' - sets the page size differently than Inkscape).

<https://bugs.launchpad.net/bugs/998156>
<https://bugzilla.gnome.org/show_bug.cgi?id=679883>
<https://bugzilla.gnome.org/show_bug.cgi?id=689658>

Revision history for this message
Manima (motus4optin) wrote :

Hello, same issue here.

-Linux mint 13 Mate (all updates to this date)
-Canon Pixma iP1800, updated from ppa:michael-gruz/canon
-Inkscape 0.48.3.1 r9886.

Printing works for gimp, pluma, libreoffice but not from inkscape. The options for paper size, paper order and orientation can't be changed (grayed out).

The only way I can print is using the preview option.

With the file-print option, printer do nothing and the status is as if the file was printed (no error output).

Revision history for this message
John Cottier (j-cottier) wrote :

Same here on Ubuntu 12.04. Print briefly flashes the printer icon on the panel, but does nothing. But Print..Print Preview -> Print works fine. I noticed that the default printer is not selected either.

Revision history for this message
John Cottier (j-cottier) wrote :

But although print preview prints, it does not print correctly. It seems to use Evince to display the preview 9 (svg) but then its printed offset on page so in my case I only get half of it on the sheet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.