Article View: comp.os.msdos.programmer
Article #1305Re: PRINT.EXE a binary file?
From: Allen J Michielsen
Date: Sat, 05 Sep 1992 04:11
Date: Sat, 05 Sep 1992 04:11
19 lines
1152 bytes
1152 bytes
In@usenet.ucs.indiana.edu> yawei@bronze.ucs.indiana.edu (~{QG9p~}) writes:
>...
>PRINT.EXE via the DOS multiplex interrupt calls so that it can
>be printed in the background. Everything worked perfectly
>until some bytes with values 0x0D or 0x1B sneaked into the files.
>It turned out that PRINT.EXE was only equiped to handle non-binary
>files! (This was confirmed after checking the manuals.) An
I didn't see it my manuals either, but many dos level programs intended
for text files, have a hidden (or poorly documented) /b switch for
use with binary files. Try print /b file.ext
al
--
Al. Michielsen, Crouse Hinds School of Management, Syracuse University
InterNet: amichiel@mailbox.syr.edu amichiel@sunrise.acs.syr.edu
Bitnet: AMICHIEL@SUNRISE
Technical Details
Message-ID:
<1992Sep5.001106.24945@newstand.syr.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!psinntp!psinntp!newstand.syr.edu!rodan.acs.syr.edu!amichielReferences:
<BtzFH9.G3J@usenet.ucs.indiana.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!psinntp!psinntp!newstand.syr.edu!rodan.acs.syr.edu!amichiel From: amichiel@rodan.acs.syr.edu (Allen J Michielsen) Subject: Re: PRINT.EXE a binary file? Message-ID: <1992Sep5.001106.24945@newstand.syr.edu> References: <BtzFH9.G3J@usenet.ucs.indiana.edu> Date: Sat, 5 Sep 92 00:11:05 EDT Lines: 19