All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tobias Hoffmann <lprint-list@the-axe-effect.de>
Cc: printing-architecture@lists.linux-foundation.org
Subject: Re: [Printing-architecture] ijs_invoke_server with hpijs
Date: Tue, 21 Oct 2008 13:11:43 +0200	[thread overview]
Message-ID: <48FDB8EF.4060101@the-axe-effect.de> (raw)
In-Reply-To: <9624da290810201121r480f57d6vce5a783da0272046@mail.gmail.com>

Matt Gessner wrote:
> I need to know how to set the OutputFD parameter given to hpijs.
>
> I've tried opening several different files, and I always end up with 
> "unable to read client data" coming from hpijs.
- does it work with OutputFile instead?
- does it work with the ijs_server_example from the ijs package instead
of hpijs?

The ijs_client_example source code does help to clarify the API, when in
doubt.
You can also look at the pdftoijs print filter:
http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/pdftoraster/branches/gsoc2008_pdftoijs_nocups/src/pdftoijs.cc?root=opfc&view=auto

Two other thoughts, though:
- the error "unable to read client data" suggests to me, that the
problem occurs way before anything related to the OutputFD happens, but
you probably have looked deeper
- the dup()/pipe()/open() or whatever you use to create the file
descriptor has to happen before the ijs_invoke_server, so that the
descriptor is  available to the forked process.

   Tobias

  reply	other threads:[~2008-10-21 11:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20 18:21 [Printing-architecture] ijs_invoke_server with hpijs Matt Gessner
2008-10-21 11:11 ` Tobias Hoffmann [this message]
     [not found] ` <48FDB8B2.4030308@gmx.de>
2008-10-21 13:10   ` Matt Gessner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48FDB8EF.4060101@the-axe-effect.de \
    --to=lprint-list@the-axe-effect.de \
    --cc=printing-architecture@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.