Path: utzoo!attcan!uunet!samsung!usc!ucsd!ucbvax!hplabs!hpcc05!hpcc01!stevens From: stevens@hpcc01.HP.COM (Stuart Stevens) Newsgroups: comp.sys.hp Subject: Re: diskless cnode printing, a summary Message-ID: <1670004@hpcc01.HP.COM> Date: 11 Oct 90 03:23:28 GMT References: <4108@umbc3.UMBC.EDU> Organization: Corporate Computing Lines: 35 >> Two weeks ago I posted to the net for help in setting up a printer attached >> to a diskless node. I want to thank those that replied to my request, >> especially the kind soul who referred me to article in the march 1990 issue >> of the HP communicator. This article was frm Bill Bennett of the Burlington >> Ma. Sales office. Once we finally tracked down the article :-) we were >> able to test out the procedure. For us the procedure seems to be working >> well, we are printing tex dvi, screen dumps and ascii files to a laserjet >> attached to a professor's workstation. We are doing a slight variation on cnode printing. In order to standardize the interface scripts and support programs for interface scripts we CDF'd the interface script and placed the following script under the servers script and the desired interace script under the diskless clients interface script. This also means that we made no changes to any interface script. Here is the servers interface script (/usr/spool/lp/interface/sleepy+/): #!/bin/ksh parms="" for parm in "$@" ; do parms="$parms \"$parm\"" done cnode=$(line /dev/"${0##*/} Each printer's device is "/dev/cnode/". This displays in lpstat and removes the name from the interface script. The script assumes the diskless cnodes name is the last portion of the device name and that the executing script ($0) is a cdf. We also make the actual device name "/dev/".