-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>How to create a pdf with an pdf input stream from a web service call and
>silently print the content of it ?

Once the PDF is generated, the easiest way to print it
would probably be to write it to a temporary file.
Then, you can tell it to print, which is OS specific.
So, if it was Windows, it might be named something like:
pdfname=c:\temp\printpdf\asrcpdiu.pdf
Then, the command would be (using ghostscript):
"c:\program files\ghostgum\gsview\gsprint.exe" \
 -printer %printername% -color %pdfname%

On a Unix (such as Linux), it could be:
pdfname=/tmp/printpdf/asrcpdiu.pdf
And the command would be:
lpr "$pdfname"

(I have a Windows Python script to print from a directory, if you need it.)

I hope that that answers (the printing part of) your question.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFXOFlxzVgPqtIcfsRAsS2AJ9T645QtqdFKKQwbULPouv3tugrVQCbBaDX
mcL3ZSQopXBbz4D2GcW/oQM=
=QXEn
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to