OK, I cannot make it to print.
Using command line;
"cat test.ps | gs -q -dNOPAUSE -dPARANOIDSAFER -dBATCH -sDEVICE=pbmraw -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r1200x600 -sOutputFile=- - | min12xxw -m 1200W -f a4 -r 1200x600 -p normal -t auto > /dev/usblp0"
prints perfectly.
My ppd file shows:
*FoomaticRIPCommandLine: "gs -q -dNOPAUSE -dPARANOIDSAFER -dBATCH -sDE&&
VICE=pbmraw%A%Z -sOutputFile=- - | min12xxw%B"
And cups error_log shows this:
D [14/Mar/2006:23:53:01 +0200] [Job 22]
D [14/Mar/2006:23:53:01 +0200] [Job 22] renderer PID kid4=6883
D [14/Mar/2006:23:53:01 +0200] [Job 22] renderer command: gs -q -dNOPAUSE -dPARANOIDSAFER -dBATCH -sDEVICE=pbmraw -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r1200x600 -sOutputFile=- - | min12xxw -m 1200W -f a4 -r 1200x600 -p normal -t auto
D [14/Mar/2006:23:53:01 +0200] [Job 22] perl: warning: Setting locale failed.
D [14/Mar/2006:23:53:01 +0200] [Job 22] perl: warning: Please check that your locale settings:
D [14/Mar/2006:23:53:01 +0200] [Job 22] LANGUAGE = (unset),
D [14/Mar/2006:23:53:01 +0200] [Job 22] LC_ALL = (unset),
D [14/Mar/2006:23:53:01 +0200] [Job 22] LANG = "en"
D [14/Mar/2006:23:53:01 +0200] [Job 22] are supported and installed on your system.
D [14/Mar/2006:23:53:01 +0200] [Job 22] perl: warning: Falling back to the standard locale ("C").
D [14/Mar/2006:23:53:01 +0200] [Job 22] foomatic-gswrapper: gs '-dNOPAUSE' '-dPARANOIDSAFER' '-dBATCH' '-sDEVICE=pbmraw' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-r1200x600' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
D [14/Mar/2006:23:53:02 +0200] [Job 22] ESP Ghostscript 815.01 (2005-09-22)
D [14/Mar/2006:23:53:02 +0200] [Job 22] Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
D [14/Mar/2006:23:53:02 +0200] [Job 22] This software comes with NO WARRANTY: see the file PUBLIC for details.
D [14/Mar/2006:23:53:02 +0200] [Job 22]
D [14/Mar/2006:23:53:02 +0200] [Job 22] Closing renderer
D [14/Mar/2006:23:53:02 +0200] [Job 22] KID3 exited with status 0
So i think it has been redered ok, it's just the output hasnt been piped to /dev/usblp0. Or am I wrong somewhere?
Any hints on how to fix it?
You can debug foomatic-rip to find out if rendering worked ok. filter. conf and set debug: 1. rip.log.
Edit /etc/foomatic/
After printing something check the file /tmp/foomatic-