public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Is there a 'lpr' for Windows?
@ 2000-02-21  1:31 stephane.decrauzat
  0 siblings, 0 replies; 4+ messages in thread
From: stephane.decrauzat @ 2000-02-21  1:31 UTC (permalink / raw)
  To: cygwin

Glenn Spell <glenn@gs.fay.nc.us> on 21/02/2000 09:53:14

   Please respond to cygwin@sourceware.cygnus.com

   To:  cygwin@sourceware.cygnus.com
   cc:   (bcc: Stephane Decrauzat/Intl/Conexant)
   Subject:     Re: Is there a 'lpr' for Windows?



   On 20 Feb 2000 around 5:20PM (-0600) Ajit George wrote:

   > > You can change the command Xemacs uses to print by setting the
   > > elisp variable lpr-command.  I don't know what the appropriate
   > > command would be.
   >
   > cat >> lpt1
   >

In case you want to use a network printer, you can:
leave lpr-command as "" and setq printer-name as "//host/printer"
This works for Emacs 20.5.1. I hope it also works for XEmacs.

   > fmt -s -w63 | pr -f -h "" -l 59 -o 10 -w63 >> lpt1
   >
   > In addition to /dev/lpt1-3, Cygwin also includes /dev/prn.
   >

I use a network printer and do not have the /dev/prn nor /dev/lpt-1-3, how can I
print directly from cygwin bash ?

Cheers

Steph



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is there a 'lpr' for Windows?
  2000-02-20 15:21 ` Ajit George
@ 2000-02-21  0:53   ` Glenn Spell
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Spell @ 2000-02-21  0:53 UTC (permalink / raw)
  To: cygwin

On 20 Feb 2000 around 5:20PM (-0600) Ajit George wrote:

> You can change the command Xemacs uses to print by setting the
> elisp variable lpr-command.  I don't know what the appropriate
> command would be.

cat >> lpt1

fmt -s -w63 | pr -f -h "" -l 59 -o 10 -w63 >> lpt1

In addition to /dev/lpt1-3, Cygwin also includes /dev/prn.

-glenn

-- 
  ________________________________________      _       _____
 )                                        )_ _ (__\____o /_/_ |
 )    Glenn Spell <glenn@gs.fay.nc.us>    )     >-----._/_/__]>
 )________________________________________)               `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Is there a 'lpr' for Windows?
  2000-02-20 14:56 Martin Henne
@ 2000-02-20 15:21 ` Ajit George
  2000-02-21  0:53   ` Glenn Spell
  0 siblings, 1 reply; 4+ messages in thread
From: Ajit George @ 2000-02-20 15:21 UTC (permalink / raw)
  To: cygwin

You can change the command Xemacs uses to print by setting the elisp
variable lpr-command.  I don't know what the appropriate command would be.

Ajit

-----Original Message-----
From:	cygwin-owner@sourceware.cygnus.com
[ mailto:cygwin-owner@sourceware.cygnus.com ] On Behalf Of Martin Henne
Sent:	Sunday, February 20, 2000 4:56 PM
To:	cygwin@sourceware.cygnus.com
Subject:	Is there a 'lpr' for Windows?


I tried to print out a sourcecode with the
Win32-Version of XEmacs, but the Programm
tries to send the file via 'lpr' like on
Linux-Machines.

Anyone can help?


Martin

mailto:webmaster@MartinHenne.de
http://www.MartinHenne.de



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Is there a 'lpr' for Windows?
@ 2000-02-20 14:56 Martin Henne
  2000-02-20 15:21 ` Ajit George
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Henne @ 2000-02-20 14:56 UTC (permalink / raw)
  To: cygwin

I tried to print out a sourcecode with the
Win32-Version of XEmacs, but the Programm
tries to send the file via 'lpr' like on
Linux-Machines. 

Anyone can help?


Martin

mailto:webmaster@MartinHenne.de
http://www.MartinHenne.de



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-21  1:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-21  1:31 Is there a 'lpr' for Windows? stephane.decrauzat
  -- strict thread matches above, loose matches on Subject: below --
2000-02-20 14:56 Martin Henne
2000-02-20 15:21 ` Ajit George
2000-02-21  0:53   ` Glenn Spell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).