Date: Sat, 5 Apr 2008 14:43:19 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Steven Friedrich <FreeBSD@insightbb.com> Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD 7-RELEASE + CUPS + gutenprint + Epson Stylus CX8400 (fixed path) Message-ID: <alpine.BSF.1.10.0804051416590.16912@wonkity.com> In-Reply-To: <200804051416.01776.FreeBSD@insightbb.com> References: <200804051416.01776.FreeBSD@insightbb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Apr 2008, Steven Friedrich wrote: > This printer, from what I read on the Internet, will support > printing us-ascii, so I tried to send an ls -l > /dev/ulpt0 device, but it > didn't even print that. Well, there are some ways that can work but appear not to work. If you've already sent a bunch of text without carriage returns, the printer may not print anything because the text is all to the right of the page. Earlier printing may have set the printer into a graphics mode or some other mode where it won't print anything until a buffer is full or another specific command is received. Some printers don't do anything until either a full page is printed or a form feed is received. So turn the printer off to clear it, turn it back on, and then send your test with carriage returns and linefeeds and a final formfeed: perl -e '$x = `ls -l`; $x =~ s/\n/\r\n/g; print "$x\f"' > /dev/ulpt0 -Warren Block * Rapid City, South Dakota USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0804051416590.16912>