Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CopyFile
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
CopyFile
Miscellaneous
Thread ID:
00318954
Message ID:
00318954
Views:
48
I was wondering if anyone has had any success using the CopyFile Win32Api call to print to a Novell network printer. It works for me to print to PRN (my default printer), and it works when I copy a file to the file server, but when I specify \\FileServerName\PrinterName, it does not work. Any ideas? An example:

DECLARE INTEGER CopyFile IN KERNEL32.DLL ;
STRING @SourceFileName, ;
STRING @DestFileName, ;
INTEGER bFailIfExists
=CopyFile("c:\autoexec.bat","\\fs1\QMIS",0)
Next
Reply
Map
View

Click here to load this message in the networking platform