Quantcast
Channel: Print/Fax forum
Viewing all 1589 articles
Browse latest View live

Printing under the system account - Windows Server 2012

$
0
0

Hello,

I am attempting to run an application under a windows service that prints a document using the system account. To do this I follow the following steps using C# and the win32 API.

  • WTSGetActiveConsoleSessionID - to get the current console session to run the print application in.
  • CreateToolhelp32Snapshot - to find the winlogon porccess
  • OpenProcess - to open the winlogon process
  • OpenProcessToken, LookupPrivilegeValue and DuplicateTokenEx to create a duplicate of the winlong user token.
  • SetTokenInformation - to set the session to 1
  • AdjustTokenPrivileges
  • CreateEnvironmentBlock
  • CreateProcessAsUser - to start the print

So far I have tested this process on  Windows 2003, 2008, and 7 and it works fine, on 2012 though it will not print. In the task manager I can see activity in spoolsv.exe as it process the print and splwow46.exe starts. There are no errors.

I have also made the following registry changes to set up a default printer. http://support.microsoft.com/kb/184291 (and for HKEY_USERS\S-1-5-18\Software\Microsoft\Windows NT\CurrentVersion)

Does anyone have an insight into printing from a session account? I have used PsExec.exe to run the print process under the system account as well and see the same behavior and no printed output. The same print application works on the 2012 machine when run by me.


I don't want users to see remote desktop server local printers

$
0
0

I have wind server 8 rd2, in the server i have 5 printers but when i use the remote desktop i don't want to see this 5 printers, I just want to see my local printer.

help!!!

anonymous printing issue

$
0
0
I have setup an anonymous print server on a stand-alone Windows 2008R2. Everything seems to be working as expected. We also have some domain PCs that would like to print to this anonymous print server. If the user logon to the domain, they can access the printer anonymously, however, they are prompted for username\password when they logon to the PC locally (the PC is part of the domain) and access the printer. I suspect this has something to do with the point and print policy from the domain. But I can be for sure. Does anyone encounter this problem before? What might be a potential fix for this? Thanks.

install fax server failed with error code 0x80004005

$
0
0

Hi all,

I try to install fax server role on server 2008 r2 but it failed with

Roles: Fax Server Error: Attempt to configure Fax Server failed with error code 0x80004005. Error HRESULT E_FAIL has been returned from a call to a COM component.

I removed/added role but still same error. Any idea how I can fix this?

TIA

Printer Pooling: Show which port document sent to

$
0
0

Many years ago, I was in a school where we had two printers pooled in our lab.  When we printed, the bubble would tell us which of the two printers our documents went to.  Does this option still exist in Windows 2008/R2?

Thanks in advance for your assistance.

Could not get device information Canon IR3225n

$
0
0

Hi There,

I have a seriuos and funny issue, with our Canon printers.

We have Canon IR ADV 3225n and Canon IR ADV C2020i. Few weeks ago, we started to use MS Windows server 2008, and shared printers from the servers.

The Bussines requirement is to use Department and PIN code printing on the printers, and my issue has started here.

On each workstations/laptops this features is not working with the following error message: Could not get device information.

But, on the server it is working without any problems, and when I install them via IP address also working and nobody knows why.

Everybody has Admin rights on their devices, I've tried with the latest driver x86 and X64 without success.

Do you have any experience about it?

Thanks in advance.

Gaben

Delete Printer Connections using PrintUI gives error Unable to delete the per machine printer connection. Operation could not be completed (error 0x0000071a)

$
0
0

I'm attempting to use the PrintUI DLL (printui.exe) to add and delete per-machine printer connections shared by a domain member print server to/from domain client computers. But I randomly (25% of the time) get the error "Unable to delete the per machine printer connection. Operation could not be completed (error 0x0000071a)."  Code 0x0000071a may mean "The remote procedure call was cancelled" (RPC_S_CALL_CANCELLED). However it means nothing to me and I do not understand why the RPC would fail on some attempts, but work on subsequent attempts.

  • Print server is Windows 2008 R2 SP1 with the latest recommended hotfixes.
  • Clients are Windows XP SP3 or Windows 7 SP2 with the latest recommended hotfixes.

Seemingly very inexplicably and randomly our support stafff get these errors when they run the script to add or remove printers. It does not matter which printer server or printer share (I have multiple print servers and printers).

I am adding and deleting the connections in a command script using these commands:

   Add:  RUNDLL32 PRINTUI.DLL PrintUIEntry /ga /c\\%1 /n%2 /Gw >> %3

   Delete:  RUNDLL32 PRINTUI.DLL PrintUIEntry /gd /c\\%1 /n%2 /Gw >> %3

