General information
Category:
Coding, syntax & commands
Works fine....
Again, it works fine in VFP as well except that I get the error that the file cannot be created.....I've tried prn, lpt1, lpt1: ... I've tried with and without quotes.
but it works fine from DOS
Weird, huh?
>What happens when you go to DOS and issue
>COPY file.txt lpt1
>?
>
>
>
>>Thanks for the response Joseph,
>>
>>That didn't seem to work either....I tried it with the quotes and without the quotes. I still get the error that the file cannot be created.
>>
>>If you have any other ideas I'd love to hear them
>>
>>Paul
>>
>>>Try
>>>
>>>copy file file.txt to lpt1:
>>>
>>>Notice the colon.
>>>
>>>Joe
>>>
>>>
>>>>I have a utility that creates a text file and then copies this file to the parallel port by issuing the command "copy file 'file.txt' to 'lpt1'". This works fine because the barcode printer receives the file and prints the label properly. However, I get an error message that states the file cannot be created. I assume this error is because VFP cannot create a file called "lpt1"?
>>>>
>>>>Is there a better way to handle this scenario?
>>>>
>>>>Thanks,
>>>>Paul
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