home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!connor.Berkeley.EDU!stanton
- From: stanton@haas.berkeley.edu (Richard Stanton)
- Newsgroups: comp.os.os2.misc
- Subject: Re: printing binary files, emx/gcc
- Date: 8 Sep 1992 18:35:25 GMT
- Organization: Haas School of Business, U.C. Berkeley
- Lines: 14
- Message-ID: <stanton.487.0@haas.berkeley.edu>
- References: <1992Sep7.092236.20536@newstand.syr.edu>
- NNTP-Posting-Host: connor.berkeley.edu
- Keywords: printing, binary, emx/gcc
-
- In article <1992Sep7.092236.20536@newstand.syr.edu> jtcox@syr.edu (Ted Cox) writes:
- >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
-
- Define a printer object using IBMNULL attached to LPT1. I have the same
- trouble as you with dumping directly at LPT1, and IBMNULL allows you to do
- that. Of course, you then lose the ability to have printer specific output.
- So my idea was to define another printer object attached to another port,
- redirected to LPT1, then define that as the default printer. However, I
- could never get anything to come out of the printer. So instead tell your
- printer specific object to print to a file, which seems to work.
-
- Richard Stanton
-