[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#9285: marked as done (minor gs-bug showing up with apsfilter)



Your message dated Fri, 4 Feb 2011 17:01:41 +0100
with message-id <201102041701.44603.roucaries.bastien@gmail.com>
and subject line Done: minor gs-bug showing up with apsfilter
has caused the Debian Bug report #9285,
regarding minor gs-bug showing up with apsfilter
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
9285: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=9285
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apsfilter
Version: 4.9.1-10

I have a number of postscript files that apsfilter cannot print to my
deskjet (only happens with some .ps files, mostly color, all print properly
on my ljfour).  I have traced the problem to rewindstdin:

1. gs previews them fine.
2. gs segfaults if I use the command line:

   gs -q -sDEVICE=cdj550 -sPAPERSIZE=letter -dNOPUASE -dSAFER\
         -sOutputFile=- - <file.ps  

3. gs produces proper output for the cdj550 if I use the command line:

   gs -q -sDEVICE=cdj550 -sPAPERSIZE=letter -dNOPUASE -dSAFER\
	 -sOutputFile=- file.ps
  
   which is the exact same as above except the data is taken from a file
   instead of stdin	

Thus, the cdj550 filter requires the input postscript to be lseek()able.

The 'rewindstdin' program included with the package is supposed to address
this, but does not seem to work (the gs segfaults).

Editting /usr/lib/apsfilter/bin/apsfilter to make gs use a tmp file instead
of stdin (and cleaning up afterwards) makes the filter work.

-- System Information
Debian Release: 1.2
Kernel Version: Linux rayleigh 2.0.29 #1 Thu Apr 17 09:02:39 CDT 1997 i586 unknown

Versions of the packages apsfilter depends on:
lpr	Version: 5.9-13.1

--- Begin /etc/printcap (modified conffile)
ascii|lp1|cdj550-letter-ascii-mono|cdj550 ascii mono:\
	:lp=/dev/lp1:\
	:sd=/var/spool/lpd/cdj550-letter-ascii-mono:\
	:lf=/var/spool/lpd/cdj550-letter-ascii-mono/log:\
	:af=/var/spool/lpd/cdj550-letter-ascii-mono/acct:\
	:if=/usr/lib/apsfilter/filter/aps-cdj550-letter-ascii-mono:\
	:mx#0:\
	:sh:
lp|lp2|cdj550-letter-auto-mono|cdj550 auto mono:\
	:lp=/dev/lp1:\
	:sd=/var/spool/lpd/cdj550-letter-auto-mono:\
	:lf=/var/spool/lpd/cdj550-letter-auto-mono/log:\
	:af=/var/spool/lpd/cdj550-letter-auto-mono/acct:\
	:if=/usr/lib/apsfilter/filter/aps-cdj550-letter-auto-mono:\
	:mx#0:\
	:sh:
lp3|cdj550-letter-ascii-color|cdj550 ascii color:\
	:lp=/dev/lp1:\
	:sd=/var/spool/lpd/cdj550-letter-ascii-color:\
	:lf=/var/spool/lpd/cdj550-letter-ascii-color/log:\
	:af=/var/spool/lpd/cdj550-letter-ascii-color/acct:\
	:if=/usr/lib/apsfilter/filter/aps-cdj550-letter-ascii-color:\
	:mx#0:\
	:sh:
lp4|cdj550-letter-auto-color|cdj550 auto color:\
	:lp=/dev/lp1:\
	:sd=/var/spool/lpd/cdj550-letter-auto-color:\
	:lf=/var/spool/lpd/cdj550-letter-auto-color/log:\
	:af=/var/spool/lpd/cdj550-letter-auto-color/acct:\
	:if=/usr/lib/apsfilter/filter/aps-cdj550-letter-auto-color:\
	:mx#0:\
	:sh:
raw|lp5|cdj550-letter-raw|cdj550 auto raw:\
	:lp=/dev/lp1:\
	:sd=/var/spool/lpd/cdj550-raw:\
	:lf=/var/spool/lpd/cdj550-raw/log:\
	:af=/var/spool/lpd/cdj550-raw/acct:\
	:if=/usr/lib/apsfilter/filter/aps-cdj550-letter-raw:\
	:mx#0:\
	:sh:

--- End /etc/printcap

--- Begin /etc/apsfilterrc (modified conffile)
FEATURE=2n

--- End /etc/apsfilterrc

--- End Message ---
--- Begin Message ---
Package: ghostscript
Version: 8.71~dfsg2-9

I have tested using the original file and it works
gs -q -sDEVICE=cdj550 -sPAPERSIZE=letter -dNOPUASE -dSAFER -sOutputFile=/dev/null < file.ps

Therefore close this old bug



--- End Message ---

Reply to: