Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run command type and adress IP.
Message
From
12/05/2004 21:46:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/05/2004 13:44:48
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00903279
Message ID:
00903455
Views:
13
lpt1 would be for a local printer.

You can use SET PRINTER NAME to select a printer. GETPRINTER() will show the user a dialog, and return a valid printer name.

Then, you might send a text file to the printer, with "???". TYPE might also work, but I didn't test it.

>Hi all !!
>
>I have some situations in my project that i use the command: Type arq1.txt > lpt1, in way that will be
>printed in my printer lpt1. Ok, no problem.
>
>But, if my printer is remote (using adress IP and not net way), i don't obtain to print.
>Using the function 'APRINTERS' i obtain to capture the 'where' of the printer. The problem is that
>no always in 'where' become the adress ip, sometime it comes a name as "TS004" or another one any.
>It is good also for remembering that this enderço IP is dynamic.
>
>The interesting one is that in this exactly scene if I to execute command 'report form to printer' the report
>obtains to decide this name ("TS004") e the impression leaves.
>I believe who the FOX together with the Operational system must catch address IP and port associated with the
>name "TS004".
>
>How I could make with that 'type' functioned in the same way that 'report form' , or either,
>it obtained to redirect the saida one of it for the remote printer? This problem only happens when i use
>remote printer configures with address IP.
>
>Thanks.
>
>Lázaro Santos.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform