Network Your Printer with the Hawking PN7127P

December 12th, 2002 by Don Marti in

Printers: cheap, networked or color—pick two. Right?
Your rating: None

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.

Ready to Print

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.

__________________________


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On October 7th, 2004 Anonymous says:

If you forget the password use PSAdmin with the password PSPASS

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On February 11th, 2003 Anonymous says:

I bought one of these also, based on the review.

One thing to watch out for -- the user set password is only six characters long. It allows you to enter an eight character password, then truncates it to six characters. Try entering the eight character password again and it will fail.

Also, I found nothing that would allow you to reset the password if it ever is lost. Write this one down in a *very* safe place!

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On October 7th, 2004 Anonymous says:

You can reset the password by using PSAdmin and using the password PSPASS

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On October 30th, 2003 Anonymous says:

I have one of these also.

I too found out the hard way after I had forgotten my password, that recovering your password is nearly impossible or is it..........

What I found out is that if your firmware is at rev 5.61 then you can capture the config.txt using TFTP. Open and look closely at config file because the very 1st line will look like this

" 01 BoxName : PRTSRVNMPSSWRD "
naturaly I have changed my PRINT SERVER NAME (PRTSRVNM) and PASSWORD (PSSWRD)

What I can tell you is that even if there is a password set you can still push the firmware update again(using TFTP), which will refresh your firmware code or update it. Then you can capture the config.txt to reveal your password.

What is upsetting about this is that anyone can capture your password(using TFTP) if you are at 5.61. This may be way hawkingtech.com is only listing firmware 5.51 on their site and I think they have discontinued this model.

I am considering back leveling my firmware to hawkingtech

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On March 15th, 2003 Anonymous says:

I found out about this problem too late. I re-entered with the first 6 characters of the original 8 and still had no success. Any idea on how the truncate decides it's cut?

Tks

Tim

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On April 7th, 2003 Anonymous says:

I am having this problem as well. Has anyone seen a solution?

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On April 11th, 2003 Anonymous says:

Instead of connecting by http, try telnet. It will ask you a password. Start typing it, don't finish with . As soon as enough symbols are entered, it will let you in. Just remember that you have typed and use it as the password for http connection.

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On April 13th, 2003 Anonymous says:

my problem was that the password was invalid (some bizzare string overflow I think)

I was able to hack hpsutil ( http://www.unixwiz.net/tools/hpsutil.html )

so that IT would set the password. if you run it w/o options it'll broadcast for your hawkings and then show you config info about them (including the password!)

check it out.

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On April 16th, 2003 Anonymous says:

I was wondering if you could share your hack with me. I am having the same problem. When I scan for the password, I get {}{ywus} in that field, but when I try to input the "}{ywus" into the admin utility, it doesn't work.

If you want, you can just send it to cvogelsong@itnellimation.cc

Thanks,

Chad

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On April 16th, 2003 Anonymous says:

Sorry, that should be: cvogelsong@intellimation.cc

jhcaiced's picture

Re: Network Your Printer with the Hawking PN7127P

On January 20th, 2003 jhcaiced (not verified) says:

Greetings,

I have got one of this print servers, they work well but

unfortunately they are missing access control features.

When you install the print server, anyone

can send jobs to the print server if they know the name or IP

I own an HP4500DN with a HP JetDirect card, one of the

nice features of this is the ACL list, you can limit which IPs

can send jobs or control the printer, this is useful since this

is a Color LaserJet printer and every page is expensive, so

only some machines and accounts can send jobs.

I have asked about this issue to the Hawking Technical Support

and got the following answer:

---o---

Hi

If you don't setup the computers that you don't want to

print to the print server, this should be fine. The IP

addresses all depend on your network. This print server

does not have any features that prevents computers from

accessing it.

-----------------------------------------------------------------

Hawking Technical Support (CH)

---o---

prensing's picture

Re: Network Your Printer with the Hawking PN7127P

On December 18th, 2002 prensing (not verified) says:

Some of the SMC Barricade DSL routers have a printer port (parallel) built in. It actually provides a Unix LPD network interface, so printing from Windows requires an extra driver (supplied)!

About a year ago, these were running around $100. You get a 4 port switch, firewall, print server, plus they have outgoing Ethernet or automatic dial up.

A nice deal for the price.

Anonymous's picture

Re: Network Your Printer with the Hawking PN7127P

On December 14th, 2002 Anonymous says:

Good article, but isn't this similar to HP's JetDirect interfaces? How is this one different aside from the cost-factor?

dmarti's picture

Re: Network Your Printer with the Hawking PN7127P

On December 30th, 2002 dmarti (not verified) says:

Do the HP boxes have a web interface, or do you have to install proprietary client software to control them?

The Hawking box supports SNMP too, though I haven't tried that functionality.

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

December 2009, #188

If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.


Read this issue