Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing on WIn 98.
Message
De
02/04/2001 04:24:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Printing on WIn 98.
Divers
Thread ID:
00490848
Message ID:
00490848
Vues:
56
I have a problem printing on windows 98.

I built 2 programs when I print from the main app a second program is started to do the printing. So it is sort of in the background.
The background program gets the printer name in a dbf file.

I.E.
-Main App...
replace jobprinter with getprinter()

-Back ground app
cPrinter="'"+alltrim(Job.printer)+"'"
set printer to &cPrinter
REPORT FORM.........

In the main app when I preview and print it works fine.
But in the background app on windows 98 it sometimes does not send anything to the printer. I see the Printing.. window but no job comes out?!

I noticed one thing is that the
APRINTERS(aPrintArray) command returns different values for network printers on
windows 98.

i.e.
win 2000
aPrintArray[1,1] is "\\RUNTIME-MAIN\Lexmark 1855"
aPrintArray[1,2] is "192.168.1.2\LEXMARK02"

win 98
aPrintArray[1,1] is "Lexmark 1855"
aPrintArray[1,2] is "\\RUNTIME-MAIN\Lexmark 1855"

I use the aPrintArray[1,1] as the name I send to the program.
I tried to check for win98 version and then use the port instead but It didn't work.

Has anyone seen this before?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform