[R] Unattended printing under Windows

Andrew Perrin aperrin at socrates.berkeley.edu
Wed Feb 28 01:58:03 CET 2001


On Tue, 27 Feb 2001, Michael Camann wrote:

[snip]
> This is esentially identical to the unix solution, differing only in the
> need to call gsprint rather then lpr.  It's possible that a similar
> solution exists for the text pages using system() calls to the DOS port of
> a2ps and then gsprint (I'm having trouble finding the a2ps port, however).

I would think you could solve the command-line printing of text files
issue using something along the lines of (UNTESTED since I don't have a
Win/DOS machine around):

system('copy <filename> lpt1:')

or

system('print <filename')

both of which are DOS commands that, theoretically, should bypass the
dialog box.

Andy Perrin


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list