From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078615810179.tru64-unix-managers.marc@archive.invalid> From: "Steve Madden" Date: Sun, 03 Aug 1997 23:46:43 +0000 To: tru64-unix-managers Subject: Direct LP printing Question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078615810179 Hi all, I have started playing (working diligently) with the "TELNET printing" features of DU4.0 in this case 4.0a However the Printer TCP/IP Socket Numbers section has got me stuffed... I want to connect to a TI Microlaser (set on HPII) which sits on pr2(pr6) of an AXIS560 printserver. The printserver has an IP and the printer has been in use for quite some time, just not from this Digital Box. I go through lprsetup; Digital UNIX Printer Setup Program Command < add modify delete exit view quit help >: add Adding printer entry, type '?' for help. Enter printer name to add [2] : wtest For more information on the specific printer types Enter `printer?' Enter the FULL name of one of the following printer types: cp382d dl1152w dl510ka dl5100w ep1050+ fx80 fx1050 hpIIP hpIIIP hpIIID hpIV hp4M ibmpro la50 la70 la75 la84 la86 la88 la88c la90 la280 la324 la380 la380cb la380k la424 lf01r lg02 lg06 lg12 lg31 lj250 ln03 ln03ja ln03r ln03s ln05 ln05ja ln05r ln06 ln06r ln07 ln07r ln08 ln08r ln09 ln10ja ln14 ln82r nec290 xf remote unknown or press RETURN for [unknown] : unknown (we use unknown all the time for lpadmin commands on sol2.5) Using 'unknown' for printer type, OK? [ n ] y Enter printer synonym: wtest Set device pathname 'lp' [] ? @137.166.78.99/wtest Do you want to capture print job accounting data ([y]|n)? Set accounting file 'af' [/usr/adm/lp2acct] ? /usr/adm/wtest-acct Set spooler directory 'sd' [/usr/spool/lpd2] ? /usr/spool/wtest Set printer error log file 'lf' [/usr/adm/lp2err] ? /usr/adm/wtest-err Enter the name of the printcap symbol you wish to modify. Other valid entries are: 'q' to quit (no more changes) 'p' to print the symbols you have specified so far 'l' to list all of the possible symbols and defaults The names of the printcap symbols are: af br cf ct df dn du fc ff fo fs gf ic if lf lo lp mc mx nc nf of op os pl pp ps pw px py rf rm rp rs rw sb sc sd sf sh st tf tr ts uv vf xc xf xs ya yd yj yp ys yt Da Dl It Lf Lu Ml Nu Or Ot Ps Sd Si Ss Ul Xf Enter symbol name: ct Enter a new value for symbol 'ct'? [none] tcp New 'ct' is 'tcp', is this correct? [y] Enter symbol name: q Printer #2 ---------- Symbol type value ------ ---- ----- af STR /usr/adm/wtest-acct ct STR tcp if STR /usr/lbin/lpf lf STR /usr/adm/wtest-err lp STR @137.166.78.99/wtest mx INT 0 of STR /usr/lbin/lpf pl INT 66 pw INT 80 sd STR /usr/spool/wtest xf STR /usr/lbin/xf Are these the final values for printer 2 ? [y] Adding comments to printcap file for new printer, type '?' for help. Do you want to add comments to the printcap file [n] ? : Set up activity is complete for this printer. Verify that the printer works properly by using the lpr(1) command to send files to the printer. Command < add modify delete exit view quit help >: Ok now we edit the /etc/services file and add entry wtest 3001/tcp then from the command line I typed; rcinet restart Now when I send a job; lp -d wtest /etc/hosts The job just sits there and I can find any error information.. has anyone spotted my problem.. let me re-phrase that.. can anyone help me out.. Steve..