Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Printing and Faxing / May 2008

Tip: Looking for answers? Try searching our database.

Problem with printer port

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nicola Righetti - 21 May 2008 17:48 GMT
HI i've developed a simple printer driver that doesn't communicate with a
physical printer but instead creates a PDF or TIF file for every page.

Now i've written an application to automate printer installation
The app does this:
- copy driver files
- install new driver
- creates a new local port
- creates a new printer

and vverything workf fine(the install is run as administrator).
The problem is that when i try to use the printer with a non-admin user it
doesn't and i get this message in the event viewer

Event Type: Error
Event Source: Print
Event Category: None
Event ID: 6161
Date:  21/5/2008
Time:  6:31:33 PM
User:  NICOLAXP\Roberto
Computer: NICOLAXP
Description:
The document Test Page owned by Roberto failed to print on printer
EasyPrinter. Data type: NT EMF 1.008. Size of the spool file in bytes:
74996. Number of bytes printed: 0. Total number of pages in the document: 1.
Number of pages printed: 0. Client machine: \\NICOLAXP. Win32 error code
returned by the print processor: 5 (0x5).
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

The problem is the same if a manully install the driver and manully create
the local port.
Setting the printer non to spool will not resolve the problem, i've also
added full control to everyone to the c:\windows\system32 folder.

PLEASE HELP
Regards
Nicola
Alan Morris [MSFT] - 22 May 2008 18:29 GMT
error 5 is access denied.

Where are you writing temp files for the job?  You still have a permission
access issue.

Signature

Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1

This posting is provided "AS IS" with no warranties, and confers no rights.

> HI i've developed a simple printer driver that doesn't communicate with a
> physical printer but instead creates a PDF or TIF file for every page.
[quoted text clipped - 35 lines]
> Regards
> Nicola
Nicola Righetti - 23 May 2008 08:17 GMT
i thought so but if i pause the printer and print to it i can see temp files
are correctly created in c:\windows\system32\spool\printers (i've set
everyone access to this folder)

> error 5 is access denied.
>
[quoted text clipped - 40 lines]
>> Regards
>> Nicola
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.