RE: Newbie tarred and feathered
Rename the file to *.tar.gz as opposed to *.tar.tar and then winzip will able to guide you on your way to extracting the actual archive. -Original Message- From: David Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 2:52 PM To: [EMAIL PROTECTED] Subject: Newbie tarred and feathered I realize this is hardly a FOP problem, but opening the gift-wrapping has this newbie stymied. I found the following message and reply in the archive, which describes my problem exactly, but no particular solution is offered. Can someone enlighten me? Problem: I downloaded the latest FOP binary download (fop-0.20.5rc3a-bin.tar.tar) from the distribution site http://xml.apache.org/fop/download.htm. I dunno what a tar file is, but WinZip seems to think it can handle it, so I gather its a compressed distribution format. Winzip returns the error message Error reading header after processing 0 entries. Same result with Winzip current 8.5 release and also their beta 9.0. So how does one untar a tar? Is there a preferred tool? Or is the file damaged? David Hill, Camberley Systems, Needham MA Reply by J.Pietschmann Sounds like your untar utility is confused. I remember that *very* old tars have incompatiblities with more modern tars, in particular GNU tar, which may result in this error message. Another possiblity is that it either missed uncompressing, or that uncompressing failed and the error message was dropped somehow. In either case, you can try with another toolset, or at least identify the toolset you are using. ---original message--- Subject: Re: Newbie question about FOP Date: 2003-04-29 20:24:30 Pabolu, Adinarayana (MED, GEMS-IT) wrote: I downloaded FOP( http://xml.apache.org/dist/fop/fop-0.20.5rc2-bin.tar.gz from http://xml.apache.org/dist/fop/. It is giving error Error reading header after processing 0 entries. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Wrapping string (without spaces)...
You can also use fo:block hyphenate=true language=en area that requires automatic wrapping /fo:block. Choose the language of your choice as specified by RFC3066. - Jamie -Original Message- From: Roland Neilands [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 6:02 PM To: [EMAIL PROTECTED] Subject: RE: Wrapping string (without spaces)... How can i wrap a string(which has no spaces) inside a cell. Example, if i have string SanFrancisco. But the cell accommodate only 5 letter width. Then it has to wrap the word as SanFr ancisco Inserting zero width spaces at the right spot will trigger wrapping. Search the archives of FOP user XSL lists for zero width space, it's a FAQ. http://xml.apache.org/fop/maillist.html Cheers, Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PrintStarter.PrintRenderer printing issues with Unix
Has anyone had issues with using the code from PrintStarter.PrintRenderer when running on Solaris (or any *nix platform)? I've taken the code from that class and have modified it to use the JDK 1.4 Print Services API and the resulting application works well on Windows, providing the ability to print dynamically generated PDFs to a printer that is determined at runtime. However, the same application on Solaris causes printer errors and seems to hang. I don't believe the problem lies with FOP, as the code works on Win32 platforms. More likely, the AWT print subsystem is blame. However, I thought that maybe someone might have run into this problem using FOP in the past and may have some advice on how to troubleshoot it. One last thing, as our Solaris boxes do not have default printers, I haven't been able to test using the non-Print Services approach of printing straight to the default printer (thus eliminating the Print Services API as the culprit). However, I expect that, since the approach is the same (and the code mostly identical), that would also fail. Thanks, - Jamie Stillman CBC Companies [EMAIL PROTECTED] 614.538.6076 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]