Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Get Default Printer on NT4

by jryan (Vicar)
on Aug 28, 2001 at 19:00 UTC ( #108462=note: print w/replies, xml ) Need Help??


in reply to Get Default Printer on NT4

Do you know if this will work with NT5 (Win 2000)? This script would be the greatest if it did! :)

Replies are listed 'Best First'.
Re: Re: Get Default Printer on NT4
by mrmick (Curate) on Aug 28, 2001 at 19:28 UTC
    It probably won't on WIN2000 because the registries are different but I will take a look tomorrow to see which is correct (I will have access to a couple of these then).
    I will let you know what I come up with.

    Mick
      I am simply a newbie when it comes to perl. But I am running Windows 2000 Pro. and the script worked for me. Here is my output: Here's the default printer for this user: hp deskjet 842c series,winspool,LPT1:
Re: Re: Get Default Printer on NT4
by Anonymous Monk on May 24, 2002 at 14:23 UTC
    It worked on Window 2000 SP2.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://108462]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2021-12-07 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?