home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9096 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!mcsun!sunic!psinntp!psinntp!newstand.syr.edu!rodan.acs.syr.edu!amichiel
  3. From: amichiel@rodan.acs.syr.edu (Allen J Michielsen)
  4. Subject: Re: PRINT.EXE a binary file?
  5. Message-ID: <1992Sep5.001106.24945@newstand.syr.edu>
  6. References: <BtzFH9.G3J@usenet.ucs.indiana.edu>
  7. Date: Sat, 5 Sep 92 00:11:05 EDT
  8. Lines: 19
  9.  
  10.  
  11. In@usenet.ucs.indiana.edu> yawei@bronze.ucs.indiana.edu (~{QG9p~}) writes:
  12. >...
  13. >PRINT.EXE via the DOS multiplex interrupt calls so that it can
  14. >be printed in the background. Everything worked perfectly 
  15. >until some bytes with values 0x0D or 0x1B sneaked into the files.
  16.  
  17. >It turned out that PRINT.EXE was only equiped to handle non-binary
  18. >files! (This was confirmed after checking the manuals.) An 
  19.  
  20. I didn't see it my manuals either, but many dos level programs intended
  21. for text files, have a hidden (or poorly documented) /b switch for
  22. use with binary files.  Try print /b file.ext
  23.  
  24. al
  25. --
  26. Al. Michielsen, Crouse Hinds School of Management, Syracuse University
  27.  InterNet: amichiel@mailbox.syr.edu  amichiel@sunrise.acs.syr.edu
  28.  Bitnet: AMICHIEL@SUNRISE 
  29.