home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: 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
-
-
- 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
-
-