Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#317838 - 06/01/2009 18:55 Network printer setup question
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
I'd really appreciate some help here. Network printing has always annoyed me. Here's the situation:

I'm dealing with a computer lab. The users of this lab have logins and there's a print server that handles the active directory stuff. That server also tracks the number of pages printed by those users.

The computer lab has one printer, and that's the one all the students print to. My basic question is: how do I make this printer show up on the computers no matter who is logged on?

In my experience (and in this case), an installed network printer only shows up for the current user and no others, and I've never known a way around that. Is it possible?
_________________________
Matt

Top
#317840 - 06/01/2009 19:12 Re: Network printer setup question [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
That's funny, In my experience, I've found it to be just the opposite: When you install a printer in Windows, it's available to all users of that machine.

The opposite situation, the one you describe, doesn't seem like the logical way to design an operating system, for precisely the reason you state. I'm wondering if there's something about the way the lab is set up, something nonstandard, that's causing your problem?
_________________________
Tony Fabris

Top
#317841 - 06/01/2009 19:14 Re: Network printer setup question [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
I've found that physically connected printers show up for all users, but networked ones don't. That's been the case at the last couple places I worked at as well.
_________________________
Matt

Top
#317842 - 06/01/2009 19:18 Re: Network printer setup question [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Hm. It might be a permissions thing, where you specifically have to set it to "all users" after you install it.
_________________________
Tony Fabris

Top
#317843 - 06/01/2009 19:18 Re: Network printer setup question [Re: Dignan]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I'm assuming Windows.

You have to install it for the "Default User".

Here are instructions for XP.

Create a bogus user. Log in as that user. Create the printers for that user. Log out. Log in as an administrator. Change your folder options to show hidden files and folders and not to hide protected OS files. Bring up the "System" control panel. Select the Advanced tab and click the User Profiles settings button. Select the bogus user and click "Copy To". Under "Copy Profile To" enter or browse to "c:\Documents and Settings\Default User". Click OK and back out of the control panel. Reset the folder options if you want. You probably want to delete the bogus user and his profile (same control panel page to delete profiles).

Now users that don't already have a profile on the computer will get the Default User profile when they log in for the first time. Existing users can have their profiles deleted and recreated when they log in next. Or you can just fix them manually.

You can set other default stuff this way, too.

Pain in the ass, huh?
_________________________
Bitt Faulk

Top
#317844 - 06/01/2009 19:20 Re: Network printer setup question [Re: Dignan]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
In the old days, I'd map the printer in a login script. Not sure how that works in Active Directory. As you can see...I'm way behind the times on my server admin knowledge.
_________________________
~ John

Top
#317846 - 06/01/2009 19:22 Re: Network printer setup question [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
I thought about that "Default User" solution, and that, agreed, seems like way too much work. I'm seeing stuff on the web about running login scripts that call out to printui.dll, and that also seems like way too much work. There's gotta be a simpler way!

Is there a way to do it with group policy?
_________________________
Tony Fabris

Top
#317847 - 06/01/2009 19:24 Re: Network printer setup question [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Maybe. That's the only reliable way I found. (I've always had bad luck with policies, but, despite having to deal with it, I don't consider myself a Windows admin, either.)
_________________________
Bitt Faulk

Top
#317848 - 06/01/2009 19:28 Re: Network printer setup question [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
_________________________
Tony Fabris

Top
#317863 - 07/01/2009 03:08 Re: Network printer setup question [Re: wfaulk]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Originally Posted By: wfaulk
I'm assuming Windows.

You have to install it for the "Default User".

Here are instructions for XP.

Ugh. Thanks for that, and I think that's going to be the way I have to go about it. Unfortunately this has to be done for 12 machines, so it's going to take a while. But hey, they're paying me by the hour!

ps-yes, this is for Windows, and the lab is split between XP and Vista machines. Hopefully the process is similar, but I'd bet it isn't...


Edited by Dignan (07/01/2009 03:10)
_________________________
Matt

Top
#317888 - 07/01/2009 13:14 Re: Network printer setup question [Re: Dignan]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
If you've got a domain going, why aren't you mapping the printer with a login script? AFAIK that's the standard way to do it. It Works Just Fine here at work. I can find the login script for you if you'd like, but it's essentially "net use \\pathto\printer".

Top
#317894 - 07/01/2009 15:07 Re: Network printer setup question [Re: matthew_k]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Originally Posted By: matthew_k
If you've got a domain going, why aren't you mapping the printer with a login script? AFAIK that's the standard way to do it. It Works Just Fine here at work. I can find the login script for you if you'd like, but it's essentially "net use \\pathto\printer".


(I thought that's what one of those MSKB articles I linked above says to do, but now I see it's more complicated than that). I think it sucks that you'd have to do that at all, but whatever. By the way, I think that the NET USE command is only part of the equation, that allows you to use the printer but doesn't necessarily install the driver and set it to be the default printer. That's what the printUI.dll command is for. (if I'm understanding correctly.)
_________________________
Tony Fabris

