http://www.cis.upenn.edu/~mcken/prj/win32/hints/printing.html
To print text and PostScript files from a Windows command shell, use either the GNU/Cygwin cat command (in p:/cygwin-b20/H-i586-cygwin/bin) or the WinNT print command (in c:/WinNT/system32). For example, here's how to print from a t-shell to Grasp queue grasp3:
pc:-> cat file.txt > '\\grasp\grasp3' pc:-> cat file.ps > '\\grasp\grasp3' pc:-> print /D:'\\grasp\grasp3' file.txt pc:-> print /D:'\\grasp\grasp3' file.ps
/cygdrive/c/gs/gsview/gsprint golfer.ps
Defaults are -mono -noquery -noprinter -all
-noquery
Don't show printer setup dialog-noprinter
Use default printer-all
Print all pages-portrait
Portrait orientation
-landscape
Landscape orientation
-duplex
Duplex (vertical axis)
-copies NN
Print NN copies (if supported by Windows printer driver)