X Print Service Extension Help Required... - Motif

This is a discussion on X Print Service Extension Help Required... - Motif ; hi everybody, I have a big problem.. I would like to be able to print from a motif application running under SuSE 8.2... I installed X print server and use Xp libraries.. No problem printing a rectangle or drawing Text....on ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: X Print Service Extension Help Required...

  1. X Print Service Extension Help Required...

    hi everybody,

    I have a big problem..
    I would like to be able to print from a motif application running under SuSE
    8.2...
    I installed X print server and use Xp libraries..

    No problem printing a rectangle or drawing Text....on the printer.

    However i have a Drawing Area i would like to print !!

    I have no clue how to do that...

    I have tried the XpPutDocumentData in XpDocRaw but no luck :-(
    I have tried the to create a window and do a XPutImage but no luck :-(

    Has anyone any idea about how to print a Pixmap or a drawing Area or Image
    to the printer ?

    I would appreciate any help... I am stucked for the moment...

    Thx

    Romuald

  2. Re: X Print Service Extension Help Required...

    Romuald Thirache wrote:

    > I have a big problem..
    > I would like to be able to print from a motif application running under SuSE
    > 8.2...
    > I installed X print server and use Xp libraries..


    Hopefully you did not install the Xfree86 version of "Xprt" ...

    > No problem printing a rectangle or drawing Text....on the printer.
    >
    > However i have a Drawing Area i would like to print !!


    You mean a drawing area widget, right ?

    > I have no clue how to do that...


    Well, take a look at
    http://xprint.mozdev.org/lxr/http/so...pxmhelloworld/
    - it is a quite simple demo how to print using a XmText widget... the
    drawing area widget stuff should be similar (however the pagination
    algorithm may be more complex...) ...

    > I have tried the XpPutDocumentData in XpDocRaw but no luck :-(
    > I have tried the to create a window and do a XPutImage but no luck :-(
    >
    > Has anyone any idea about how to print a Pixmap or a drawing Area or Image
    > to the printer ?
    >
    > I would appreciate any help... I am stucked for the moment...


    Read the docs http://xprint.mozdev.org/ - and if you have questions
    about Xprint ask in the Xprint mailinglist - see
    http://xprint.mozdev.org/list.html ...

    ----

    Bye,
    Roland

    --
    __ . . __
    (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
    \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
    /O /==\ O\ TEL +49 2426 901568 FAX +49 2426 901569
    (;O/ \/ \O

+ Reply to Thread