Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I set the default printer in 2.6?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Versions des environnements
Visual FoxPro:
FoxPro Windows
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01051053
Message ID:
01051333
Vues:
15
>It's urgernt...
>I need to know how I set the default printer in 2.6
>
>thank you!!

Hi Richard... this one works for me..
nwtot_imp = APRINTERS(awimpress)
nwimp     = 0
for ipp = 1 to nwtot_imp
    if  "MY SPECIFIC PRINTER"$upper(awimpress[ipp,1])
        nwimp = ipp
        exit
    endif
endfor
if  nwimp > 0
    SET PRINTER TO NAME awimpress[ipp,1]
endif
hth

claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform