« Return to Thread: iText PDF not getting printed properly in Solaris

Re: iText PDF not getting printed properly in Solaris

by rledesma_redsky :: Rate this Message:

Reply to Author | View in Thread

Hi,

I am having the same problem.. I'm trying to print a pdf using acroread in solaris. when I'm trying to print it.. It's printing garbage.. this is weird. windows can do it w/o hassle...

any help from you guyz?

1T3XT info wrote:
Amitava Paul wrote:
> Hello,
>         I am using iText to generate a PDF and trying to print it.It is
> properly getting printed from window/command prompt

So the PDF is OK. There's no problem with it.

> but prints garbage
> from Solaris machine.

What kind of garbage? Does the garbage start with %PDF-1.4
or something like that? Maybe you're just printing the file
without rendering it first.

> I am using the latest iText Jar and the PDF
> version is 1.4. I tried different path like creating the PDF in Solaris
> box and print it using lp -d command.

LOL You're funny ;-)

> I then
> used java print API and directly send stream to the printer form Solaris
> box. Same result i.e. garbage.

That's also funny ;-)

> Everything is fine from Windows box.
> Problem with Solaris only. Could you please tell me what could be the
> reason.

Er... You need a PDF viewer!
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

 « Return to Thread: iText PDF not getting printed properly in Solaris