ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/May-Jun/Printing-problems

This is Printing-problems in view mode; [Up]


Date: Sun 12-May-1989 02:02:58 From: Unknown Subject: Printing problems I am having trouble with printing to a locally attached NeXTLaser under 0.9. Whenever I do 'lpr -Pnp .login', nothing comes out on the printer. The following message appears on the console window: ... npcomm: Couldn't create public context ... npcomm: Problem creating PS print context The printcap file (via nidump) follows: NextLaser|np: \ :lp=/dev/null:sd=/usr/spool/np:lf=/usr/adm/np-log: \ :af=/usr/adm/np.acct:re:mf:if=/usr/lib/NextPrinter/npcomm: \ :ty=NeXT 400 dpi Laser Printer: NetNextPrinter|netnp: \ :lp=:rm=remotehost:rp=np:sd=/usr/spool/np: \ :ty=NeXT 400 dpi Laser Printer: LaserWriter|lw: \ :lp=/dev/ttya:sd=/usr/spool/lw:tr=^D:lf=/usr/adm/lw-log: \ :af=/usr/adm/lw.acct:br#9600:rw:fc#0000374:fs#0000003:xc#0:xs#0040040: \ :mx#0:sf:sb:if=/usr/lib/transcript/psif:of=/usr/lib/transcript/psof: \ :gf=/usr/lib/transcript/psof:nf=/usr/lib/transcript/psnf: \ :tf=/usr/lib/transcript/psnf:vf=/usr/lib/transcript/pstf: \ :gf=/usr/lib/transcript/pscf:df=/usr/lib/transcript/psgf: \ :ty=LaserWriter: NetLaserWriter|netlw: \ :lp=:rm=remotehost:rp=PostScript:sd=/usr/spool/lpd:pl#66: \ :ty=LaserWriter:netlw: lp|pancake: \ :lp=:rm=polya:rp=pancake:sd=/usr/spool/pancake:pl#66:ty=LaserWriter: Also, it seems that lpr no longer obeys the PRINTER environment variable. I have noticed that when applications allow you to chose a printer, that the name used happens to be the last name for each printer. Ie: for the list of stuff above, I get a choice of (np, netnp, lw, netlw, and pancake). The printer app, and WriteNow's printer button both exhibit this behavior. This seems rather counterintuitive to me. Most people use the first name as the 'real' name of the printer, and the second (and subsequent) names as nicnames. I also can't seem to convince WriteNow (or anything else for that matter) to print to any printers at all! WriteNow normally just pops up a window that says something like 'Cannot connect to npd'. This occurs in spite of the fact that I have requested the app to print onto a remote Apple LaserWriter. So, how do I go about debugging this? There is no documentation at all on npcomm!! Stu Grossman Stanford University CS department >From: grahamr@prism.cs.orst.edu (Robert Graham)

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