R
Renan (tm)
Hello,
In Linux, I can output a text file to a local printer by doing:
cat <file name> | lpr
or pipe a command via '<command> | lpr'.
This comes really useful when I want to print from a shell script.
Q: Is there a similar utility for Windows?
I'm using Windows XP, so output directly to the parallel port doesn't
work well, and thus redirection ('> lpt1') is not an option.
Windows XP seems to have a (rather strange) LPR utility (!!) but it
isn't similar to the UNIX one.
Thanks!
In Linux, I can output a text file to a local printer by doing:
cat <file name> | lpr
or pipe a command via '<command> | lpr'.
This comes really useful when I want to print from a shell script.
Q: Is there a similar utility for Windows?
I'm using Windows XP, so output directly to the parallel port doesn't
work well, and thus redirection ('> lpt1') is not an option.
Windows XP seems to have a (rather strange) LPR utility (!!) but it
isn't similar to the UNIX one.
Thanks!