home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9231 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  2.0 KB

  1. Path: sparky!uunet!bonnie.concordia.ca!hobbit.ireq.hydro.qc.ca!beaurega
  2. From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: PRINT.EXE a binary file?
  5. Message-ID: <BuDAzF.3oL@ireq.hydro.qc.ca>
  6. Date: 10 Sep 92 14:59:39 GMT
  7. References: <BtzFH9.G3J@usenet.ucs.indiana.edu> <1992Sep5.001106.24945@newstand.syr.edu>
  8. Sender: news@ireq.hydro.qc.ca (Netnews Admin)
  9. Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada
  10. Lines: 37
  11.  
  12. In article <1992Sep5.001106.24945@newstand.syr.edu> amichiel@rodan.acs.syr.edu (Allen J Michielsen) writes:
  13. >
  14. >In@usenet.ucs.indiana.edu> yawei@bronze.ucs.indiana.edu (~{QG9p~}) writes:
  15. >>...
  16. >>PRINT.EXE via the DOS multiplex interrupt calls so that it can
  17. >>be printed in the background. Everything worked perfectly 
  18. >>until some bytes with values 0x0D or 0x1B sneaked into the files.
  19. >
  20. >>It turned out that PRINT.EXE was only equiped to handle non-binary
  21. >>files! (This was confirmed after checking the manuals.) An 
  22. >
  23. >I didn't see it my manuals either, but many dos level programs intended
  24. >for text files, have a hidden (or poorly documented) /b switch for
  25. >use with binary files.  Try print /b file.ext
  26. >
  27. >al
  28. >--
  29. >Al. Michielsen, Crouse Hinds School of Management, Syracuse University
  30. > InterNet: amichiel@mailbox.syr.edu  amichiel@sunrise.acs.syr.edu
  31. > Bitnet: AMICHIEL@SUNRISE 
  32.  
  33. My problem consisted in printing output of Word for Windows in a remote
  34. printer (a HPLJ 3).  This is a binary file.
  35. Print will expand tabs and other annoying and not wanted conversions.
  36.  
  37. My solution:
  38. copy /b a:myfile lpt1:
  39.  
  40. I know this is not a spooler, but I was using the other PC and nobody
  41. was on it, so that spooler was ne necessary.
  42. And this works!
  43.  
  44. -- 
  45.   \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
  46.  /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
  47. J   __>  Un Quebec renouvele dans une Amerique renovee
  48. \_.-===                                                  Opinions ? Et pis non !
  49.