[cups] If you can read this, you are using the wrong driver for your printer.
mail at paul-neuwirth.nl
Mon Apr 16 10:50:17 PDT 2018
On Wed, 11 Apr 2018 12:06:59 +0200 (CEST)
Johannes Meixner <jsmeix at suse.de> wrote:
> In gerenal regarding using dot matrix printers in nowadays
> computing environments you may have a look at the sections
> about "Printing Plain Text in Printer-Specific Encoding" in
this worked for me, I created a filter to create plain text according
to page size from pdf (with pdftotext in mime.convs) and recode. Also a
filter for plain/text to use the printer charmap using recode.
By this I found out, that the printer does not like CR/LF -which
results in two newlines.. crazy.. so I added a dos2unix also..
*cupsFilter: "application/ibm850 0 -"
*cupsFilter: "text/plain 50 text2ibm850"
text2ibm850 is a script containing recode and dos2unix..
> Because you talk about "diver" I wonder if you really
> intend to print nowadays arbitrary complex documents
> in raster graphics mode on a dot matrix printer?
> Printer drivers usually output printer-specific raster data
> that is sent (by a CUPS backend) to the printer device.
it works.. almost with the epson driver.. but same problem as above,
the output gives cr/lf, resulting in empty lines between raster
so again, own filters?
how to declare those filters in the ppd?
*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip"
*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip"
*FoomaticIDs: Epson-LX-1050 epson
*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPA&&
USE -dNOMEDIAATTRS -dNOINTERPOLATE -sDEVICE=epson%A%Z -sOutputFile=- -&&
do I need a script which converts [what?] to a new format?
or just appending " | dos2unix" to the FoomaticRIPCommandLine ?
Thank you again for your help :)
More information about the cups