CCIE #7742 Techblog

March 30, 2006

Connecting to the nearest printer.

Filed under: Old — John McManus @ 12:28 am

Have you ever wanted to have users automatically connect to the printer nearest the workstation they are logging into. We here is how it is done.

  • Create a printer queue(daqueue) on printserver (pserver)
  • Create a global group prt_daqueue_pserver
  • Add the workstation accounts which are closest to the printer (daqueue).
  • Now use the following sub in a users start-up script and hey presto the printer is mapped.

 

The Code

connprinters

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.