PDF Printer

From Amahi Wiki
Jump to: navigation, search
Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.


The tutorial will show you how to add a PDF printer to your HDA using CUPS. You can connect to it with clients and generate PDF files that will be saved on your HDA. These will be available via an Amahi file share from any client.

We will also configure the web interface to allow remote administration of printers securely via the web browser.

Install PDF Printer

bash code
​sudo apt-get install cups-pdf​


Secure CUPS Web Interface

This will add a user name and password to the administration section of the web interface.

  • Stop the service:
bash code
​sudo stop cups​
  • Edit the configuration file:
bash code
​sudo vi /etc/cups/cupsd.conf​
  • Add the following text below <Location /admin>:
Text
​Encryption Required AuthType Default Require user @SYSTEM​
  • Save the file.
  • Start the service:
bash code
​sudo start cups​


Configure Web Interface

You will need desktop access to your HDA.

  • Access the web interface via http://localhost:631
  • Select Administration and enter your First Admin User name and password.
  • Under "Server Settings" check the box that says "Allow remote administration"

Now you can remotely access the web interface from any client using http://hdaip:631 (hdaip is the IP address of your HDA).

Add PDF Printer to Client

This is a fairly easy step for Windows.

  • Access your shares via \\hda
  • Right click on the PDF printer and select "Connect".
  • You should see the PDF printer now.

 

  • Right click on the printer and select connect. Answer Yes to install when it prompts to install the printer.
  • Now, it won’t find the drivers, so select OK as we will install the drivers from the printer disk.

 

  • You should now see the add printer wizard.
  • Select "Generic" and "MS Publisher Color Printer" or similar driver that is not text only and then OK.

Your PDF printer should now be ready to use.