[5293] in RedHat Linux List
Re: Brother HL-630 /etc/printcap anyone?
daemon@ATHENA.MIT.EDU (Borg)
Wed Nov 20 13:25:09 1996
Date: Wed, 20 Nov 1996 09:42:08 -0800
From: Borg <see_address@in_my.signature>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Michael Fulbright wrote:
>
> In the next few days a new beta version of printtool will be released
> which will make it alot easier to deal with problems like you are
> describing...
The problem is my friend doesn't have an adequate hardware resources
to run X Windows. :(
> Before then, try the following filter:
>
> #!/bin/sh
> sed 's/$/'`echo -ne '\r'`'/g'
>
> Thats it. It converts linefeeds (LF) to carraige return/linefeed (CR/LF).
Thank you, we will try it.
> Do you know if this printer supports other formats than plain ASCII,
> like PCL? If so you can do alot better than straight text printing.
I am not sure if it supports anything else but printing
ASCII is everything he needs. I have one more question:
What would be the most apropriate printcap entry for that
printer? Print jobs go through the filter only if
printcap is configured, right? E.g. we were trying
to use:
#### laserjet 600x600 letter 1
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:lp=:\
:if=/var/spool/lpd/lp/filter:\
:sh:
As we can see it's not Brother-specific. Can we be more
specific, e.g. some printers are configured with their
names in the first lines and pipes something like:
:hplj|blah|blah|:something:
or
:|dot-matrix:|whatever:|
How does lpd knows that "hplj" is good but if I just
write anything off top of my head, it says "such and such:
printer unknown".
--
#include <disclaimer.h> | *Good pings come in small packets*
Vlad Petersen | Linux: multiuser, multitasking,
Vancouver, B.C | multiplatform, 64-bit and free.
vladimip @ iceonline.com | Ceterum censeo Microsoftam delendam esse
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null