pkgsrc-Users archive

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

Re: Strange printing problem



On Thu, 14 Feb 2008, David Holland wrote:
> On Wed, Feb 13, 2008 at 09:36:13PM -0800, Paul Goyette wrote:
>  > If I print a file from (for example) xv, instead of printing the file's 
>  > contents I get a single line that says
>  > 
>  >    **** Unable to open the initial device, quitting.
>  > 
>  > That error message doesn't seem to appear anywhere in magicfilter or 
>  > lpd.
> 
> It is in ghostscript. Dunno what causes it though.

Perhaps something wants a seekable file, but is getting a pipe.  If this
is the case, then you can wrap magicfilter in a script that guesses
whether or not to copy stdin to a temporary file before doing the real
work.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index