Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I set the default printer in 2.6?
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Windows
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051053
Message ID:
01051333
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform