More HPIJS questions

Asked by Matt G

Hi,

First Q: Is this the best place to ask questions about hpijs?

I'm still having issues figuring out how to get hpijs to work properly. I've not found enough documentation to answer my questions anywhere.

Second Q, where is the Version 0.35 IJS protocol specification? I can only find 0.34. I wrote a wrapper to sniff the ghostscript <-> hpijs traffic, and the bytes that are being sent from gs -> hpijs don't match the ijs specification. Specifically, table two says that the 4th 4 byte value is "Size of parameter name", but what I'm finding is that it's the size of the parameter name + NUL Lbyte + parameter value.

Third Q: hpijs is dying as a result of calling ijs_server_get_page_header. I can't find anything anywhere (other than that source) that discusses a page header. Did I miss something? Is this something only for gs? I'm going to do some more digging right now, but I'd like to be able to focus my efforts better. Do I need to tear into gs to see what data it sends?

Is there hpijs-specific documentation somwhere?

Thanks.

Regards,

Matt G.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Matt G
Solved:
Last query:
Last reply:
Revision history for this message
Matt G (magembcons) said :
#1

I solved it.

I'm invoking the hp backend and returning the write side of a pipe to hpijs via OutputFD.

The issue with ijs_server_get_page_header was that I had a call sequence out of order.

So I can create a raster, and given proper Dpi and such, all's well.

Thanks,

Matt G.

Revision history for this message
dwelch91 (dwelch91) said :
#2

On Wed, Oct 29, 2008 at 6:55 AM, Matt G <<email address hidden>
> wrote:

> New question #49381 on HPLIP:
> https://answers.launchpad.net/hplip/+question/49381
>
> Hi,
>
> First Q: Is this the best place to ask questions about hpijs?

Yes

>
>