|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
iText PDF not getting printed properly in SolarisHello,
I am using iText to generate a PDF and trying to print it.It is
properly getting printed from window/command prompt but prints garbage
from Solaris machine. 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. It was printing garbage. I then
used java print API and directly send stream to the printer form
Solaris box. Same result i.e. garbage. Everything is fine from Windows
box. Problem with Solaris only. Could you please tell me what could be
the reason.-- Thanx & Regards, Amitava Paul ------------------------------------------------------------------------------ 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@... https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php |
|
|
Re: iText PDF not getting printed properly in SolarisAmitava 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@... https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php |
|
|
Re: iText PDF not getting printed properly in SolarisHi,
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?
|
|
|
Re: iText PDF not getting printed properly in Solarisrledesma_redsky wrote:
> 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? Do you have a scan of the printout? br, Bruno ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ |
|
|
Re: iText PDF not getting printed properly in SolarisIt's printing like this:
%%Version 1.2 %%CreationDate (Tue Jun 30 11:29:30 2009) %%For: ((oraappr2@<unknown host>)) %%Title: 'ssnum' (Oracle Toolkit Application) %%LanguageLevel:1 %%Requirements: numcopies(1) blah..blah..blah..blah..blah..blah..blah..blah..blah.. this is all about printing properties... this is not the actual output of the pdf.. the pdf file contains a simple text. "test print" that's it. but unfortunately that is not the output when I'm trying to print in solaris.
|
|
|
Re: iText PDF not getting printed properly in Solarisrledesma_redsky wrote:
> It's printing like this: > > %%Version 1.2 > %%CreationDate (Tue Jun 30 11:29:30 2009) > %%For: ((oraappr2@<unknown host>)) > %%Title: 'ssnum' (Oracle Toolkit Application) > %%LanguageLevel:1 > %%Requirements: numcopies(1) > blah..blah..blah..blah..blah..blah..blah..blah..blah.. > > this is all about printing properties... this is not the actual output of > the pdf.. > the pdf file contains a simple text. "test print" that's it. but > unfortunately that is not the output when I'm > trying to print in solaris. LOL! You're making the same joke as the OP. Saying that output is gibberish is equivalent to me saying your question is non sense. (But would such an answer help you solve the problem?) What you are showing is a postscript header. There's nothing wrong with the PDF. Nor is there anything wrong with Adobe. Except that Adobe assumes that you are printing to a PostScript printer. In other words: you've probably installed the wrong printer driver. Installing printer drivers on Solaris to print document created with an Oracle product is off-topic on the iText mailing list. br, Bruno ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ |
|
|
Re: iText PDF not getting printed properly in SolarisThis is not a joke. This is a problem that needs a good answer.
I might not using Itext but I'm relating it to PDF printing in solaris that prints garbage. I know that there is nothing wrong with my pdf file or ADOBE Acro because as I said it's working in windows and printing properly. But anyway with your answer "Except that Adobe assumes that you are printing to a PostScript printer." gives me an idea that it might be the reason why. Thanks for that. And sorry for posting my problem here in "ITEXT TOPIC" it's just somehow related to me about printing garbage. Regarding the oracle that's not the point.. just ignore that. It's not part of the problem.
|
|
|
Re: iText PDF not getting printed properly in Solarisrledesma_redsky wrote:
> But anyway with your answer "Except that Adobe assumes that you are printing > to a PostScript printer." gives me an idea that it might be the reason why. > > Thanks for that. And sorry for posting my problem here in "ITEXT TOPIC" it's > just somehow related to me about printing garbage. Please understand that the printer is NOT PRINTING GARBAGE!!! Garbage is non sense; stuff without meaning; random characters. The snippet you posted makes perfect sense!!! It's syntactically correct! Do a proper install of your printer (driver) and the problem will disappear. ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ |
| Free embeddable forum powered by Nabble | Forum Help |