Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Citrix Can't connect to Client Printers

Status
Not open for further replies.

u104741

MIS
Aug 26, 2003
94
GB
we are running a win2k server with sp3 and citrix xp fr3

We have a major issue in that no client PC's are mapping there printers.

We run one major application over Citrix - Great Plains, but when users connect and try and print they get the "Please install a defualt printer" error.

I have been through all the Citrx settngs and am sure they are set to pick up the users printers when they login.

If i look at the Application log on the citrix box i see that it attempts to connect a clients printer(s) but fails With the following error;

"Client printer auto-creation failed. The driver could not be installed. Possible reasons for the failure: The driver is not in the list of drivers on the server. The driver cannot be located. Driver mapping is incorrect. Client name: (LISTERG) Printer: (Client\LISTERG#\\\file01\HP LaserJet 2100) Client Printer driver: (HP LaserJet 2100) Server Printer driver: (HP LaserJet 2100)"

anyone got any ideas????
I'm getting desperate!
 
Make sure the users have write access to the spool and the location on the metaframe servers where the printers get created. If they are anonymous users, you must give the anonymous accounts, or basically "everyone" change permissions to this area. Many of the printer issues within Metaframe and XPE are permissions related. Are you using the UPD as well? At the very least, if there are no drivers for the printer you should be getting an assignment for the UPD to the users printer if the driver is not installed on the server.

If all ICA settings are correct, then you should look at permissions next.

let me know what happens.

Dave
 
Dave thanks for your response..

this is where i am a bit lost....
if i look on the citrix box to the winnt\system32\spool folder, itself, all users do have read, execute and write permissions. is that enough? or do i need to check specific files in the folder??

All the printers are shared off another server do i need to check permisions on that too??

As for UPD I think we want to use as it would simplfy things alot. But am unsure how to apply it in practice or how to make all printers use it.

Is there a way to check if the UPD is installed and registered ok??

I've seen tak about ini files etc.. to map drives etc but am not sure where they go or how to write them...

i have tried logging onto a citrix client using an adminstrators account and the same errors occur.

Opening a Citrx desktop session works just fine though! but thats not what i need to do...

if you have any further thoughts please pass them on, your help is much appreciated.

Geoff

 
Dave,

also i am not sure of the location where the printers get created on the metaframe how do i check that?

I appologise if thats a silly question!

G
 
xs4citrix,

many thanks I'll have a read and let you know how I get on!
 
Been working hard and seem to have users with network printers now printing. All I did was change the application permissions so users don’t sign on Anonymously

But I still cant get printers to connect that users have plugged into there LPT1 ports??

I see from the Citrx documentation that on install some options are added to the User Manager??. That are important for mapping local printers.

I can’t find those options where do I go to check?
 
It is important that the server have the drivers for the local printers if you are going to support them, also make sure that you are allowing LPT mapping in their connection setup.

If the driver does not exist on the metaframe server they attach to, it simply will not show up. Her's how you check.

1.) Get the type of printer from user (e.g. HP LaserJet 4)
2.) On the server go to start settings printers, and go to "File" then "Server Properties" from the print menu. go to drivers and check to confirm you have the "LaserJet 4" driver installed for whatever the OS on the server is (LaserJet 4 - Windows 2000)etc..

Once the driver is installed, the user must log out, and log in again, then it should show up for them.

Again, Make sure COM and LPT port mapping is enabled in their connection config.

Hope this helps... I don't have time at this moment to give you the details on the UPD but it's pretty simple if you check out the support area on the Citrix forum they should have good instructions, otherwise I'll check back later.. Up to my ass in alligators at the moment.. ;)

Dave

 
Dave,

Many thanks for your help. I'll see how that goes.
 
I agree with Dave. It is now a printer driver issue.
Download the HP2200 driver and install it on all of your MF servers, or install it on one and replicate it.

Matt
 
still struggling!

I have checked the drivers and they all tie up.

I have for example an HP LaserJet 2200 which works fine as a normal network printer. But if i take it off the network and plug into my LPT1 port it wont map when I connect to Citrix??

i have checked the Citrix settings and they are set to allow this mapping but it still doesn't happen. I dont think i have a driver issue. I think its more likely a permissions thing but am not sure how to narrow it down.

The citrix documentation talks about checking settings in the user manager for domains. We use active directory to manage users and i cant see any options for 'Config'. I am not sure i am looking in the right place though. (i dont usually administer users on our network)

I have tried removing printer drivers and re-installing them but to know avial.

Admin users are also unable to map to local printers??

In the system32\ folder on the citrix server should there be a printer.inf file, because we dont have one?
(nor do we have a wtsuprn.inf)

Any further thoughts much appreciated.
 
A typical error message in the application event log when it tries to map a printer, incase it helps;

"Client printer auto-creation failed. The driver could not be installed. Possible reasons for the failure: The driver is not in the list of drivers on the server. The driver cannot be located. Driver mapping is incorrect. Client name: (STEPSPETER02) Printer: (Client\STEPSPETER02#\HP DeskJet 1120C) Client Printer driver: (HP DeskJet 1120C) Server Printer driver: (HP DeskJet 1120C)"
 
