General information
Category:
Coding, syntax & commands
>> Your right it's a good idea but it's meen that i need a table with a
>> memo
>> field only to print a ascii file.
>> And i dont need to play with the font because the ascii file was
>> command
>> code for printer
>
>My preferred method is to use something like this:
>
>! PRINTFIL &lcFileName
>
>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.
>The exit at the end is to ensure that Windows '95 closes the DOS box.
>
>It's ugly to watch, but it works better than anything else I've tried.
>
>/Paul
Does this work with com ports also? I need to send control code out the com ports. 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!
TIA
tc
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only