Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy file directly to remote printer (copy to TCP/IP add
Message
De
25/06/2000 19:42:13
 
 
À
24/06/2000 02:21:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00383774
Message ID:
00384466
Vues:
31
>>>>I have an app for a client that produces checks. The client wants to be able to send the raw print file (HP ascii codes) directly to any printer basd upon a TCP/IP address. Does anyone know of a way copy copying a file directly to a TCP/IP address.
>>>
>>>Try the CopyFile() API - create output to a file and then use CopyFile() to route the file to an UNC derived from the IP address. Alternatively, map the IP address to a virtual port and route the output to the port via the ??? command.
>>
>>The CopyFile() API works fine with printers on network where we know the UNC. The client wants to print to a remote printer where the only access maybe a TCP/IP address. We went away from ??? to produce the output because it caused major problems in a WAN environment.
>
>You might want to download the Internet Print option for your version of Windows - does a fine job from Win98 where I've used it in the past. It's on the Windowss Update site.

Thanx, I'll take a look. I hope they have one for Win95
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform