🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1249

PRINT.EXE a binary file?

#1249
From: ~{QG9p~}
Date: Thu, 03 Sep 1992 03:10
20 lines
1349 bytes
I have the need to dump megabytes of bitmap image to some slow
dot matrix printers. I thought this might a neat idea: first
dump the image to a disk file, then pass the file name to
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 
otherwise useful program is thus seriously handicapped.

I wonder whether anyone has discovered anything undocumented that
might allow me to get PRINT.EXE to do what I wanted? 

On a similar note, can anyone recommend any PD print spooler
that can handle that much data? PD utility is probably the next
best thing in terms of user's ease of access.

  Ya-Gui Wei
Technical Details
Message-ID: <BtzFH9.G3J@usenet.ucs.indiana.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!bronze.ucs.indiana.edu!yawei

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!bronze.ucs.indiana.edu!yawei
From: yawei@bronze.ucs.indiana.edu (~{QG9p~})
Subject: PRINT.EXE a binary file?
Message-ID: <BtzFH9.G3J@usenet.ucs.indiana.edu>
Sender: news@usenet.ucs.indiana.edu (USENET News System)
Nntp-Posting-Host: bronze.ucs.indiana.edu
Organization: Indiana University
Date: Thu, 3 Sep 1992 03:10:21 GMT
Lines: 21