TC> BW-> At DOS I can use "Print filename" and it prints properly, so I
TC> BW-> know the file is on disk correctly. In QB, I thought I could
TC> BW-> OPEN "filename" FOR BINARY AS #1 OPEN "LPT1:BIN" FOR OUTPUT AS
#2
TC> BW-> but that just prints crap. I then tried
TC> Try the following -- it works pretty well for me:
TC> INPUT "Name of file to print: ", NA$
TC> INPUT "Number of copies: ", COPIES
Nope. I had already tried that. I did run it
just as you have here, telling it I wanted 1 copy. It
printed "COPY # 1" on the first piece of paper and a
nonsense line on the second. The file I want to print
does it correctly as DOS with PRINT filename.
Remember, this file may have all 256 CHR$ in it,
including the Null, CHR$(0). I thing that's where the
problem is, but opening it as a BINARY file should
help. It doesn't see to!
FIDO: Bill White @ 1:135/110 (Miami)
InterNet: bill.white@110.sunshine.com
* SLMR 2.1a * If you cannot measure output, then you measure input!
--- Maximus 2.01wb
---------------
* Origin: Miami Amateur Computer Club BBS/USR Courier V.E (1:135/110)
|