Here's your error phillipe: $ gs -dNOPAUSE -sDEVICE=lbp8 -dBATCH -q -sOutputFile=\|lpr fp.ps Error: /undefinedfilename in --.outputpage-- Operand stack: 1 true Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 4 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1036/1476(ro)(G)-- --dict:0/20(G)-- --dict:68/200(L)-- --dict:125/250(L)-- Current allocation mode is local Last OS error: 2 Current file position is 69361 GNU Ghostscript 6.53: Unrecoverable error, exit code 1
However it only seems to occur when you send something to the printer rather than to a file, e.g. : $ gs -dNOPAUSE -sDEVICE=lbp8 -dBATCH -q -sOutputFile=foo fp.ps works fine. This leads me to think this is covered by bug #138364 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=138364&repeatmerged=yes cheers graham Philippe Ribet writes: > Hello, > > I daily use gs for printing purpose. > The command I use is : gs -dNOPAUSE -sDEVICE=lbp8 -dBATCH -q > -sOutputFile=\|lpr file.ps > Package 6.51-7 is fine. > When I upgraded to 6.53-2, this command fail for each PS file I tried. > The postscript interpreter halted with an error message (undefined > variable, as far as I can remain). > Unfortunately I didn't save the error message and I restored my previous > system as I really need printing. May be someone on the list have 6.53-2 > package and could run the command and give the error message (using > /dev/null as OutputFile may avoid problem with printer of other type). > > Is this bug specific to "-sDEVICE=lbp8", sorry I did not investigate the > probem before the restore. > > With additionnal information, may be a bug report may be filled ? > > -- > Philippe Ribet > > The README file said > "Requires Windows 95, NT 4.0, or better." > So... I installed it on Linux! > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- http://www.dai.ed.ac.uk/~grahams