hplj(width=<<see below>>, height=<<see below>>, horizo=<<see below>>,
onefile=T, print=T, paper="letter", dpi=<<see below>>,
tempfile="lj.out.####.lj", ...)
width refers to the x axis dimension.
The defaults for
width and
height are taken from
paper.
height refers to the y axis dimension.
TRUE, the x axis lies along the long side of the paper ("landscape" mode);
if
FALSE, the long side is vertical ("portrait" mode).
The default is specified in the environment variable
S_PRINT_ORIENTATION (as either landscape or portrait).
TRUE, each plot is appended to a file named LaserJet.out.
If
FALSE, each plot will be written to a temporary file
(lj.out.####.lj) which will be passed as the argument to
the command specified by the environment
variable S_LASERJET_PRINT_COMMAND.
FALSE,
hplj will not try to send temporary files (see above) to the
printer.
paper are
"letter" (the default),
"legal" and
"a4".
75,
100,
150, and
300. The default is specified by the
environment variable S_LASERJET_DPI.
"lj.out.####.lj".
For more information see the Printing Your Graphics and the Customizing Your S-PLUS Session chapters in the S-PLUS User's Manual.
Do not allow two different graphics devices to write to the same file name at the same time. The file will become corrupted if this happens.
hplj(print=F)
tsplot(hstart, log="y")
dev.off() # shutdown the device
# Print the file LaserJet.out with a command like:
# unix("lpr -Php -r LaserJet.out")