Solved

Printer Sharing Problem

Posted on 2004-08-18
10
163 Views
Last Modified: 2010-03-18
I've recently changed the way our printers are managed, so that now all print jobs go through a server using a standard tcp/ip port, rather than a tcp/ip port on each computer.

The problem now is that in order to make use of the shared printer, the printer must be installed, as a shared resource throught active directory, through every user's account on every computer. I mean, if I set the printers up myself, it seems that I have to log on to every account, on every computer. For 20 accounts and 10 machines, for example, this means 12 x 20 = 200 jobs to do. There must be an easier way?
0
Comment
Question by:Jason210
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
10 Comments
 
LVL 18

Expert Comment

by:crissand
ID: 11829752
You can try to make a logon script using

net use lpt1: \\computername\printername

and assign it to all users.

or you can use kixstart to create even more sophisticated and reliable scripts. Kixstart is on www.kixstart.org, as I remember.

The syntax is something like

AddPrinterConnection ("\\Servername\printername")

You can use kixstart for more tasks that just assigning printers, so you better start with it.
0
 
LVL 20

Expert Comment

by:Debsyl99
ID: 11829755
Hi

I've happily used the vbs script described in this PAQ, assigned as a logon script

http:Q_20966158.html

Deb :))
0
 
LVL 11

Author Comment

by:Jason210
ID: 11830502
Deb, I can't use GPO because ít doesn't work properly on our system. The DNS server is done by another machine outside my control. This is an endless source of suffering for me. Active Directory and DNS are integrated together, so since my server doesn't do DNS...I can't properly implement group policy. A real pain.

Crissand, are you sure that LPT1....LPT1 will work? It's name implies that it use the LPT port, which is used for another printer. The printer in question has it's own TCP/IP port. Or is this LPT1 just a name?

Thanks for the help all.
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
LVL 11

Author Comment

by:Jason210
ID: 11830554
Also, what would be the printername in DOS? Where can I find that info?
0
 
LVL 20

Expert Comment

by:Debsyl99
ID: 11830597
Hi
So what are you thinking is a way to get these changes out to your users? (I'll bet it's an endless source of suffering!)
Can you use netlogon?
For printer names Typing "net view" at a command prompt should do it I think,

Deb :))

0
 
LVL 11

Author Comment

by:Jason210
ID: 11830770
Hi,

I run log on scripts from NETLOGON, yes. These map drives and send out messages etc. If I could map the printer in the same way, then that would be great!

Net View \\computer name showed me the printer share names. I'm just not sure what this "LPT1" command does.

Anyway, I added this line to the batch file script, as suggested by crissand, but I couldn't seem to get it to work:

net use LPT1: \\server1\Brother2\ /persistent:yes

Brother2 is the sharename of the printer in question, but it's connected to TCP/IP port via a jet direct print server, not to the LPT1 port.
0
 
LVL 20

Accepted Solution

by:
Debsyl99 earned 350 total points
ID: 11830898
Hi

Here's an idea - copy the setprint.vbs file to netlogon and insert the following line into your bathfile and test:

cscript //nologo \\yourdcname\netlogon\setprint.vbs


Deb :))
0
 
LVL 18

Expert Comment

by:crissand
ID: 11831219
The net use command connect the local port lpt1 or2 or 3, to a network spool. It must be done on each workstation, that's why I recommended a login script. If the workstation has another printer on lpt1, you can connect lpt2. But that's not the best solution, since you're not interested in printing from DOS. The vbs script solution suggested by  Debsyl99 is much better. But without a logon script it must be copied on each computer in \Documents and Settings\All Users\Start Menu\Programs\Startup.
0
 
LVL 20

Expert Comment

by:Debsyl99
ID: 11831560
Just tested it via netlogon script and it does work for me anyway, although it's better to put it into a batch file rather than a bathfile,

Deb :))
0
 
LVL 11

Author Comment

by:Jason210
ID: 11842095
Thanks. Works great.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question