Welcome to the world of SysV printing versus BSD. lpr is a BSD command (HP-UX doesn't have an lpr command...OK, there is a lame script that tries to emulate the front end). Anyways, BSD defines printer features in the printcap file (non-existant in HP-UX) and all formatting is complete before the job leaves the computer.
SysV actually did not define remote printing at the beginning so along came RFC 1179 to define how to send print jobs and just to be different, SysV defined print job numbers as 4-digits while BSD defines only 3-digit print jobs. Hence the lpadmin (and SAM) option for BSD.
But that's the easy part. The hard part is a primary functional difference between BSD and SysV printing: BSD completely formats the job before it leaves, while SysV requires that the remote side understand the -o control file options. In other words, the remote machine must do all the formatting, not the local one.
Oops, that's a show stopper. If that remote printer is on a toy (I mean PC) computer, there is nothing in the lpd code to process any -o options from HP-UX. Now if the remote computer is HP-UX, there is no problem since the remote HP-UX system will handle the -o options just fine.
So what to do? Well there is an easy choice, a medium choice and a hard one. The hard one is to create an lp wrapper script that is based on an existing model script. With a fair amount of scripting, it can accomplish the formatting and send the job correctly formatted to any remote print server.
The medium choice is to get another HP-UX machine to replace the remote server. Your HP sales rep can help you with that choice.
Or the easy way (you already know this one): pull out the other 4100 and stick a JetDirect card in it. Now everything will work fine.
Bill Hassell, sysadmin