Top
#317897 - 07/01/2009 16:43 Re: Network printer setup question [Re: matthew_k]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Originally Posted By: matthew_k
If you've got a domain going, why aren't you mapping the printer with a login script? AFAIK that's the standard way to do it. It Works Just Fine here at work. I can find the login script for you if you'd like, but it's essentially "net use \\pathto\printer".

That would be fine with me. I think it wasn't done that way because whoever set up this network only wanted that printer installed for users when they logged onto those specific computers. That would make sense, but they only use their logins to log into those computers anyway, so it won't make a lot of difference.

I'm not familiar with login scripts, though. I'd appreciate more information. And is Tony correct, will that script not actually install the printer driver?
_________________________
Matt

Top
#317898 - 07/01/2009 17:08 Re: Network printer setup question [Re: Dignan]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
The problem is that a login script is associated with a user, not a computer. Given that you're dealing with printers, it makes more sense to have them be specific to computers, since, I'm sure, you're interested in proximity.
_________________________
Bitt Faulk

Top
#317899 - 07/01/2009 17:20 Re: Network printer setup question [Re: wfaulk]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: wfaulk
The problem is that a login script is associated with a user, not a computer.


...as are printers, which is the original problem. Windows really needs a "Make this printer available to all users of this computer" checkbox. The problem with that is that the remote printer is secured by user credentials, not computer credentials, meaning that you could potentially have a default printer that you don't have permission to print to. Confusing.

There's probably a sensible solution. I wonder if anything in Windows 7 has changed this? I've not had a chance to play with it yet...
_________________________
-- roger

Top
#317900 - 07/01/2009 17:29 Re: Network printer setup question [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Quote:
I think it wasn't done that way because whoever set up this network only wanted that printer installed for users when they logged onto those specific computers.


Then, instead of a logon script, make it a batch file. Place the batch file in the following folder:

C:\documents and settings\All users\start menu\programs\startup

Then the batch file will run for every single user that logs onto that particular machine.
_________________________
Tony Fabris

Top
#317902 - 07/01/2009 17:44 Re: Network printer setup question [Re: tfabris]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
If you want a printer to appear for all users just install it as a local printer. Not ideal but it works. BTW Vista breaks login scripts that setup network printers, you have to use the Group Policy Network Printers object for Vista which means you have to upgrade your Domain Schema to support this.

Top
#317904 - 07/01/2009 18:03 Re: Network printer setup question [Re: Roger]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Well, printers are associated with user profiles, which is slightly different than being associated with a user. Since established users logging into a particular computer for the first time get that computer's default user profile, that's closer to being associated with a computer than a user.

Of course, this is ignoring roaming user profiles. I don't honestly know if that's still supported.
_________________________
Bitt Faulk

Top
#317907 - 08/01/2009 00:20 Re: Network printer setup question [Re: Dignan]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
Would this help any?

On all the machines at work, the admins have made sure there is a link to the "Find Printers" dialog in the start menu. From there, users are on their own in deciding which printer(s) to use. Literally dozens spread over several buildings.
_________________________
Glenn

Top
#317925 - 08/01/2009 22:46 Re: Network printer setup question [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Originally Posted By: tfabris
Quote:
I think it wasn't done that way because whoever set up this network only wanted that printer installed for users when they logged onto those specific computers.


Then, instead of a logon script, make it a batch file. Place the batch file in the following folder:

C:\documents and settings\All users\start menu\programs\startup

Then the batch file will run for every single user that logs onto that particular machine.

I'd be willing to try this too. It sounds like a good solution to me that allows me to choose which computers get the printer.

I don't really care what method I use, I'm just hoping for one that works. Reading back on this thread, I see a lot of good ideas, but is there a consensus on what would be the best way to accomplish it?
_________________________
Matt

Top
#317926 - 08/01/2009 22:48 Re: Network printer setup question [Re: gbeer]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Originally Posted By: gbeer
Would this help any?

On all the machines at work, the admins have made sure there is a link to the "Find Printers" dialog in the start menu. From there, users are on their own in deciding which printer(s) to use. Literally dozens spread over several buildings.

This isn't a very acceptable option to the people I'm doing the work for. At the moment there's instructions littered around the room on how to install the printer, and this would just be making that digital. They really want it so that the students don't have to think about it.
_________________________
Matt

Top
#317966 - 09/01/2009 15:43 Re: Network printer setup question [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Originally Posted By: wfaulk
I'm assuming Windows.

You have to install it for the "Default User".

Here are instructions for XP.

...

Pain in the ass, huh?

Originally Posted By: tfabris

Both these methods work (they're the same approach). I started on two computers with this method, and curiously when I did a test logon with one of the student accounts, I started getting script errors. This indicated to me that there actually was a script set up to install the printers.

So I found the script, and edited it to change it to the new printer name. It worked!!

But I have urgent help needed (I'm at the place right now and I need to fix this today). The script works on all the XP machines in this lab, but unfortunately it does not work on the newer Vista machines (I get the same script errors as before, claiming the printer doesn't exist). Research didn't come up with much, but I've concluded something: it has nothing to do with Vista and everything to do with when these newer, faster machines are running the scripts. The script fails at logon (before the desktop even shows), but if I run the same script once everything has loaded, the printer installs perfectly.

How do I fix this? Is there a way to delay the script?
_________________________
Matt

Top
#317969 - 09/01/2009 16:00 Re: Network printer setup question [Re: Dignan]
StigOE
addict

Registered: 27/10/2002
Posts: 568
Originally Posted By: Dignan
[How do I fix this? Is there a way to delay the script?

I found a site where it explains how you can get a script to sleep for X seconds. Is that something you can use?

Stig

Top
#317974 - 09/01/2009 17:22 Re: Network printer setup question [Re: StigOE]
larry818
old hand

Registered: 01/10/2002
Posts: 1039
Loc: Fullerton, Calif.
At my office we use printers connected by ip address, so no need to log into the other winders machines. What I dislike is that the XP and Vista machines will search other 'puters on the network and install any printers found on other machines automatically. So, each machine will have it's own connection to the tcp/ip printer, and connections to that same printer on every other computer also set up to use it. They also like to change the the default printer to use one of these other connections, and for some reason they seem to favor the ones on my 'puter. I haven't yet found a way to turn this annoying behaviour off...

Top
#318490 - 27/01/2009 13:50 Re: Network printer setup question [Re: larry818]
burdell1
old hand

Registered: 14/01/2002
Posts: 931
Loc: Minnetonka, MN
is there anyway to network a printer using my existing wireless router? (it doesn't have any USB ports, so I assume not)

Top
#318491 - 27/01/2009 14:20 Re: Network printer setup question [Re: burdell1]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Quote:
is there anyway to network a printer using my existing wireless router? (it doesn't have any USB ports, so I assume not)


And from that statement, I assume it's a USB-only printer and does not already have a network port? (Because if it did you would have already plugged it in, gotten it to work, and not be asking these questions.) Yes, you have options.

Here are your options, in the order of easiest/most succesful, to hardest/least successful.

1. Simply buy another printer with the networking feature or with the wireless networking feature built-in. I did that recently, and it was dirt-cheap. I got a "Brother" brand laser printer which has a 100 percent uptime, stays on the network, and goes into silent powersave sleep mode when it's not printing anything. I actually keep the printer in my recording studio, and it doesn't make a sound until I ask it to print something on the network. Super easy to set up, very cheap, works like a charm.

2. If your printer has an add-on option for networking, such as a card that plugs into the printer (many printers have this option), definitely buy that option. It might cost nearly as much as (1) above, but it will be easy to set up.

3. There are little boxes you can buy at office supply stores that have a USB port on one side and a LAN port on the other side. You can also buy full network hubs/routers that have an extra USB port for adding a printer. All these products are designed to solve the very problem that you're describing: They allow you to network a USB-only printer. However, I have used one before and it was TERRIBLE. It was one of the cheap brands like Netgear or D-link. I could get it working (after much fuss) and it would work for a while, but if the upstream network router got rebooted (after a power outage for example), the printer box would stop talking to the router and I would have to reboot it by hand. When the time came to actually print something across the network, i.e., when I needed it, it was never functioning.

Now, number (3) above might be the right solution for you (if they've improved the technology or if you happen to find a good one), I'm just warning you that there's a good chance you might have my negative experience if you try the same route.
_________________________
Tony Fabris

Top
#318493 - 27/01/2009 14:31 Re: Network printer setup question [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Or, if you're wanting to network the printer so that you can access it from multiple computers, just attach it to one, share the printer from that computer, and add it on the other. It's pretty straightforward.

That said, I've had good luck with Axis print servers in the past.
_________________________
Bitt Faulk

Top
#318494 - 27/01/2009 14:33 Re: Network printer setup question [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Those print servers are awful. Ugh. Also, we don't know what kind of printer he has. If it's a multi-funtion, there are much fewer print servers that will work with them.

I think option #1 is the way to go. Currently, my method of printer sharing is by plugging my standard USB laser printer into my Airport Extreme and putting Bonjour on all the Windows computers in the house. It doesn't work great, but hey, printers are annoying.
_________________________
Matt

Top
#318495 - 27/01/2009 14:59 Re: Network printer setup question [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Quote:
share the printer from that computer


*facepalm*

Of course. Yeah, that should have been option zero on my list above. I have tunnel vision because I don't like having a printer depend on a computer for its uptime, so I never use that solution if I can help it.
_________________________
Tony Fabris

Top
#318496 - 27/01/2009 15:00 Re: Network printer setup question [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Originally Posted By: wfaulk
That said, I've had good luck with Axis print servers in the past.


That's good to know. So none of the problems I was describing with the netgear/d-link boxes, then.
_________________________
Tony Fabris

Top
Page 1 of 2 1 2 >