Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to a USB printer in XP - Follow up
Message
From
15/02/2007 15:47:30
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP
Miscellaneous
Thread ID:
01195473
Message ID:
01196269
Views:
11
>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

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform