Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send an txt file to printer.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00273413
Message ID:
00273432
Views:
12
>What if my printer is not LPT1 and its a network printer, what would be the best way to send a file to the default printer?

Few things can help you here:
Set('printer',2) return name of default printer
APRINTERS(myarray) returns 2-din\mensional array of printer names and their ports.
So, you get the array, scan it for the name of printer, get port and use COPY FILE.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform