Windows XP Community - XPHeads



Problem with printer port

microsoft.public.windowsxp.print.fax


Reply
  #1 (permalink)  
Old 05-21-2008, 04:48 PM
Nicola Righetti
 
Posts: n/a
Problem with printer port
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-22-2008, 05:29 PM
Alan Morris [MSFT]
 
Posts: n/a
Re: Problem with printer port
error 5 is access denied.

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

--
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.

"Nicola Righetti" <nicola.righetti@greensoft.net> wrote in message
news:%23roW2L2uIHA.4560@TK2MSFTNGP03.phx.gbl...
> 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
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-23-2008, 07:17 AM
Nicola Righetti
 
Posts: n/a
Re: Problem with printer port
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)


"Alan Morris [MSFT]" <alanmo@online.microsoft.com> wrote in message
news:OEJWjFDvIHA.552@TK2MSFTNGP06.phx.gbl...
> error 5 is access denied.
>
> Where are you writing temp files for the job? You still have a permission
> access issue.
>
> --
> 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.
>
> "Nicola Righetti" <nicola.righetti@greensoft.net> wrote in message
> news:%23roW2L2uIHA.4560@TK2MSFTNGP03.phx.gbl...
>> 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
>>

>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:14 PM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74