On Wednesday 27 February 2013 09:45:15 Antonio Olivares wrote: > Dear folks, > > I am trying to connect a network printer to be able to print to it. I > know the make/model of the printer: > HP Color LaserJet CP4520 > and the ip address it is on > 10.155.135.3 >
1st you need to define a host name for the printer in /etc/hosts, add the next line to /etc/hosts 10.155.135.3 hplj-cp4520 Then verify network conectivity with ping ping -c 4 hplj-cp4520 Now, create the spool directory and errors-log file mkdir -p /var/spool/lpd/LaserJetCP4520 chmod 770 /var/spool/lpd/LaserJetCP4520 touch /var/spool/lpd/LaserJetCP4520/errors-log chmod 660 /var/spool/lpd/LaserJetCP4520/errors-log chown -R daemon:daemon /var/spool/lpd/LaserJetCP4520 Next, add the printer definition to /etc/printcap LaserJetCP4520|lp|HP LaserJet CP4520:\ :banner.disable:max.blocks#0:tty.device=:\ :remote.host=hplj-cp4520:remote.queue=raw:\ :spool.dir=/var/spool/lpd/LaserJetCP4520:\ :spool.log=/var/spool/lpd/LaserJetCP4520/errors-log: Since the HP Color Laserjet Enterprise CP4520 accept the languages HP PCL 6 HP PCL 5c HP postscript level 3 emulation Direct PDF printing version 1.4 You should test with one file of that languages, I do not know if plain text can be printed without a text filter (input-filter) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"