Difference between revisions of "Adding an HDA networked printer"

From Amahi Wiki
Jump to: navigation, search
Line 41: Line 41:
 
= Troubleshooting on Vista or Windows 7 clients =
 
= Troubleshooting on Vista or Windows 7 clients =
  
In some windows clients, some users see this:
+
# In some windows clients, some users see this: "windows cannot connect to the printer.operation could not be completed (error 0x0000000d)". We've seen this problem with a few printers now, not consistently between any particular makes or models. However, I have found a consistent fix to connect to any network printer from vista:
 
+
## Run a command prompt and type the following: "net use LPT2: \\server\printer"
    "windows cannot connect to the printer.operation could not be completed (error 0x0000000d)"
+
###This sets up a behind-the-scenes connection to the printer.
 
+
##Then go through the add printer wizard, choose to add a local printer, and choose port LPT2... It will probably ask for a printer driver, and you can just choose whatever XP driver you might have been using before. The printer is then installed without any errors, and works just fine.
We've seen this problem with a few printers now, not consistently between any particular makes or models. However, I have found a consistent fix to connect to any network printer from vista:
+
##From poking around, it seems when the error appears that the driver is actually installed, but something between it being installed and it actually being added to vista's list of printers breaks. Doing the above just works though.
 
+
##This was from this [http://social.technet.microsoft.com/Forums/en/itprovistaprinting/thread/d02718d8-cf5d-45de-9206-46714a549ee0 Technet page]
Run a command prompt and type the following:
+
# Some users may find that certain printers (for example, the Brother HL2270DW laser printer), will not print from anyone other than the admin. We will have to add permissions for each user from CUPS:
 
+
## From the HDA desktop go to: http://localhost:631/printers to open up the CUPS GUI interface.
      net use LPT2: \\server\printer
+
## Click on your printer
 
+
## Under the menu "Administration", select "Set Allowed Users"
This sets up a behind-the-scenes connection to the printer.
+
## In the text box, type in all the HDA users
 
+
### Ex: "user1, user2, user3"
Then go through the add printer wizard, choose to add a local printer, and choose port LPT2... It will probably ask for a printer driver, and you can just choose whatever XP driver you might have been using before. The printer is then installed without any errors, and works just fine.
+
## Make sure "Allow these users to print" is selected, then click "Set Allowed Users".
 
+
## Note: to print, each user must be logged onto the HDA using (in Windows) \\hda in Windows Explorer
From poking around, it seems when the error appears that the driver is actually installed, but something between it being installed and it actually being added to vista's list of printers breaks. Doing the above just works though.
+
# Certain users may also find that even though the above steps were followed with no spelling mistakes, the printer shows a "Permission needed", or similar, message. I have not found a way to fix this, except for the following:
 
+
## Create a new HDA account for the user effected
This was from this [http://social.technet.microsoft.com/Forums/en/itprovistaprinting/thread/d02718d8-cf5d-45de-9206-46714a549ee0 Technet page]
+
## Transfer all files over
 +
## Delete the old HDA account
 +
## Do Troubleshooting 2 above for the new user account. In my case, this has successfully solved the issue.

Revision as of 17:32, 16 January 2011

To set up a network printer attached to the HDA from Windows, you need to perform a few simple steps. Each machine that will need access to the printer will also need the drivers installed. This will be accomplished at the time you connect them to the printer.

  • Connect the printer to the HDA (parallel or USB) and ensure it is powered on. It should automatically detect the printer and set it up for you.
  • Samba should be set up already for serving printers
  • You can optionally create multiple queues for one printer. We recommend 4 queues, called printer (the default, set to print in black and white), color_draft, color and color_photo. Each printer queue has corresponding settings to print as desired when print jobs are sent to that queue.
  • When you created it in the server, under Local Printers, it should say the name of the queue. Make sure the State (under the Settings tab) Shared is selected. This makes sure it can be accessed remotely.
  • Next go to a machine on your network that you want to install the printer. For Windows, from the run option, enter \\hda followed by your user ID and password if required.

Printer1.PNG

  • You should see the printer now.

Printer2.PNG

  • Right click on the printer and select connect. Answer Yes to install when it prompts to install the printer.

Printer3.PNG

  • Now, it won’t find the drivers, so select OK as we will install the drivers from the printer disk.

Printer4.PNG

  • You should now see the add printer wizard. If your driver is in the list, select it. Otherwise, select Have Disk and point it to your drive where the printer driver disk is located.

Printer5.PNG

  • Once you install the driver, you can check the Printers and Faxes to see if it is installed. Although it says Access denied, unable to connect, it is working. Print a test page. If all works well, you should see it in a matter of seconds.

Printer6.PNG

Optional: The printer status message problem can be corrected by adding the following line to the /etc/samba/smb.conf file under the printers section:

 [printers]
    use client driver = yes

This must be done on the server using terminal. Then, restart samba by entering /etc/init.d/smb restart and the message should now display ready on the client machine.

Printer7.PNG

This worked great on my network, but may require some additional adjustments for others. For more assistance, see the FAQ (I want to add a printer to my HDA and make it a printer server, how do I do it?)

Troubleshooting on Vista or Windows 7 clients

  1. In some windows clients, some users see this: "windows cannot connect to the printer.operation could not be completed (error 0x0000000d)". We've seen this problem with a few printers now, not consistently between any particular makes or models. However, I have found a consistent fix to connect to any network printer from vista:
    1. Run a command prompt and type the following: "net use LPT2: \\server\printer"
      1. This sets up a behind-the-scenes connection to the printer.
    2. Then go through the add printer wizard, choose to add a local printer, and choose port LPT2... It will probably ask for a printer driver, and you can just choose whatever XP driver you might have been using before. The printer is then installed without any errors, and works just fine.
    3. From poking around, it seems when the error appears that the driver is actually installed, but something between it being installed and it actually being added to vista's list of printers breaks. Doing the above just works though.
    4. This was from this Technet page
  2. Some users may find that certain printers (for example, the Brother HL2270DW laser printer), will not print from anyone other than the admin. We will have to add permissions for each user from CUPS:
    1. From the HDA desktop go to: http://localhost:631/printers to open up the CUPS GUI interface.
    2. Click on your printer
    3. Under the menu "Administration", select "Set Allowed Users"
    4. In the text box, type in all the HDA users
      1. Ex: "user1, user2, user3"
    5. Make sure "Allow these users to print" is selected, then click "Set Allowed Users".
    6. Note: to print, each user must be logged onto the HDA using (in Windows) \\hda in Windows Explorer
  3. Certain users may also find that even though the above steps were followed with no spelling mistakes, the printer shows a "Permission needed", or similar, message. I have not found a way to fix this, except for the following:
    1. Create a new HDA account for the user effected
    2. Transfer all files over
    3. Delete the old HDA account
    4. Do Troubleshooting 2 above for the new user account. In my case, this has successfully solved the issue.