Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows NT, FPW 2.6, and by-passing windows print system.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Windows NT, FPW 2.6, and by-passing windows print system.
Divers
Thread ID:
00174433
Message ID:
00174433
Vues:
69
I am running into a problem with a distributed accounting application we have written when I run it on NT. In a few places in our code, we send things directly to a printer without using the windows print system. The code is fairly old, and works well under 3.1, 95, 98, but crashes on NT. Here is the code involved:

SET RESOURCE ON
SET RESOURCE TO \BPA\FOXUSER
SET PDSETUP TO "Generic"
SET CONSOLE ON && View report while it prints
SET PRINT ON
SET PRINT TO C:\LPT1


When the code reaches the SET PRINT TO C:\LPT1 line, Windows NT gives me a resource error and closes the application. If we don't use the PDSETUP, the code doesn't seem to actually get anything out to the printer, even using ???. Does anyone have a suggestion or solution?

Thanks,
Paul R. Moon

PS. I tried searching the UT, but the search engine won't accept 'NT' because it is too few characters and I couldn't get the search narrowed without it.
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform