Date: Mon, 14 Sep 1998 16:24:31 +0200 (MET DST) From: Olivier Perron <perron AT art DOT alcatel DOT fr> To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> Cc: djgpp AT delorie DOT com Subject: Re: Problem with DJGPP port of enscript and multi trays printer In-Reply-To: <Pine.SUN.3.91.980914170816.28929D-100000@is> Message-Id: <Pine.GSO.3.96.980914160912.10934A-100000@rtbsci146s> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 14 Sep 1998, Eli Zaretskii wrote: > > On Mon, 14 Sep 1998, Olivier Perron wrote: > > > I think I have to send some special commands to the printer > > using --setpagedevice or --statusdict option. > > I don't understand. Earlier you've said that "cat file >LPT1" causes the > printer to use the correct tray. -p LPT1 causes enscript to do the same, > so why does it need a special option and cat does not? > All what I can say is that if I type "cat file>LPT1", where `file' is a either a standard text file or a PostScript file, the correct tray is used. If now I type "enscript -p LPT1 file" as you suggested, the wrong tray is used. If I do "enscript -o foo.ps file" and then "cat foo.ps >LPT1" the wrong tray is also used. May be enscript issue some specific postscript command which make my printer use the wrong paper tray ?