On Fri, 6 Jun 2008, Michael wrote:
> I just saw that I didn't make myself totally clear in original post:(
> I'm using mutt for email on this machine.
> I just tried installing muttprint, but apparently uses "make" from linux? It
> wouldn't build for me because of the -C switch for langinfo.
If it wants a SYS-V style make (Linux), use gmake from ports.
> Apsfilter printed out a nice test page, but so far, that's it. Won't print a
> file or email with mutt.
Try this for unequivocal testing:
df | lpr
cat somefile.ps | lpr
Become familiar with lpq, lpr, lpc, lpd from the man 1 and 8 pages.
lpc and lpq will usually tell the tale.
****>>> Check that lpd has been started. Set lpd_flags="" in /etc/rc.conf
Post your /etc/printcap file. This is really necessary to attack
a printer problem.
> I only have 6 gig for 4.3 on this computer, so was hoping not to install a
> bunch of extra programs, but may have to. I'm just trying to print a few
> files per week.
No, you shouldn't have to. Lpd and friends have run on Unix since
the days when a 250 MB disk was HUGE and 4MB memory was AMPLE. They
have not changed noticeably since those days. Almost no extra
software should be needed for text files.
I don't want to contradict earlier posters, but are there *really*
printers so brain-damaged that they can't print plain text? I
exclude from consideration (and so should everyone) so-called
Win-printers, but it was my impression that those abominations had
all been kicked to the curb long ago.
You also have devices, /dev/lpa[0-2] and /dev/lpt[0-2]. These drive
the parallel ports. If your printer uses a parallel port, (increasingly
rare), then "cat filename.txt > /dev/lp[ta][0-2] (whatever is
appropriate, see man lpt) should cause the printer to at least twitch
a little. If the printer is on a serial port, then the device is
/dev/tty{somtething}, probably /dev/tty00 or 01.
Dave
--
The future isn't what it used to be.
-- G'kar
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies