Network Your Printer with the Hawking PN7127P
Like many home office users, I have a network-capable laser printer, and I appreciate being able to print conveniently from anywhere on the network. Until I needed color.
A network-capable color printer would have broken the money and space budgets, besides being total overkill for occasional color use. Unfortunately, inexpensive inkjets, such as the HP DeskJet 5550 that we chose for its print quality and free software driver, tend to have only USB and parallel ports.
Hawking PN7127P 1-Port Mini-Internet Print Server to the rescue. This tiny printer server mentioned Linux on the box, an encouraging sign. The price, around $60 at an electronics mega-store, was reasonable too. Besides Linux, it supports Novell NetWare, Microsoft Windows, UNIX and Apple Mac OS.
The Hawking unit connects easily to HP's parallel port, without a cable. Besides the printer connection, there is a connector for the +5V wall wart and an RJ45 for Ethernet. A green “link” LED comes on when the network is connected, and a yellow “status” LED flashes for power-on self tests and error conditions.
A FAQ item on Hawking's site explains how to assign the unit an IP address. Go to any Linux system on the LAN and do this as root:
arp -s 192.168.1.2 00:40:01:20:70:ad
where 192.168.1.2 is the IP address we want to assign, and 00:40:01:20:70:ad is the MAC address. Hawking conveniently prints the MAC address on a label placed on the unit. After the unit sets its address as given in the arp command, you can ping it. Better yet, you can point your web browser at it and set up such features as SNMP and DHCP. I chose to put it on DHCP so it is consistent with all the other computers and devices on the network.
A later look at the manual revealed that although most of the manual is devoted to cumbersome point-and-click navigation through proprietary OS dialogs, the arp command also is documented. Because of the PN7127's clean design, nothing about setting it up requires any software installation on your Linux hosts nor the use of any other OS.
The web interface is thorough and well-designed. You should certainly, however, check to make sure the unit is installed in private address space and not where it is reachable from the outside.
The only hard part about setting up this box was finding the space to fit its wall wart into an overcrowded power strip. I use Ghostscript with hpijs to convert PostScript files to the format used by the HP printer and the handy rplr utility to test print them over the net without having to change the lpd setup. You can try this or, if you want to do it the easy way, simply set up another network printer in your distribution's printer setup tool.
Depending on your printer and distribution version, you may need to get a more recent version of hpijs. I had to do an upgrade to get the version that supports the HP DeskJet 5550. If you're already using the printer when it's directly attached to a Linux system's parallel or USB port, however, you shouldn't have to change anything in the Ghostscript or hpijs department.
The Hawking PN7127P solves an important problem—connecting multiple systems to one printer—in a refreshingly straightforward and platform-neutral way. By thinking ahead and building a unit based on standards, Hawking has done home Linux users, and those with a diversity of systems, a useful service.
Don Marti is editor in chief of Linux Journal.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- SUSE LLC's SUSE Manager
- My +1 Sword of Productivity
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Non-Linux FOSS: Caffeine!
- Managing Linux Using Puppet
- Tech Tip: Really Simple HTTP Server with Python
- Doing for User Space What We Did for Kernel Space
- Parsing an RSS News Feed with a Bash Script
- Rogue Wave Software's Zend Server
- SuperTuxKart 0.9.2 Released
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide