public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
To: Brian Salter-Duke <b_duke@octa4.net.au>,
	fergus at bonhard dot uklinux dot net
	<fergus@bonhard.uklinux.net>
Cc: cygwin@cygwin.com
Subject: Re: Printing locally
Date: Mon, 04 Mar 2002 08:26:00 -0000	[thread overview]
Message-ID: <4.3.1.2.20020304111925.024c6628@pop.ma.ultranet.com> (raw)
In-Reply-To: <20020304095404.A1512@BSALTERDUKE1>

At 07:24 PM 3/3/2002, Brian Salter-Duke wrote:
>On Sun, Mar 03, 2002 at 10:49:53AM -0000, fergus at bonhard dot uklinux dot net wrote:
> > What about this? Any good?
> > If the file a.txt is DOS terminated, try
> >     cp a.txt prn
> > OR
> >     cat a.txt > prn
> > and if a.txt is Unix-terminated, try
> >     cat a.txt | unix2dos > prn
> > Fergus
>
>This was a good suggestion but it still does not work. It just does
>nothing as does directing the output to PRINT or LPT1.
>
>The file a.txt if put into Notepad either in dos or unix format prints
>fine.


Hm, then there must be some issue locally.  I have used both 

cat file.txt > prn

and

cat file.txt > //<machine name>/<printer share name>

with no problems in the past.  If one or both of these don't work for you,
you may be stuck trying to debug it.  In anticipation of your next question,
you might try running one or both of these with 'strace'.  See strace --help
for more details of the options.  The output may give you an idea of where 
things are going wrong for you.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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/

  reply	other threads:[~2002-03-04 16:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-03  2:50 fergus at bonhard dot uklinux dot net
2002-03-03 16:25 ` Brian Salter-Duke
2002-03-04  8:26   ` Larry Hall (RFK Partners, Inc) [this message]
2002-03-05  1:24     ` Brian Salter-Duke
2002-03-05  8:17       ` Rick Rankin
2002-03-05 13:07       ` Larry Hall (RFK Partners, Inc)
  -- strict thread matches above, loose matches on Subject: below --
2002-03-06 15:03 Heribert Dahms
2002-03-05 15:39 Karl M
2002-03-01 23:23 Brian Salter-Duke
2002-03-01 23:44 ` Paul McFerrin
2002-03-02 18:54   ` Brian Salter-Duke
2002-03-02 20:40     ` David Means
2002-03-03  0:27       ` Brian Salter-Duke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.1.2.20020304111925.024c6628@pop.ma.ultranet.com \
    --to=lhall@rfk.com \
    --cc=b_duke@octa4.net.au \
    --cc=cygwin@cygwin.com \
    --cc=fergus@bonhard.uklinux.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).