Daniel, your Ghostscript command line is broken and does not work with
any driver. It contains "-dDEVICEWIDTHPOINTS=0 -dDEVICEHEIGHTPOINTS=0"
which means a page of zero width and zero height.

The problem is the application or its print dialog. It seems that a
custom page size was selected and then only the attribute
"PageSize=Custom" was sent and not the actually set page size. What has
to be sent to CUPS is something like "PageSize=Custom.10x20cm" (unit can
also be "in", "mm", or "pt"). A print dialog has to offer a widget for
setting width and height if the user chooses "Custom". If Inkscape
chooses custom because the user has set a canvas size which does not fit
any of the printers's (PPD's) page sizes it has to send the correct
"PageSize=Custom.<width>x<height><unit>" to CUPS so that the output can
be printed.

The attached PostScript file testcase.ps also contains the PostScript
code for a custom page size, but also with zero width and height:

----------
[{
%%BeginFeature: *CustomPageSize True
0
0
0
0
0
pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice
%%EndFeature
} stopped cleartomark
----------

Moving to inkscape ...

** Package changed: ghostscript (Ubuntu) => inkscape (Ubuntu)

** Changed in: inkscape (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/975972

Title:
  cupsRasterOpen failed error when printing vector graphics

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/975972/+subscriptions

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

Reply via email to