My printing problems was (printing with hp5m) 
1. printing several copies of text file.
2. notify the user that the print job is done. 
3. print text file from page number X to Y.
I didn't got any answer from the alpha osf manager forom, 
The answer came from Digital support in Israel.
first the printer is a tcp/ip printer not conected to a host , it is
like a station on the network, so at the Release notes of the 4.0A page
2-13 there is a discription of how to configure such printer.
I add the line hplaser5m  9100/tcp to the /etc/services file,
done the rcinet restart, and add the ct=tcp and lp=_at_wizhp5m/hplaser5m
and the printcap look like :
hp5m|lp:\
        :fc#0177777:\
        :fs#023:\
        :if=/usr/lbin/ps_level2of:\
        :lf=/usr/adm/lperr:\
        :of=/usr/lbin/ps_level2of:\
        :ct=tcp:\
        :lp=_at_wizhp5m/hplaser5m:\
        :Or=portrait:\
        :pl#63:\
        :pw#80:\
        :sb:\
        :sh:\
        :sd=/usr/spool/lpd:\
        :mx#0:\
        :rw:\
        :xf=/usr/lbin/xf:
Still problem 3 is a mistery , but I will solve it by a littel script.
Best 
 regards, 
 All above opinions are personal, unless stated otherwise.
---------------------------------------------------------------
 Ran Zahor - UNIX System Manager   | Email : ran_at_wiztec.co.il
 Wiztec Solutions Ltd.             | Phone : (972)-9-9526557 
 8 Maskit, Herzlia 46733, Israel   | Fax   : (972)-9-9526556
-----------------
http://www.wiztecsolutions.com----------------
Received on Tue Mar 11 1997 - 13:38:30 NZDT