Re: [Printing-user-general] error closing *main::STDOUT in foomatic 3.0.2-33.3 on FC5
Till Kamppeter <[email protected]> Thu, 13 Jul 2006 11:29:36 +0200
| Newsgroups | gmane.linux.printing.general |
|---|---|
| Organization | LinuxPrinting.org |
| Message-ID | <[email protected]> |
Can you replace your foomatic-rip by the newest one: wget http://www.linuxprinting.org/foomatic-rip Then the problem should go away. Till Toby Blake wrote: > Hi all, > > We're in the process of upgrading all our systems from Fedora Core 3 to Fedora > Core 5. This also involves going from foomatic 3.0.2-13.4 to 3.0.2-33.3. > > This seems to have introduced an error when testing foomatic with a local > printer (an HP Deskjet 400). Just to give a small bit of background, our > printing system uses LPRng for spooling and foomatic as the filter for certain > types of printers (typically locally attached ones). > > The printcap is... > > dj400|Test Queue|HP DeskJet 400|My Office: > :ppd=/etc/foomatic/lpd/dj400.ppd: > :lf=/var/log/lp-errs: > :sd=/var/spool/lpd/dj400: > :lp=/dev/lp0: > :if=/usr/bin/foomatic-rip: > :sh: > :force_localhost: > :mx=0: > > and was configured with the command... > > /usr/bin/foomatic-configure -q -n dj400 -N "Test Queue" -L "My Office" -d > "hpijs" -p "HP-DeskJet_400" -c "file:/dev/lp0" -s "lprng" -o > "PrintoutMode=Draft.Gray" -o "PageSize=A4" > > This exact same setup worked OK under FC3/foomatic-3.0.2-13.4. Now, however it > fails to print anything and gives the following output... > > renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs > - > sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET > 5 > 40" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r300 > -sIjsParams=Quality:Q > uality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0 > -dIjsUseOutput > FD -sOutputFile=- - > Closing renderer > foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' > '-sDEVI > CE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' > '-sDeviceMode > l=DESKJET 540' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-r300' > '-sI > jsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenS > e > t=0' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2 > Process dying with "error closing *main::STDOUT", exit stat: 9 > error: Broken pipe (32) > KID3 exited with status 0 > KID4 exited with status 9 > Renderer exit stat: 9 > KID3 finished > Renderer process finished > Killing process 736 (KID3) > Process dying with "Error closing renderer", exit stat: 9 > error: Bad file descriptor (9) > > If I run the above gs commands by hand (both the original and the one generated > by foomatic-gswrapper) it works fine and sends valid printable pcl to stdout. > > I'd be very grateful if anybody could shed any light on this. > > Cheers > Toby Blake > University of Edinburgh