Mail Archives: djgpp/2001/05/13/04:13:03
Eli Zaretskii wrote:
>
> >
> > -> is there a port of lpr/lp for DJGPP, using either a port of
> > GhostScript, or calling the Aladdin release I have under windows?
>
> You shouldn't need any lpr on DOS, just invoke Ghostscript and tell it
> to output to the printer device (doesn't it do that by default?).
No. By default, it displays on the screen.
Thus I change my question:
Has somebody a procedure to call GhostScript and tell it to print the
output on a printer (specifying of course the printer resolution, the
printer type (ljet4, laserjet...), the printer channel (lpt1: lpt2:
etc.)?
>
> lpr exists on Unix because the print spool queue there is visible to
> the user: you have commands to add, remove, and otherwise manage that
> queue with commands like lprm, lpq, etc. When you use lpr to print a
> PostScript document, it is simply sent to a queue which knows how to
> process PostScript, either by sending them to a PostScript printer or
> by piping them through Ghostscript. DOS doesn't need that.
--
------------------------------------------------------------------------
Daniel Taupin, 91400 ORSAY - France
E-mail= mailto:taupin AT lps DOT u-psud DOT fr
Home/fax: (33)1.60.10.26.44. Work: (33)1.69.15.60.79, fax
(33)1.69.15.60.86
- Raw text -