
Copy file to NT print server
Hi Bill,
Quote:
> I am attempting to copy print files to an NT network printer with the
> Clipper copy file to ... command using the syntax copy file (prnfile) to
> (net_device). The Clipper documentation indicates that copy file can be
> used to copy to a network device but when I attempt that in my code I
> get Error base 2012 Create error: net_device (DOS Error 87).
I have been fighting with this for a long time, now I am using
SWPRUNCMD() from Blinker with the attached code.
The variable aNtServer is an array that contains the name of the
file and the UNC-name of the printer.
The function works on both win95/98 and NT workstation.
HTH
Thomas Braun