Displaying 1 result from an estimated 1 matches for "rhosvr01".
Did you mean:
rhosvr02
2004 Sep 29
2
How to print landscape from script in Windows: dev.print(win.print, printer="local printer name", ...) does not accept horizontal=TRUE
...nt in landscape mode. From the menus, I can
accomplish this by changing the properties of the printer before
clicking "print".
However, I tried adding "horizontal=TRUE" to the command, but it gives
an error message:
> dev.print(win.print,horizontal=TRUE,printer="\\\\RhoSvr01\\HP LaserJet
8150 PCL 6")
Error in device(...) : unused argument(s) (horizontal ...)
I can see from ?device and then ?win.print that, sure enough, there is
no 'horizontal' parameter in win.print.
There are many examples like this on the help archives and in the docs,
apparentl...