Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print ascii file ???
Message
From
27/09/1997 01:30:48
 
 
To
25/09/1997 09:27:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00041223
Message ID:
00051941
Views:
34
>>where PRINTFIL.BAT contains: >> >>@echo off >>copy /b %1 lpt1 >>erase %1 >>exit >> >>This copies the file, in binary mode (bypassing any Chr(26)s that it >>sees) to the LPT1 port. You can substitute any valid port for this. > >Does this work with com ports also? I need to send control code out >the >com ports. I haven't tried it with serial ports, but I can't see why it wouldn't work. I've copied other things to plotters (which always seem to be attached serially), and they've worked without a hitch. >Also, is there a way to run the dos in the background >without >the big black ugly screen showing up? I tried setting the props in >the >foxrun.pif to a minimized window, but no luck! I've also found no way to completely remove this from the screen. However, by using WinExec() instead of !, the time is minimized as much as possible. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform