opensubscriber
   Find in this group all groups
 
Unknown more information…

e : emacs-devel@gnu.org 29 March 2009 • 12:46AM -0400

Re: Printing
by Michael Ekstrand

REPLY TO AUTHOR
 
REPLY TO GROUP




Андрей Парамонов <cmr.pent@gmai...> writes:
> Having analysed mine and other users' experience, and having examined
> how the printing works in modern applications, I propose the following
> requirements for the Emacs printing mechanism:
>
> 1) Simple printing configuration should require no or almost no
>    knowledge and effort. The only user input that might be required is
>    the printer name.

If you have your printer set up correctly on your system, this should be
easy to do.  Setting it up correctly can be a challenge, but A., that
isn't an Emacs problem, and B., CUPS seems to do a good job of
auto-detecting USB and network printers these days.

> 2) It should not be necessary to install additional packages/files
>    solely for the Emacs printing.

I hope you mean packages beyond the core things needed to get printing
working on GNU/Linux systems in general (CUPS, GhostScript, hpijs for HP
printers, etc.).

> 3) Printing functionality should work equally good on PostScript and
>    non-PostScript printers.

Already covered in a properly configured environment (provided your
printer is supported by GhostScript/gimpprint/foomatic).

> I can think of the following ways of how these requirements may be
> achieved:
>
> a) Try to improve current functionality, making no or almost no
>    modifications to the current printing engine. This includes
>    simplifying the configuration interface. Not sure points 2) and 3)
>    can be fixed this way though.

2 and 3 are covered by this one as pretty much any Linux printing is
going through Postscript, even for non-Postscript printers; the printing
engine (e.g. CUPS) uses Ghostscript to render the PostScript to the
appropriate printer language.  The GTK+ printing systems are just
creating PostScript with Cairo, so far as I know.  If you can print on
your GNU/Linux system, you either have the appropriate conversion tools
or are talking to a PostScript printer (or print server doing the
conversion for you).

This solution also has the benefit of working in a TTY :).

I wouldn't mind, however, seeing the GTK+ UI able to use the GTK print
dialogs to select what printer to run the PostScript it generates
through.

- Michael

--
mouse, n: A device for pointing at the xterm in which you want to type.
Confused by the strange files?  I cryptographically sign my messages.
For more information see <http://www.elehack.net/resources/gpg>.



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.