Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to a USB printer in XP - Follow up
Message
From
16/02/2007 06:28:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP
Miscellaneous
Thread ID:
01195473
Message ID:
01196438
Views:
9
>>>I've looked at the old code and found it's simply printing the report (at the end of a dump) line by line (using ? and ??) but with devi set to prin. It's been decided that this task would most easily be tackled by Set devi to file, letting the user know where we're putting it. Then they can print off or not the file, at their leisure, say from Windows, and we don't need to worry about USB printer or network.
>>
>>IIRC, Set Device is for the output of @say commands. For printing into a file you need to
>>
>>
set printer to myfile.txt
>>set printer on
>>*-- bunch of ? and ?? statements here
>>set printer off
>>set printer to
>>
>
>OK, maybe so. Thanks.

For ?, ?? as I remember "set alternate".
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform