Quoth Dotan Cohen at 2009-03-17 08:24...
Or you can use the "cups-pdf" package.
That's what I am using. However, it appears that cups cannot accept an
ODF file as input. I suppose that OOo is internally converting the ODF
to PS for printing.
Think there is a little confusion here that needs to be cleared up:
ODF if not supposed to be a printable format. It is the native format
used by OOo to store its working files for editing, not printing - it is
NOT a page description language like PDF or PostScript.
To print ODF, it needs to be rendered as a page description language
such as PDF, PostScript, etcetera. This is what happens when you select
'Export to PDF' in OOo.
Trying to think of a good analogy to clarify this. The best that
springs to mind is HTML. If you print an HTML file, you just get the
page source printed. If you print it from your browser, however, the
HTML, CSS, images, etcetera, are rendered in the familiar form that you
see when visiting a web page.
It would certainly be possible to write a command-line application to
convert ODF to PostScript, PDF etcetera. The document format is open so
there is nothing stopping anyone from cobbling something together with,
say Perl and XSLT. If nobody has done this and you don't fancy writing
it yourself, I'm afraid that you will still need to use OOo to render to
a printable format.
Hope this makes sense.
Cheers
M
--
Matthew Smith
Smiffytech - Technology Consulting & Web Application Development
Business: http://www.smiffytech.com/
Blog/personal: http://www.smiffysplace.com/
LinkedIn: http://www.linkedin.com/in/smiffy
Skype: msmiffy
Twitter: @smiffytech
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org