[GRLUG] Text only printers

Joseph McLaughlin jwm8351 at yahoo.com
Fri Jan 10 21:11:59 EST 2014


I just tried 
echo "text" | lpr
and it came out on my default printer


 



On Friday, January 10, 2014 8:40 PM, Justin Denick <justin.denick at gmail.com> wrote:
 
What's the dumb device like? If it really spits out ASCII than you're not going to be able to indicate any cool print commands like page size/source. Maybe you could indicate a new line. \n But that's not likely to be interpolated as anything other than \n if the printer isn't regarding printer commands. 

How does this device interface with the current printer? Like is it a parallel port?

If preprocessing is out of the question, than post processing with an intelligent printer or perhaps injecting print commands into whatever is being logged might be you're only recourse. That's probably stretch since this seems to be pretty restricted. 

However, if it has an interface to which you can create an ad hoc connection {read /dev/dumb-device | lpr -o pretty print -P "modern inkjet".  Better yet pipe it to a db and search don't sort when you need to find something from the logged data. 

-j

> On Jan 10, 2014, at 8:15 PM, "L. V. Lammert" <lvl at omnitec.net> wrote:
> 
>> On Fri, 10 Jan 2014, Justin Denick wrote:
>> 
>> Is there any chance you could convert it to PostScript?
> Nope, .. text only. Output from a dumb device - it's a logging printer.
> 
>    Lee
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug

_______________________________________________
grlug mailing list
grlug at grlug.org
http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20140110/6e2b34f8/attachment.html>


More information about the grlug mailing list