Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to a USB printer in XP - Follow up
Message
From
14/02/2007 14:55:43
Dragan Nedeljkovich
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:
01195775
Views:
18
>>If you dont want the user to change the .bat, use your .exe to do the job (provide some interface and recreate the .bat)
>
>Ah, I see now what you mean. Maybe a good idea. Trouble is, it still needs some knowledge by the user, in providing the network connexion and printer share name, eh?
>
>Hmmm, I must smoke on this.

Basically, roll your own. FPD2.6 has textmerge, so you can generate the .bat file for each WS - and you can have a table of printer assignments, i.e. which WS uses which printer. Just check for the .bat file (or do a !@net use lpt1>prn.txt and read what it says, and regenerate the .bat file if needed). Then just run the .bat file if WS doesn't seem to have assigned the proper printer to lpt1.

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