🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #1233

Re: How do I send a binary file to a printer?

#1233
From: Leonard Erickson
Date: Tue, 18 Aug 1992 01:24
34 lines
1495 bytes
georgew@tekig1.PEN.TEK.COM (George Walker) writes:

>I'm running Windows and I have a crummy printer, but I have access to
>another PC running DOS that has a laser printer.  If I do a "print to file"
>from my word processor under Windows, with the correct printer setup, and
>then take that file to the DOS machine, how do I print the file?  My DOS
>manual says that the DOS "print" command is only for text files.

Assuming that you want to print file XYZ on drive A:

	Copy /b A:XYZ PRN
or
	copy /b A:XYZ lpt1:

The /b is to *force* the copy to be binary. Remember, as far as DOS
is concerned the following are *all* just odd files:
	NUL
	CON
	PRN
	AUX
	COM1
	COM2
	COM3
	COM4
	LPT1
	LPT2
	LPT3

Some can't be read from, they can all be written to. 
-- 
Leonard Erickson		      leonard@qiclab.scn.rain.com
CIS: [70465,203]			 70465.203@compuserve.com
FIDO:   1:105/51	 Leonard.Erickson@f51.n105.z1.fidonet.org
(The CIS & Fido addresses are preferred)
Technical Details
Message-ID: <1992Aug18.012419.23549@qiclab.scn.rain.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!rpi!uwm.edu!ogicse!qiclab!leonard
References: <6536@tekig7.PEN.TEK.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!rpi!uwm.edu!ogicse!qiclab!leonard
From: leonard@qiclab.scn.rain.com (Leonard Erickson)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: How do I send a binary file to a printer?
Message-ID: <1992Aug18.012419.23549@qiclab.scn.rain.com>
Date: 18 Aug 92 01:24:19 GMT
Article-I.D.: qiclab.1992Aug18.012419.23549
References: <6536@tekig7.PEN.TEK.COM>
Reply-To: 70465.203@compuserve.com
Distribution: na
Organization: SCN Research/Qic Laboratories of Tigard, Oregon.
Lines: 34