delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/02/02:44:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C808335.806A0A51@insight.rr.com>
Date: Sat, 02 Mar 2002 02:45:57 -0500
From: Paul McFerrin <MailHole AT insight DOT rr DOT com>
Reply-To: pmcferrin AT insight DOT rr DOT com
X-Mailer: Mozilla 4.78 [en] (Win98; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Brian Salter-Duke <b_duke AT octa4 DOT net DOT au>
CC: cygwin AT cygwin DOT com
Subject: Re: Printing locally.
References: <20020302165133 DOT A1440 AT BSALTERDUKE1>

Brian:

I used to be able to print from cygwin by refering to /dev/lpt1

-paul mcferrin

Brian Salter-Duke wrote:
> 
> Gygwin is a great product and it allows me to do much unix work but on
> top of windows. I am essentially a unix person.
> 
> Now I am trying to simply print text mutt mail messages to a local
> printer plugged into the back of my machine, which is running
> Windows2000.  I have read the FAQ and searched the mailing list
> archives. Most of what I find refers to remote printing or clever stuff
> using a2ps etc. My problem is that I do not know how to refer to the
> printer. This is probably my lack of knowledge of Win2000.
> 
> Here is the bit in the FAQ:-
> 
> FAQ>Alternatively, on NT, you can use the Windows `print' command. (It does
> FAQ>not seem to be available on Win9x.) Type
> 
> FAQ>bash$ print /\?
> 
> FAQ>for usage instructions (note the `?' must be escaped from the shell).
> 
> OK, I do this and get:-
> 
> $ PRINT /\?
> Prints a text file.
> 
> PRINT [/D:device] [[drive:][path]filename[...]]
> 
>    /D:device   Specifies a print device.
> 
> OK, so I have PRINT. If I type "PRINT a.txt" where a.txt is a simple text file,
> it says it has printed it, but nothing prints. What does /D:device mean?
> I can find nothing to help me on this.
> 
> FAQ>Finally, you can simply `cat' the file to the printer's share name:
> 
> FAQ>bash$ cat myfile > //host/printer
> 
> What does //host/printer mean? I have seen this with remote printing,
> but I just want to print to the default printer plugged into the back of
> my machine. It is called "CanonBJC-1000SP". How do I refer to it?
> 
> I would much appreciate some help on this point.
> 
> Regards, Brian.
> --
>            Brian Salter-Duke (Brian Duke) b_duke AT octa4 DOT net DOT au
> Honorary Fellow in Chemistry, NT University, Darwin, NT 0909, Australia.
>  Phone 08-89881600.    Fax 08-89881302.    http://lacebark.ntu.edu.au/
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

-- 
NOTE***  This email looks it came from MailHole AT insight DOT rr DOT com but in
          reality it came from pmcferrin AT insight DOT rr DOT com.  If you send
          a reply to this message, it *should* get delivered to the
          correct place.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019