I have tried adding print spooler restarts before or after the PRINTUI commands, but this does not seem to help. In fact, if I add the spooler restart it seems like I increase the failure rate on Windows 7 clients and decrease the failure rate on Windows XP clients.

I have even tried to circumvent the problem by deliberately attempting to add or delete an invalidly named printer share ("\\DoesNotExist\IgnoreError") but this throws a pop-up error message which must be clicked "OK" to bypass. That error message is "Unable to add the per machine printer connection. The local print spooler service is not running. Please restart the spooler or restart the machine." Which is an incorrect error and has nothing to do with an incorrectly named print server share in the add or delete commands of PRINTUI.

Windows Server 2008 SP2: can't enable Printer sharing

$
0
0
Hi,

I'm trying to enable the PrinteSharing option in Sharing and Discovery on my Windows server 2008.
When I click on Turn on Printer sharing, nothing happens and it stays off.
 
The only printer listed on this server is a network one.
There's no printer physically connected to my server.

The only error message I get (in the System log) is: The printer spooler failed to share printer LX69 with shared resource name LX69_test. Error 1740. The printer cannot be used by others on the network.

Thanks.
Eric

Print Driver being modifyied

$
0
0

We are having problems very similar to the issues described in

http://social.technet.microsoft.com/Forums/en-US/winserverprint/thread/e2acb625-027d-47a9-b4a7-1616e270bcbc

Every day we are having 8-15 users calling saying they are unable to print. The local Spoolsv.exe service is changing the registry key entry for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-3\HP Universal Printing PS (v5.2) or for what ever their default printer is. We have tried with a different version of the driver and it will happen with our Xerox as well if that is their default. The problem itself is easy enough to fix by deleting the corrupt key, reinstalling the default printer and restarting the print spooler so they can print again. The problem is that it may happen again to them the next day, or it may be a month later. The specific entries being modified are string values forDependant Files, Help File and Monitor.

The errors in event log show:

The document Untitled - Notepad, owned by USERNAME, failed to print on printer {GUID}. Try to print the document again, or restart the print spooler.
Data type: NT EMF 1.008. Size of the spool file in bytes: 5332. Number of bytes printed: 0. Total number of pages in the document: 1. Number of pages printed: 0. Client computer: \\COMPUTERNAME. Win32 error code returned by the print processor: 5. Access is denied.

We are printing to a Win2008 R2 Server, We have Printer Driver Isolation Set on All machines for all drivers as well on the Print Server. KB2467753 has been applied to all the machines as well as our print server.

http://social.technet.microsoft.com/Forums/en-US/winserverprint/thread/19bb64cc-249e-4f36-a02d-2b43703d5a0d

Suggests that we turn off CSR (Client-Side Rendering) for all of our printers. This simply by passes the problem that the local drivers are being corrupted, it will tax our print server much more and will take longer to print. We need to find out WHY this registry key is being modified in the first place by the spoolsv.exe process and not try to bypass local rendering.

As a weird side note even with this driver corruption you are still able to print from adobe reader, they must be using their own driver files.


Print document's name in Event Log ID #307 on Server 2012

$
0
0

Creating a new printer server using Windows Server 2012.  Everything is working out fine so far, however I just ran into one problem that didn't happen in our Server 2008R2 print server.

When looking at print jobs that have completed under:  event logs --> Microsoft --> Windows --> PrintService --Operational, I have noticed that Event ID 307 is not displaying the printed document's name in Server 2012 (it did for Server 2008R2).  In Server 2012, the document name simply displays as "Print Document" instead of displaying the document's name.

Anyone have any ideas on how to get the document's name to properly display in the event logs?

Thanks for any help.

Windows 7 Fax Account error

$
0
0

I have setup Windows 2008 STD server, with a USR EXT 56K modem. Its sending and receiving fine.

I shared it and then connected to it like I did with windows 2003 server as well. Then I goty the error to create an account. I did, so now I am connected to my\\myfaxserver. I am able to use it

BUT when I try to send a fax, like if I have a word doc, I print it to Fax, or\\myfaxserver\fax, I receive an error, that my fax account is not setup, so the fax will be sent via windows default account. If I click on OK, the fax windows comes up and I can send the fax as normal.

I am not able to get rid of this error, no matter what I do. I am getting this on all three windows 7 computers.

Please help

Migrate printers from old server with configuration

$
0
0

Hi

I building new printer server and I like to migrate printers from old server to new but I also like to copy all the configuration.

e.g. printer trays, paper size, paper type, drivers, 64x 32x ext.....

Can this be done if yes how do I do this. is they any tools I can used.

I have physicals server running 2003 and 2008 but I will Migrate  printers to 2008 r2 server

Thank you

Can't connect to shared printer on Windows 7 Pro x64

$
0
0