i have found this error too that is in the system log on the Citrix server;
_______
Unable to start a DCOM Server: {E63F16AA-7C16-4697-826C-98B7A5092299}. The error:
"The system cannot find the file specified. "
Happened while starting this command:
"M:\Program Files\Citrix\ICA Client\ssoncom.exe" -Embedding
_______
 
For your last printer, you can use the following mapping:

"HP DeskJet 1120C" = "HP LaserJet Series II"

You need to install the laserjet II series driver from the OS cdrom on your server, and make the mapping via the wtsuprnt.inf, or CMC printer mapping.

Free citrixprinting support
 
Im going nuts now!

if i open a citrix desktop session then goto windows explorer within that then type my computer name in the address bar ie \\itwks0238
it pops up my printer connected to my local LTP1 port.

i can then right click it and hit connect to add it to my list of printers no problem. From within the desktop session it prints ok.

If i then log off the dektop session and then click my published application short cut on my normal pc desktop

my application loads, but still does not map that printer.
As an admin user though, i can select the printer from within my published application but it wont set it as a default when the application opens.

I am now considering doing a re-install / repair of citrix!
 
If I open a desktop session then goto 'ICA Client Printer Configuration' I can see the mappings for my local printers.

The status of all the printers is 'disconnected'.

if i right click one and try and connect i get the error message 'cannot connect to the client printer'

I believe that at connection time a registry key should be created in the [HKEY_CURRENT_USER\Software\Citrix\AutoCreated Client Printers\......

this key does not exist on our Citrix Server.???

any ideas....
please, please help...
Geoff
 
Check to make sure that the client connection settings "Enable" LPT and COM port mapping.

I will be able to give you more detail on this tomorrow if you can't get it this evening, but unless you have "use client settings" this can be set from the policy's area in XPe, or the ICA settings in 1.8. Otherwise, each client's settings are the default. A policy will override even that though...in XPe anyway..

Make sure the default policy allows COM and LPT settings if your farm is XPe.

One last thought.... How many servers in your Citrix farm? Is it possible that you are logging into the "functional" desktop session on a server that has the driver, and then a different server hosting the published app that does not have the driver installed? The drivers have to be installed or replicated to any server you have hosting this app of course... No offense if this is obvious, I'm just covering all bases...

Dave
 
The client connections are set to "Enable" LPT mapping.

We have also tried adding a policy that enables al these options and again no joy.

We have a single Citrix Server using Windows 2000 server with SP3 running Citrix XP with FR3. So have no replication issues etc..

No offense taken.. its ok to assume I'm an idiot! + always best to cover all the bases, no doubt it will turn out to be something simple!

Also discovered that if I open a desktop session then launch my application (Great Plains) from the desktop
i can goto file >> Print Setup >> Network

I can then navigate to the 'Client' option and see my local client printers. But if i select one it crashes or rather hangs my desktop session. I just get the hourglass icon and can no longer interact with the desktop session, no error messages appear. I have left it for 5 minutes before using the task manager to crash out. If i do that a few times in succession the Citrix server will completely freeze for all users.

most strange!

Geoff


 
Ok.. The policy would override any of the local settings, so keep that setting in place. That's good.

Now.. let me make sure I have this straight...

You run a published app - no LPT printer shows up

You run a desktop session - LPT printer Ok

You run the app from within desktop session - LPT printer does not show up, but is browsable, but..when mapped hangs server...

Correct?

What kind of printer is this? (HPLJ4000, etc) Did you add the driver by going into the print properties and adding it that way or did you run a printer setup disk of some sort?

Is it only happening on one PC with a local printer or is it all desktop PC's having this issue with their local printers through the published app? (Thinking possible profile or permissions issue here)

 
1 we have set citrix to only connect to clients default printer in the published app.
So where that happens to be a Local printer to the client we get no printer errors, if its a network one no problems.

2 Not quite.. if i open a desktop session, then goto start settings printers my local printers are not there. But if i goto the citrix ICA Client Printer Configuration tool i see all my locally configured printers, with a status of 'disconnected'. (The printers appear twice, once with there normal driver and once with a UPD assigned I think)


3 If i Open the application in the desktop session that is my published app. (i hope u are still with me!) I can use the File >> Print Setup >> Network menu within the application; select client network and see a list of my local printers all starting with Client\\....
if i select one it hangs the application within the session.
I can still exit the session but can't end the application.

4 At this point clients will have problems connecting to the published application. It seems to open a citrix connection, but the published app never appears.

5 This occurs for all users even tried with system wide admin rights.

6 I have tested all sorts of combinations of drivers to the following 2 types of printers an HP LaserJet 2200 PCL 5e and an HP LaserJet 4000. (Both these printers connect fine if on the network)

7 Im fairly sure it is not a driver issue, if its a permsions issue it is happening to admin users as well as normal users, so would have to come down to a permission change to a particurla file or folder, where no one has any rights, i would guess??
8 could teminal services by shagged??

thanks for your help on this Dave... if you sort it I'll owe you one!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top