Date: Wed, 1 Nov 2000 10:34:06 +0400 From: "Rino Mardo" <helixfish@gmx.net> To: "Tim McMillen" <timcm@umich.edu>, <freebsd-questions@freebsd.org> Subject: Re: Help with printcap file Message-ID: <003c01c043ce$534e53a0$0204010a@atg.altayer.com> References: <Pine.SOL.4.10.10011010026430.24821-100000@gorf.gpcc.itd.umich.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
It would be wise to have the printer on static ip. Why? Because either you **always** enter the printer's ipaddress in the /etc/hosts file (if you want to use the name like NPI77C117) or /etc/printcap (by ip address). So, is NPI77C117 in your hosts file? What is the queue that your printer is using? You need that too. -> who watches the watchmen? Key fingerprint - E619 726E 3815 7A48 EAC7 E49F DF93 4E33 B069 0883 ----- Original Message ----- From: "Tim McMillen" <timcm@umich.edu> To: <freebsd-questions@freebsd.org> Sent: Wednesday, November 01, 2000 10:12 AM Subject: Help with printcap file > > Hello, > > I'm trying to set up printing from my FreeBSD 4.1.1 Release box. > I'm getting very confused with the instructions in the handbook (Section > 9.4.3.1) Here's my setup: I have two Macintosh computers and my FreeBSD > box and an HP Laserjet 2100M (with the jetdirect NIC which does > understand lpd) all connected by a hub to a lynksys router. I have a > static IP and all the computers and the printer are configured using DHCP > (only because I don't understand IP addressing enough to do other wise.) > Currently the local address of the printer is 192.168.1.100. By > telneting to it I find: > HP JetDirect > Please type "?" for HELP, or "/" for current settings > > / > ===JetDirect Telnet Configuration=== > Firmware Rev. : G.07.20 > MAC Address : 00:10:83:77:c1:17 > Config By : DHCP > > IP Address : 192.168.1.100 > Subnet Mask : 255.255.255.0 > Default Gateway : 192.168.1.1 > Syslog Server : Not Specified > Idle Timeout : 90 Seconds > Set Cmnty Name : Not Specified > Host Name : NPI77C117 > > And here's what I tried in the printcap file: > hplj2100:|text|hewlett packard laserjet 2100m:\ > :lp=:rm=NPI77C117:rp=hplj2100:sd=/var/spool/output/lpd/hplj2100: > > I know that's not right since: > %lp -d hplj2100 ./foo > (no output from printer, but I do see lights on the hub blink) > > but is it in the spool? Files do appear in the spool directory > %lpq > lpq: printer not found > %lpq hplj2100 > lpq: printer not found > %lpq text > lpq: printer not found > > Any help would be greatly appreciated. I tried reading the termcap and > printcap man pages but they were confusing too. I bet this is really > simple once you understand it but I'm pretty confused by the instructions > because they mostly seem to apply to a printer attached to host computer. > Thanks in advance, > Tim > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003c01c043ce$534e53a0$0204010a>