From owner-freebsd-emulation Sun Jan 18 14:39:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA21341 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 14:39:33 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA21314 for ; Sun, 18 Jan 1998 14:39:22 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 18 Jan 1998 17:38:41 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA19877; Sun, 18 Jan 98 17:38:40 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id RAA21560; Sun, 18 Jan 1998 17:37:24 -0500 Message-Id: <19980118173724.32263@ct.picker.com> Date: Sun, 18 Jan 1998 17:37:24 -0500 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: DOSCMD: How do you set up printing? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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