I have a print server on Windows 2008 Standard and I have drivers installed for both x86 and x64 archs. The ricoh printer seems to work fine on windows 7 pro x64 but the hp printer will not work correctly. It seems to download/install the drivers but when actually connecting to the printer it errors out.

It says cannot connect to printer.

I can add the printer manually if I use tcp/ip printing instead of connecting to the shared printer. I can't figure out why its not working. Has anyone else seen an error like this? I'm not really sure what is causing this issue.

 

Thanks!

print server configure how to

$
0
0

hi mates........

in my organization i have windows server 2008r2 domain controller,,,,,,,

i have 22 printers color and black!!

but none of them is configured to control printing !!!!! i need to do it very badly thats why need ur help........

my challenges are :

all the printers are network printers

i dont have drivers of those printers all of them are hp printers

anyone can connect or install or print by the printer ip address and no audit logging is there......

so i need to control everything through my domain controller and group policy .........

waiting for ur reply and help...........

i will create new server only for print server so kindly guide me how i can control all the printers in my organization in a best way.............


istiaq

Issues with Printers Deployed by GP

$
0
0

Hi All,

We have recently upgraded our environment from an EBS 2008 and moving to 2012 environment.

We were also running 2003 TS with Citrix and this has upgraded to 2012 XenDesktop 7.

We always deployed printers via GP to all clients on the network this was working great however on 2012 and Xendesktop 7.

I am finding that sometimes users arent seeing all of their printers and usually a GPUPDATE /force fixes this up.

This is very random and doesnt happen for all users only some of them.....

Any ideas would be greatly appreciated


redirected printer suddnly not appearing on rdp session

$
0
0

hi

yesterady i was able to print trough vpn session to my terminal server

but now the printer is not showing on the printer and devices

BUT

if i connect to the terminal from other computer with the same user i can see the printer!!!

what the problem with the computer?!

its a win XP SP3 with RDP V6 and .netframework 4

i can print localy from the computer

i remind you that the computer works yesterday...

HELP!


Shared Printer limited to 100 queues on Windows Server 2008 R2 TSE or Windows Server 2012

$
0
0

We 've got round 150 printers registrered on a Windows Server 2012 Printer Server.

Our application, running on Windows Server 2008 Server TSE needs to print dynamically on all theses 150 printers.

It seem that on Windows Server 2008 TSE, that we can't use more than 100 printers on any remote printer server

see : http://support.microsoft.com/kb/2532459/en-us , This issue occurs because the maximum number of ports that can be generated is a hardcoded value of 100. 

Is there any solution ? 

Can we except that this limitation to 100 disappear ?

On windows 2003 Server, PrinterPorts in the registry allowed to go over 100

Example :

Print99 winspool,Ne99:,15,45

Print100 winspool,Ne100:,15,45

Print101 winspool,Ne101:,15,45

Print102 winspool,Ne102:,15,45

on Windows Server 2008 and 2012 we have

Print99 winspool,Ne99:,15,45

Print100 winspool,Ne01:,15,45

Print101 winspool,Ne01:,15,45

Print102 winspool,Ne01:,15,45

Error 0x00000709 with DNSonWire Enabled

$
0
0

Hi guys,

I've got an interesting problem that I'm having a little bit of trouble with.

I have a print server set up on Win 2k8 R2 and up until this week it has been running great. We had to replace one of our printers so I made the change in Print Management and updated the associated GPO that is pushing our printer connections and that's where things started going downhill.

The GPO will no longer push printer connections and browsing to the print server and selecting the printer to connect to on a client machine results in the error 0x00000709. However, If I connect to \\192.168.1.1 instead of \\Server01 then I can add the printer.

So the GPO issue is related to the DNS issue, but I'm not sure how to go about fixing the DNS issue. I've followed the steps outlined in http://support.microsoft.com/kb/2546625 but have not had any success with it. It's also a little different because I'm not using a CNAME for my print server, just an A record.

If you guys have any ideas about next steps, I would appreciate it!

Thanks,
-Ty

Fax Server role Installation on Windows Server Ent edition

$
0
0

HI Team,

I am unable to install FAX role on Windows Server 2008r2 Enterprise edition i am getting install fax server failed with error code 0x80004005 fatal error.

This is the only role i am unable install on the server.

Please advise me. further.

network printer name is case sensitive

$
0
0

hi all,one of our line of business applications requires two instances of the same printer installing. One printer is non duplex and the other is duplex.

for some reason when I add \\Server\printer1 the s in the server name is upper case but when I add \\server\printer1_duplex the s in the server name is lower case.

This causes an issue as the line of business application needs the case to be the same on both printers.

I cannot work out why the case is changing, this does not happen on other computers on the network.

any help would be much appreciated.

thanks

Viewing all 1589 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>