Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caesar.cs.montana.edu!blake!matter From: matter@blake.acs.washington.edu (Matthew Trunnell) Newsgroups: comp.protocols.appletalk Subject: CAP/papif question Keywords: CAP,papif,unix Message-ID: <4787@blake.acs.washington.edu> Date: 6 Dec 89 19:53:18 GMT Organization: Univ of Washington, Seattle Lines: 22 I have just installed CAP on our local network which, on the UNIX side, consists of a DECstation 3100 (running the atalkad), two SPARCstations, and about 15 SUN-3's. I have a problem with the papif input filter. The problem is that the only printer papif seems to know about is that which was set in the root environment when the lpd was started. The -P flag of lpr spools to the right place, but the printjob module of lpd, which invokes papif, never passes the printer name (I guess none of the standard input filters need to know the printer). When papif makes its getenv("PRINTER") call, it seems to look to the root environment present when the lpd was initiated, rather than to the user's environment. What am I doing wrong? matter Matthew Trunnell Ec-2 matter@ocean.washington.edu School of Oceanography, WB-10 matter@UWAVM.BITNET University of Washington Seattle, Washington 98195 206.543.7003