Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Raw output to multiple printers
Message
From
13/07/1999 17:37:29
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00240890
Message ID:
00241043
Views:
23
>>Referring other threads, we have been able to simply create a text file (using STRTOFILE() or equivalent) and then COPY FILE xxxxx TO PRN. That works fine, but only works for the Windows default printer. In the new VFP program, we need to unattended send this output to any of several known printers, for which a printer icon/device will be set up on the workstation where this process runs. We have NetLib, and use it in the FP-DOS program successfully, but haven't been able to get it to work as desired for this purpose in VFP/Win-95/NW-4.x. There may be issues of different NW 'contexts' that muddy the picture even further. Also, we have had enough problems with the VFP version of NL that a pure VFP solution would be preferred, but at this point any solution is welcome. If we had more time, perhaps an Word/OLE automation approach would be feasible, but none of us here is fully conversant with doing it yet...
>>
>
>Take a look at my FAQ entry on using the Win32API CopyFile() function to copy a file in binary form to a port or network device; it works for me, but someone reported that it didn't work reliably for them with a NetWare 4.x environment. I have tested it under NetWare through 3.20 using the MS Client for NetWare and with every conceivable setup under MSNetworking, and it functions fine for me. YMMV.
>
>>Any suggestions? Deadlines loom, and the extent of the brickwall has taken us a little by surprise...
>>
>>TIA
>>
>>Rob

Missed that one. Thanx, I will try it.

Rob
Previous
Reply
Map
View

Click here to load this message in the networking platform