[R] Equivalent of win.print for Linux
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Oct 28 15:45:36 CEST 2011
See the help for postscript ... especially the 'Printing' section.
On Fri, 28 Oct 2011, Xavier Robin wrote:
> Hi!
>
> In Windows the "win.print" function allows plotting directly to a
> printer (or copying an open device to the printer). This is very
> convenient to quickly print a plot once it looks good.
>
> Is there an equivalent function under Linux? For example through CUPS,
> IPP, LPD or other ?
>
> Obviously with a printer on the parallel port one could write
> postscript("/dev/lp0") but what about network printers?
>
> Currently what I do is printing the open device to a postscript() file,
> open this file in a postscript viewer and print it from there. But I'm
> lazy and a win.print-like shortcut would be welcome.
>
> Thanks,
> Xavier
>
> PS: I'm running Ubuntu 10.04 64bit.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list