This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE:lpr works? FAQ in error?

Lee D. Rothstein on Fri, 09 May 2008 01:26:09 -0400 wrote:
>I've gotten /usr/bin/lpr to work under Vista. So is the FAQ in error?

It is in error. There is a working lpr which is part or cygutils. See man

> My problem is finding a filter for Epson printers.

For modern Epson printers you may use the IJS drive of ghostscript
You have to;
1- Install ghostscript 
2- Install gutenprint and foomatic
there few problems. See:

An easier way is to used the Windows drivers. You need a Windows program
that could print.
You may use  "NOTEPAD /P" for text files and "Foxit Reader /p" for PDF files
You can use ghostscript for transforming ps files into PDF files
Foxit Reader is a faster than Acrobat Reader and has the convenient switch
"/p" for printing.

For example I use the following script (lprps) for printing postscript

## Para mandar un archivo PostScript a la impresora
## convirtiendolo en PDF y escribiendolo con Foxit
FRDIR="/cygdrive/c/Program Files/Foxit Software/Foxit Reader/Foxit
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dCompatibilityLevel=1.4
 -sOutputFile=/tmp/~lprps.pdf $1 ;
FDIR=`cygpath -wa /tmp/~lprps.pdf`
cygstart "$FRDIR" /p $FDIR
exit 0

The command
$ lprps

I hope that this can be useful 

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]