Command line printing

Carsten Aulbert carsten at welcomes-you.com
Fri Dec 29 15:36:01 UTC 2006


Shu Hung (Koala) wrote:
> Hello all,

> Does anyone know how to use terminal command to print a:
> (1) Microsoft Document
> (2) Adobe Acrobat (PDF) file
> (3) graphics (e.g GIF, JPEG, TIFF)

I think the safest option is to convert the data first to postscript, e.g.

(1) Use wordview (package named wv), but this needs tetex(-extra) to be
installed
(2) pdf2ps should take care of this. However, CUPS (standard printer
daemon for *ubuntu) has a native filter for pdf files, thus printing it
directly *should* work
(3) I think CUPS handles that as well natively, but I don't know and
have next to nothing experience with this (except using convert from the
imagemagick packages for converting the picture into PS or EPS before
printing).

HTH
Carsten




More information about the ubuntu-users mailing list