Adding an HDA networked printer

From Amahi Wiki
Revision as of 15:34, 12 May 2014 by Gorillazgr (talk | contribs)
Jump to: navigation, search

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:

Text
​[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?)

Adding an HDA networked printer using CUPS web-app (Amahi7,Fedora19)

in the following example the printer that it is used is a HP DeskJet 1310 series, connected with USB

-remove everything regarding the CUPS server and services and installed the per-app-click CUPS server.

It is necessary to have a correct "root" user with correct root priviledges. Now CUPS server(app) will let us modify anything under the Administrative pages..

-Connect per usb the printer and by doing "find new printers" from inside the CUPS' config pages continue with installation. Then you will have to chose the printer from a list. If for some reason there is not the correct model in the list you will have to find, download and install the correct PPD file. For this example we had to download in a desktop PC, then extract and manually add the correct PPD file from HP which you can find and extract from inside the Linux drivers.

Perhaps you will get under the "manage printers" page: (HP13115_SERVER is my printers' name) << HP1315_SERVER hp psc 1310 series Local Printer HP PSC 1310 Series, hpcups 3.14.4 Idle - "File "/usr/lib64/cups/filter/hpcups" not available: No such file or directory" >>, because HPLIP package is not installed there is nothing to create a link.

by doing "yum install hplip", HPLIP was installed. Reboot the server just to be sure.

The message from the CUPS' Printer page that you will get should be the following: <<HP1315_SERVER hp psc 1310 series Local Printer HP PSC 1310 Series, hpcups 3.13.11 Idle>>

As everything indicates the printer should be working!


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.