home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!psinntp!newstand.syr.edu!gumby!jtcox
- From: jtcox@syr.edu (Ted Cox)
- Subject: printing binary files, emx/gcc
- Message-ID: <1992Sep7.092236.20536@newstand.syr.edu>
- Keywords: printing, binary, emx/gcc
- Reply-To: jtcox@syr.edu
- Organization: Syracuse University
- Date: Mon, 7 Sep 92 09:22:36 EDT
- Lines: 19
-
- I want to send some binary files to my paintjet in an os2 window.
- Under DOS this is easy: copy /b datafile lpt1. In a DOS window under
- os2, or in an os2 window it doesn't work the same. I get (at least) an
- extra character to start with and a form feed at the end. I can live
- with extra form feed, but not the extra character, which prints a 0 and
- a CR. I have the latest paintjet driver from hobbes. I can drag the
- file to the paintjet icon (this doesn't print the extra character (but
- still causes a form feed), but I want to do this within a c program.
-
- Is is possible to send a stream of bytes, no more no less, to a printer
- attached to the first parallel port under os2? Can this be done with
- emx/gcc?
-
- Thanks,
- Ted Cox
-
-
-
-
-