[comp.sys.next] How's does an application print

cattelan@umn-cs.CS.UMN.EDU (Russell Cattelan) (12/15/89)

I am courious to find out how an application like write now passes its 
printing jobs to the lp daemon. I problem is that we are trying to run 
different version of lpd,lpr,etc.. than the one that comes from NeXT. 
Specifically PLP (Public Line Printer). The reason we are doing this is 
because the host machine that that printers are connected to, runs PLP
and in order to "remote machine" the print jobs over PLP has to be running 
the NeXTs. The problem is now how does apps pass the print jobs to lpr? 
I know that the files are spooled to /usr/spool/appkit/spooled.<some number>
but from there it is a mystery. Does it call lpr or does it try to connect 
to lpd directly or ?????. I have taken the files that show up in 
/usr/spool/appkit and lpr'ed  them and I get a correct printout but I would 
like to be able to just say PRINT and have things smile at me.


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<> :-{             :-\<>  Russell Cattelan       University of Minnesota    <>
<>    :-}       :-`)  <>  cattelan@umn-cs.cs.umn.edu                        <>
<>       :-) :-(      <>  {...!rutgers!umn-cs!cattelan}                     <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>