Date: Sun, 27 Aug 2000 08:03:10 -0500 (CDT) From: Mike Meyer <mwm@mired.org> To: jason <jason@welsh.dynip.com> Cc: questions@freebsd.org Subject: one last printing question Message-ID: <14761.4494.440855.207984@guru.mired.org> In-Reply-To: <50327680@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
jason writes: > when I try to print directly to /dev/lpt0 as a regular user, I get > permission denied. Whats the correct solution to this? should I just chmod > the /dev/lpt0 as a local user? This seems to work, but doesnt seem to be > the correct way to do it. What do you mean by "print directly to /dev/lpt0"? If you mean you're just sending the output of shell commands to /dev/lpt0 - that's not the way to do it. As you've discovered, that means only root can print, or that people can disrupt each others print jobs. The printer spooler lpd. Add "lpd_enable=YES" to /etc/rc.conf, edit /etc/printcap (check out /usr/share/examples/etc/printcap and the the printcap(5) man page), then reboot. Everyone should then be able to use the command "lpr" to send output to the printer. You might also check out /usr/ports/print/apsfilter (or apsfilter6), which recognizes and prints lots of different file types. The downside is that it installs a *lot* of other ports to get the appropriate conversion tools. <mike 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?14761.4494.440855.207984>