Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 1998 17:37:24 -0500
From:      Randall Hopper <rhh@ct.picker.com>
To:        emulation@FreeBSD.ORG
Subject:   DOSCMD: How do you set up printing?
Message-ID:  <19980118173724.32263@ct.picker.com>

next in thread | raw e-mail | index | archive | help
QUESTION #2:

     How do you set up printing for LPT1:?


SUMMARY :  I'm having 3 basic problems:
   (1) "assign" device -to- DOS device correspondence
   (2) Timeouts
   (3) Mystery form feeds

MORE DETAIL :

(1) 
I added this to my doscmdrc:
    assign lpt1: direct /dev/lpt0

but when I tried "copy con:lpt1:", typed some text, and hit EOF (F6), I got
a number of:

    /dev/lp0: No such file or directory

So I tried changing the assign to "lpt0:" (man page says its OK), but
DOSCMD didn't take it and numbering starts at 1 in DOS anyway, so
guess that's a man page typo.

Returning to:
    assign lpt1: direct /dev/lpt0

I tried "copy con:lpt2:" which, after 30 seconds, printed my output.

(2)
Then, playing with this odd combination (assign lpt1, actually use LPT2:),
I had problems with timeouts.  I'd really prefer no queuing or a very short
queue interval -- that is, send it immediately.  So I tried:

    assign lpt1: direct /dev/lpt0 1

And it was still 30 seconds until I saw my output.  A 0 timeout did the same.

(3)

Finally, each 30 second flush always printed and ejected the page, as if
some S/W were injected a formfeed (^L) character in there on a flush.  Is
there a way to suppress this spurious formfeed?

Thanks,

Randall



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980118173724.32263>