delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
X-DNSBL-MILTER: | Passed |
X-Matched-Lists: | [] |
Message-ID: | <380-2200855974950906@cantv.net> |
Reply-To: | rodmedina AT cantv DOT net |
From: | "Rodrigo Medina" <rodmedina AT cantv DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | RE:lpr works? FAQ in error? |
Date: | Fri, 9 May 2008 03:19:50 -0430 |
MIME-Version: | 1.0 |
X-Virus-Status: | Clean |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 pages. > 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: http://sourceware.org/ml/cygwin/2006-05/msg00566.html and http://sourceware.org/ml/cygwin/2006-05/msg00575.html 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 files: #!/bin/bash ## 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 Reader.exe" 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 FILE.ps prints FILE.ps I hope that this can be useful R.M. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |