|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Printing PDF's randomly outputs junk charactersHi there,
I am not sure if this is an Acrobat or Itext issue. I have read a feew people have had this problem and not many replies have come in. Basically I have a system that creates PDF's that the user can choose to print if they want. Usually everything runs smoothly, the PDF's diplay properly and print properly. randomnly, it seems, a PDF will display properly but print with junk characters. So it doesn't come out correctly. Now I create and close the documents correctly before makig them available for download through my servlet. I do not embed any fonts and would like to avoid it as Arial is ~300KB in size. I don't really get the embed font thing, so correct me if my size estimation is wrong, I was going with the size of the Arial TTF file. As I now all the end users are using windows, I figured Arial was common enough to not have to embed. All of the users are opening the acrobat file from Outlook Express. I am not sure if that has an effect. So they open an attachment from the email, and that then opens Acrobat. The only reason I mention that is that somebody else metione dthat they thought it was only happening whn coming out of Outlook Express, but still only happening randomly. If anyone can confirm that it would be appreciated. HAs anyone else had this problem, anyone found a solution??? Regards Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions |
|
|
Re: Printing PDF's randomly outputs junk charactersSteve Vanspall wrote:
> Has anyone else had this problem, anyone found a solution??? I once spent some time on a similar problem at work. The problem never occured when I was around. Then I got an idea: I printed a large document and I shut down the PC of the end user before the document was completely printed. Junk characters appeared. Problem solved. A pity I couldn't charge the end-user for wasting my time. br, Bruno ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions |
|
|
Re: Printing PDF's randomly outputs junk charactersThanks for that,
having clarified the problem a bit, it only really seems to happen when they are printing a large number of the generated PDF's. They are definately not shutting down the PC before printing finishes. It does seem to suggest that something residual is haging around in the printer buffer or in the info the acrobat is serving to the printer. I guess my main worry, is how can I check to make sure the PDF I am creating is coming out intact, I am 99% sure that the generated PDF's are not the problem, but would like to be 100% sure. Is there a way to check the integrity of a PDF file?? thanks Steve Bruno Lowagie wrote: > Steve Vanspall wrote: > >> Has anyone else had this problem, anyone found a solution??? > > > I once spent some time on a similar problem at work. > The problem never occured when I was around. > Then I got an idea: I printed a large document > and I shut down the PC of the end user before > the document was completely printed. > Junk characters appeared. Problem solved. > A pity I couldn't charge the end-user for wasting > my time. > br, > Bruno > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > iText-questions mailing list > iText-questions@... > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions |
|
|
Re: Printing PDF's randomly outputs junk charactersMaybe you should set the printer to print only after the document is
completely spooled. Usually, printers start printing when they receive th first page of the document, and that could be the real problem. On 1/17/06, Steve Vanspall <svanspal@...> wrote: > Thanks for that, > > having clarified the problem a bit, it only really seems to happen when > they are printing a large number of the generated PDF's. They are > definately not shutting down the PC before printing finishes. > > It does seem to suggest that something residual is haging around in the > printer buffer or in the info the acrobat is serving to the printer. > > I guess my main worry, is how can I check to make sure the PDF I am > creating is coming out intact, > > I am 99% sure that the generated PDF's are not the problem, but would > like to be 100% sure. > > Is there a way to check the integrity of a PDF file?? > > thanks > > Steve > > Bruno Lowagie wrote: > > > Steve Vanspall wrote: > > > >> Has anyone else had this problem, anyone found a solution??? > > > > > > I once spent some time on a similar problem at work. > > The problem never occured when I was around. > > Then I got an idea: I printed a large document > > and I shut down the PC of the end user before > > the document was completely printed. > > Junk characters appeared. Problem solved. > > A pity I couldn't charge the end-user for wasting > > my time. > > br, > > Bruno > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > > iText-questions mailing list > > iText-questions@... > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > iText-questions mailing list > iText-questions@... > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions |
|
|
|
|
|
Re: Printing PDF's randomly outputs junk charactersSteve,
What you described sounds like a problem I am tracking also. For me it isn't really 'random' text. It too one of our support people a while to find out it is really Rot1'd. See the iText email: [iText-questions] Re: PDF printing from Reader is randomly ROT1'ing the printed page(s) And specifically: Re: [iText-questions] Problems with text added to PDF when opened from Adobe Reade 7.0 Do you see: BJSQMBOF instead of AIRPLANE? [Rot1 (like the old ROT13)... thus all text is shifted up by one ASCII character, also a space would become a '!'] [If you don't see Rot1, is it possible you have another rotation?] Is it only when printing or on the screen? If it is when printing, from inside the same Reader 7.0, if you reprint it is fine? [Worst case requiring up to 2 reprints, then fine?] I don't have a repeatable case yet. I have had multiple customer reports though. In my case it only occurs when printing to printers that use Postscript in the Microsoft print driver. I don't have an answer yet though. I need a more repeatable testcase. I met a person from Adobe, who is thinking it might be a Postscript driver issue in 7.0. I don't have a solid repeatable testcase but if we could get one I know who to contact. Ping me if this matches what you see. -Jeff Jeff Buhrt Achievement Focused Technology, Inc. buhrt@... 317-513-3238 Steve Vanspall wrote: > Hi there, > > I am not sure if this is an Acrobat or Itext issue. > > I have read a feew people have had this problem and not many replies > have come in. > > Basically I have a system that creates PDF's that the user can choose > to print if they want. > > Usually everything runs smoothly, the PDF's diplay properly and print > properly. > > randomnly, it seems, a PDF will display properly but print with junk > characters. So it doesn't come out correctly. > > Now I create and close the documents correctly before makig them > available for download through my servlet. I do not embed any fonts > and would like to avoid it as Arial is ~300KB in size. I don't really > get the embed font thing, so correct me if my size estimation is > wrong, I was going with the size of the Arial TTF file. > > As I now all the end users are using windows, I figured Arial was > common enough to not have to embed. > > All of the users are opening the acrobat file from Outlook Express. I > am not sure if that has an effect. So they open an attachment from the > email, and that then opens Acrobat. > > The only reason I mention that is that somebody else metione dthat > they thought it was only happening whn coming out of Outlook Express, > but still only happening randomly. If anyone can confirm that it would > be appreciated. > > HAs anyone else had this problem, anyone found a solution??? > > Regards > > Steve > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > iText-questions mailing list > iText-questions@... > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions |
|
|
Re: Printing PDF's randomly outputs junk charactersAmong everything that apeeasrs in my itext inbox, I competely missed
this reply. As a later email states, this is exactly the problem I am having. Someone else has suggested that Print As Image prints correctly each time. It's not a great solution but it is one. I havne't been able to confirm it myself. Like you said, it's anot repeatable, the exact same PDF will print without a problem the next time around. I only found out a couple of weeks ago about the rot1 thing when i client actually sent me the printout of the PDF, and then it clicked. Any solutions?? Steve Jeff Buhrt wrote: > Steve, > > What you described sounds like a problem I am tracking also. For me it > isn't really 'random' text. It too one of our support people a while > to find out it is really Rot1'd. > > See the iText email: > [iText-questions] Re: PDF printing from Reader is randomly ROT1'ing > the printed page(s) > And specifically: > Re: [iText-questions] Problems with text added to PDF when opened from > Adobe Reade 7.0 > > Do you see: BJSQMBOF instead of AIRPLANE? [Rot1 (like the old > ROT13)... thus all text is shifted up by one ASCII character, also a > space would become a '!'] [If you don't see Rot1, is it possible you > have another rotation?] > Is it only when printing or on the screen? > If it is when printing, from inside the same Reader 7.0, if you > reprint it is fine? [Worst case requiring up to 2 reprints, then fine?] > > I don't have a repeatable case yet. I have had multiple customer > reports though. In my case it only occurs when printing to printers > that use Postscript in the Microsoft print driver. I don't have an > answer yet though. I need a more repeatable testcase. > > I met a person from Adobe, who is thinking it might be a Postscript > driver issue in 7.0. I don't have a solid repeatable testcase but if > we could get one I know who to contact. > > Ping me if this matches what you see. > > -Jeff > > Jeff Buhrt > Achievement Focused Technology, Inc. > buhrt@... > 317-513-3238 > > Steve Vanspall wrote: > >> Hi there, >> >> I am not sure if this is an Acrobat or Itext issue. >> >> I have read a feew people have had this problem and not many replies >> have come in. >> >> Basically I have a system that creates PDF's that the user can choose >> to print if they want. >> >> Usually everything runs smoothly, the PDF's diplay properly and print >> properly. >> >> randomnly, it seems, a PDF will display properly but print with junk >> characters. So it doesn't come out correctly. >> >> Now I create and close the documents correctly before makig them >> available for download through my servlet. I do not embed any fonts >> and would like to avoid it as Arial is ~300KB in size. I don't really >> get the embed font thing, so correct me if my size estimation is >> wrong, I was going with the size of the Arial TTF file. >> >> As I now all the end users are using windows, I figured Arial was >> common enough to not have to embed. >> >> All of the users are opening the acrobat file from Outlook Express. I >> am not sure if that has an effect. So they open an attachment from >> the email, and that then opens Acrobat. >> >> The only reason I mention that is that somebody else metione dthat >> they thought it was only happening whn coming out of Outlook Express, >> but still only happening randomly. If anyone can confirm that it >> would be appreciated. >> >> HAs anyone else had this problem, anyone found a solution??? >> >> Regards >> >> Steve >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >> _______________________________________________ >> iText-questions mailing list >> iText-questions@... >> https://lists.sourceforge.net/lists/listinfo/itext-questions >> > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@... https://lists.sourceforge.net/lists/listinfo/itext-questions |
|
|
Re: Printing PDF's randomly outputs junk charactersI'm experiencing the same problem for some end users, only I'm not able to reproduce it myself. My question is:
- Did you embed the fonts in your PDF? I'm currently not embedding the fonts, but will absolutely consider it if that can prevent the character shift issue. |
| Free embeddable forum powered by Nabble | Forum Help |