Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Raw output to multiple printers
Message
De
13/07/1999 15:20:22
 
 
À
13/07/1999 14:24:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00240890
Message ID:
00240948
Vues:
20
>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
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform