Server 2003 printing problem--Event ID:6161

Posted on 2006-10-26
Last Modified: 2008-01-09
I have a file/print server that is exhibiting some strange printing behavior.
Server 2003 std SP1 patched.
The server has 25 or so printers setup, mostly HP's, a couple Sharp multi-functions,
a Dell and a Okidata.

I'll use the HP 9150 as the offending printer in my question.

The majority of them print just fine.  But a handful of them don't print.
The client doens't receive an error when the print job fails; it looks like it spools and prints just fine.

The event log however tell a different story.

Event ID: 6161

The document Microsoft Word - Personnel Policies 2006.doc owned by user failed to print on printer network printer. Data type: NT EMF 1.008. Size of the spool file in bytes: 32240. Number of bytes printed: 0. Total number of pages in the document: 1. Number of pages printed: 0. Client machine: \\X.X.X.X. Win32 error code returned by the print processor: 0. The operation completed successfully.

I have an open call with MS about this problem, and have tried so many things I can't remember them all.  With no luck.

Here is where it gets interesting.  
These same printers are setup on another server and print just fine.
When I add the user to the local admin group on the server, they can print.  Take them back out, no luck.
When I change the print drivers on the server from HP 9150 PCL6 (not inbox) to an inbox Laserjet 4,
the printer spits out a blank page.  So at this point SOMEthing is getting spooled.
Printing to the IP address works fine.

Things I've tried:

Every iteration of print drivers I could get my hands on.  MS wants me to use the inbox drivers.  I've tried almost all of them.  Can't get any more generic than the Laserjet 4.  That thing will print to anything.

Full control on C:\WINDOWS\system32\spool\PRINTERS on the server.

Changed the print processor from hpzppXXX to WinPrint, RAW data type.

Disabled bidirectional support.

I'm stumped folks.  And apparently MS is too.  This has been an ongoing issue for more than a few weeks.
So, any suggestions are welcome.  
Question by:trarthur
LVL 13

Accepted Solution

haim96 earned 500 total points
ID: 17815503

Expert Comment

ID: 17822080
To return the description of any error message in W2K go to a Command prompt and type: NET HELPMSG message# (e.g. "net helpmsg 63" returns "Your file waiting to be printed was deleted.").

I typed in the errors that you received, and voila:

 (0x5) Access is denied.

be back in a sec with more

Gopal Krishna K

Author Comment

ID: 17822180

I tried everything that is applicable to my environment.

I don't have any xerox printers.

The HP port issue doesn't apply.

Already granted Full Control to the Spool directory.

I've installed every driver that ships with Server 2003.

cleanspl.exe looks like it will wipe out all the printers on the server.  Some of them work just fine and are used

Author Comment

ID: 17822429

I know it's a rights issue, I just don't know where.
and from a cmd prompt on the server when I type net helpmsg 6161, I get:
The system cannot find message text for message number 0x1811 in the message file for NETMSG.

How were you able to return 0x5?
LVL 13

Expert Comment

ID: 17822463
some times users need permission on registry keys.
(but it mostly for local connected device.... )
can you check if the driver have one and try to change the permission for it?
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.


Author Comment

ID: 17822619

Look on the server or the client?  I'm thinking the server, but want to confirm.
LVL 13

Expert Comment

ID: 17822641
try to look for any keys that relevent to the driver.
again, this issue is common problem for device on local machine not server.
but in your case it's worth to try.

Author Comment

ID: 17822776
OK, I'll take a look.  Thanks!

Author Comment

ID: 17959567
The solution turned out to be running the cleanspl.exe tool from MS.  I had already read the tips, and haim96 suggested it also.
Don't know if I'm closing this question exactly right, but haim96 had made the suggestion and had I tried it a while back, I'd already have it solved. ;)

There is another tool called printmig.exe that will backup all of the printers on a server to a .cab file.  If you have a need to clean the print spooler or migrate many printers from one server to another, this tool will do the trick nice and quick.

Thanks everyone!
LVL 13

Expert Comment

ID: 17959594


Expert Comment

ID: 22874831
Hi the solution requires you to subscribe to the event id site, please can you advise of the solution.


Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now