ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Dec/Hows-does-an-application-print

This is Hows-does-an-application-print in view mode; [Up]


Date: Sun 15-Dec-1989 05:55:01 From: cattelan@umn-cs.CS.UMN.EDU (Russell Cattelan) Subject: How's does an application print 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} <> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.