Hi Guys, I been reading FreeBSd docs on remote pritning. It mostly talks about setting up a local printer. In which case, I could care less about since I want to print to my HP Jetdirect print server. Mainly, I really don't want to install CUPS. I would just like to use the default lp that comes with FreeBSD. Can anyone direct me in the right direction? Thanks. __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail
On Sat, May 14, 2005 at 03:52:05PM -0700, ya hoo wrote:> Hi Guys, > > I been reading FreeBSd docs on remote pritning. > It mostly talks about setting up a local printer. > In which case, I could care less about since I want to > print to my HP Jetdirect print server. > Mainly, I really don't want to install CUPS. I would > just like to use the default lp that comes with > FreeBSD. > Can anyone direct me in the right direction?Uncomment/Tweak the following in your /etc/printcap: remote|sample remote printer:\ :sh:\ :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs Make sure the spool directory exists, create if not there. For your installation you don't need an if= attribute. Make sure lpd is running, enable within /etc/rc.conf. lpd_enable="YES" # Run the line printer daemon. Cheers. -- Jonathan Chen <jonc@chen.org.nz> ---------------------------------------------------------------------- "You can get farther with a kind word and a gun than you can with a kind word alone" - Al Capone
On Sat, 14 May 2005, ya hoo wrote:> Hi Guys, > > I been reading FreeBSd docs on remote pritning. > It mostly talks about setting up a local printer. > In which case, I could care less about since I want to > print to my HP Jetdirect print server. > Mainly, I really don't want to install CUPS. I would > just like to use the default lp that comes with > FreeBSD. > Can anyone direct me in the right direction?You can configure it as a local printer, with the "device" set to <port>@<host>. For example: ps|Brother HL-1270N PostScript:\ :sh:\ :mx#0:\ :lp=9100@brother:sd=/var/spool/output/lpd/brother:\ :lf=/var/log/lpd-errs: Don't forget to create the spool directory. This has worked fine for me for years. See docs/78480. <http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/78480> $.02, /Mikko
ya hoo wrote:> I been reading FreeBSd docs on remote pritning. > It mostly talks about setting up a local printer. > In which case, I could care less about since I want to > print to my HP Jetdirect print server. > Mainly, I really don't want to install CUPS. I would > just like to use the default lp that comes with > FreeBSD. > Can anyone direct me in the right direction?You probably also want to use the options of your printer (single/doublesided, short/long edge, resolution, input tray, paper type, etc.) In that case I recommend getting the foomatic-rip filter (a single large perl script) from linuxprinting.org/foomatic-rip, which parses your printer's PPD file (which normally comes with the printer, or is available from the vendor's site.) I haven't gotten local filters to work with remote printers plus passing arguments to them with the antique base lpr, so I installed LPRng. Easier to set up and more transparent than cups in any case (but you have to remove/rename the base lpr and put NO_LPR=yes into make.conf). mkb.