From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b2424198fd674bf1 X-Google-Attributes: gidfee84,public From: tittaff@gov.on.ca (Fred Tittaferrante) Subject: Re: Connecting Laser Printer via LAT Date: 1995/10/16 Message-ID: <45u9vp$o7u@govonca3.gov.on.ca>#1/1 X-Deja-AN: 117629827 references: <45mlo9$bu9@news.nic.com> organization: Government of Ontario newsgroups: comp.unix.osf.osf1 bbp@nic.com (Bruce B. Platt) writes: >I have LAT running on Digital Unix V3.x. I also have several laser >printers I'd like to hook up via terminal server and LAT. I know how to >do this on VMS :-), but not the faintest idea how to do it on unix. > >I know I need the right printcap entries, and I can probably figure that >part out (then gain maybe not). Here is my /etc/printcap entry for a HP LaserJet IIID connected to a DECserver 90L # Geraldton HP LaserJet IIID, Downstairs hplaser|lp0:\ :af=/usr/adm/lpacct:\ :br#9600:\ :ct=LAT:\ :fc#0177777:\ :fs#023:\ :if=/usr/lbin/hplaserof:\ :lf=/usr/adm/lperr:\ :lp=/dev/tty0b:\ :mx#0:\ :of=/usr/lbin/hplaserof:\ :pl#66:\ :pw#80:\ :rp=PASSTHRU:\ :sd=/usr/spool/lpd:\ :sf:\ :sh:\ :xc#0177777:\ :xf=/usr/lbin/xf:\ :xs#044000: I got the /usr/lbin/hplaserof filter files from a co-worker. I'm not sure where he got them. I was using the /usr/lbin/lpf filter which gave me some limited success. I was able to print text to the printer, but I couldn't send PCL printer codes. >Mostly what I need to know is how to tell unix that I have a printer on >port x of a Decserver 90 family device. The following is a snipet from my /sbin/init.d/lat file. I put it after the "/usr/sbin/latcp -s" line. The command connects the /dev/tty0b device with server NRGES2 port PORT_8. /usr/sbin/latcp -A -p tty0b -H NRGES2 -R PORT_8 Also, the following line is from my /etc/inittab file. The /dev/tty0b device driver was created by the latsetup command. lat0b:3:off:/usr/sbin/getty /dev/tty0b console vt100 Good luck, Fred Tittaferrante Systems Officer Geraldton Area Office Ontario Ministry of Natural Resources email: tittaff@gov.on.ca