Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Installing a JetDirect Printer


To add a network printer (that we identify as hplj in /etc/hosts where it is associated with address 192.168.0.6) using a HP JetDirect device to connect a HP LaserJet 1200:



  Name: lp0
  Location: Richard's Desk
  Description: HP LaserJet 1200
  Device: AppSocket/HP JetDirect
  URI: socket://hplj:9100/
  Make: HP
  Model: HP LaserJet 1200 Series PS (en)

If you are using the web interface and now go to the printer and get a permission denied error, chances are it is because your browser is going to bartok.act.togaware.com rather than localhost. You can edit /etc/cups/cupsd.conf to give permission for all local hosts (since in my setup I have printers configured on the server then use rdist to distribute the configuration to all clients):



  <Location />
    ... 
    Allow From 192.168.0.*
  </Location>
  ... 
  <Location /admin>
    ... 
    Allow From 192.168.0.*
  </Location>

You could use .act.togaware.com instead to allow access from any host in your domain. Then restart the cupsys daemon:



  $ wajig restart cupsys

Print a test page to make sure it works. Also, go into Configure Printer to set Page Size to A4, and any other default settings, like duplex printing.


Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire