[cups.general] Printing SVG

Michael R Sweet msweet at apple.com
Wed Oct 15 09:34:54 PDT 2008


Maurí­cio wrote:
> Hi,
> 
> With a PDF file, I can type:
> 
> lp -d printer file.pdf
> 
> and get that file on paper. Is
> it possible somehow to acchieve
> the same for SVG files? So I
> could just type:
> 
> lp -d printer file.svg
> 
> and get a print of that image,
> scaled to fit on a page?

Not at present, but all that would be required is a filter that
converts SVG to something else.  It looks like you could combine
Cairo, libxml2 (ugh!), and librsvg to render SVG files as PDF,
PostScript, or one of several image file formats that are supported
by the standard CUPS filters.  There may already be free software
programs that do all of this for you and may just require a wrapper
script to act as a CUPS filter - Google is your friend for this
stuff...

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list