Skip to main content.
home | support | download

Back to List Archive

Re: Creating pdf index

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Mar 16 2004 - 23:08:45 GMT
On Tue, Mar 16, 2004 at 03:00:04PM -0800, Lung.Allen wrote:
> External Program found: ./howto-pdf-prog.pl
> 
> Warning: Unknown header line: 'SCALAR ......... . . . . 
> 

What does running:

  ./howto-pdf-prog.pl | head

show?

Looks like some how there's an error message ending up being written to
stdout.

Look at the output from that program.  There has to be a http-sytle
header (name/value pairs) a blank line followed by the content.  The
length of the content must match the content-length header in bytes.
There's no record separator -- just the length of the document.  So if
there's bad output or if the content-length is not set correctly then
you will see that "Unknown header line" error.

-- 
Bill Moseley
moseley@hank.org
Received on Tue Mar 16 15:08:45 2004