This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Printing from cygwin?
On Fri Feb 28 09:21:15 2003, Charles Krug wrote:
> On Thu, Feb 27, 2003 at 10:52:14PM -0500, Ajay Simha wrote:
> > On Thu Feb 27 15:53:59 2003, Rick Rankin wrote:
> > > Do you know for sure which lpr you're using? Win2K has one in
> > > C:\WINNT\system32.
> >
> > Try /cygdrive/c/WINNT/system32/lpr -S server -P printer filename
I still had problem making enscript use this so here is my pretty print script:
#!/bin/bash
# usage pprint infile
enscript -2r -DDuplex:false --fancy-header -o /tmp/$1.ps $1
ps2pdf /tmp/$1.ps /tmp/$1.pdf
cygstart /tmp/$1.pdf
then it brings up adobe and I hit print.
I am using this from mutt as well.
-ajay
> >
> > it worked for me.
>
> That seems to work, and it happily transmits postscript correctly.
>
> Thanx.
>
>
> Charles
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/