DO NOT REPLY [Bug 4403] New: - Error while creating area : no protocol
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4403. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4403 Error while creating area : no protocol Summary: Error while creating area : no protocol Product: Fop Version: all Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: images AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I'm trying to display a JPG image on a PDF form. I get an error which says: Error while creating area : no protocol This is the code I'm using fo:block text-align=end fo:external-graphic height=109px src=C:\Dimple\images\BANK.JPG width=99px/fo:external-graphicImage/fo:block If you could let me know how I can fix this, I would really appreciate it Thanks! Dimple - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
passing parameters to Xalan
Hello, Is it possible to pass parameters to the XSLT stylesheet that Xalan uses when running fop from a command prompt (or a batch file)? If so, what is the form the command? I don't see anything in the docs or examples to indicate that this is possible. thanks much, Matthew L. Avizinis mailto:[EMAIL PROTECTED] Gleim Publications, Inc. 4201 NW 95th Blvd. Gainesville, FL 32606 (352)-375-0772 ext. 101 www.gleim.com http://www.gleim.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
How can I set the margins in a pdf to be printed?
Title: How can I set the margins in a pdf to be printed? I have generated a pdf that has a barcode 3/16 of an inch from the left side of the page (a normal 8.5 x 11 page), and when I open up the pdf in Acrobat, it shows it exactly like it is suppose to. However, when I print the pdf, the printer (HP 5si) prints the barcode more than 1/4 from the left side of the page (about 7/16 off the side). If I set my barcode to start on the left side of the page, the printer prints the barcode a 1/4 from the side. I thought that my printer could print closer to the edge, but I am not sure how to get the pdf to print this way It seem there is a disconnect between what is shown on the screen vs. what is printed. Any thoughts? Thanks -Andrew
Re: XSl-FO question
I don't know, Max, I interpret role more narrowly than that. The spec indicates that role is meant to assist alternate renderers. Here we are talking about identifying XML elements so that an XSLT transformation can do some work on them; so this all should happen prior to formatting and ought not be handled by using XSL-FO. IMO. In effect it is immaterial to the question as to whether it is an fo:block that contains a date field or it is an igglfix:blah. Regards, Arved Sandstrom P.S. Please hold your questions concerning the igglfix namespace and the powerful IGGLFIX 1.0 vocabulary. :-) At 10:44 AM 10/24/01 +0200, Max Froumentin wrote: The role attribute is supposed to be used to add semantics to formatting objects. Either it can contain a simple string (prboably date in your case), or a QName from your own namespace. [1] http://www.w3.org/TR/xsl/slice7.html#role Max. You wrote: During the concatenation process, I need to find all the dates throughout the different reports and update them to the current date. Is there an easy way to mark a fo:block as containing a date string? I tried using the id=date attribute, but you can't use that multiple times per document. But I need something similiar to distinguish parts of the document that are related. Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Table Column-Headers
Title: Table Column-Headers I'm dynamically generating a table that can have a variable number of rows. In the situation where the table spans multiple pages, I would like to have the first row contain the column labels. I've been able to do this using a style sheet, but it requires that the height of each row be fixed (which I would like to avoid). From the documentation, fo:table-caption can host a table, which could be set up to be a one-row table that contains the column headers. From what I've read, this caption can be made to repeat after crossing a page boundary. Before trying this, I'd like to get some feed back from those more experienced with FOP regarding this approach. I'm using the latest version, 20.2. Thanks in advance, Chris W.
insertion of named destinations into pdf's
I also noticed that the basic-links are inserted about 10-15mm _above_ the text of link itself. Is this a known defect or is there some other setting to be made to put the link in the same location as the text you want anchored. thanks again, Hello, I saw a brief discussion several (probably about six) months ago about this topic and the outcome didn't seem clear to me whether or not fop supports insertion of name destinations in pdf's (not bookmarks) so that it would be possible to open a pdf to a specific location from either another program or another pdf. As far as I can tell with the examples, newlinktest.fo and link.fo, it is possible to bounce around within a document and to link to another document. However, it looks like it only links to the top of the file, not to some destination in the middle of the file. If it is possible, how would you specify it? Is there some functionality to fo:basic-link that I am missing or is there something undocumented I am not aware of? I never thought I'd need this particular functionality, but it has been thrown at me for put-everything-else-aside implementation. Thanks ahead for any creative and positive suggestions. Matthew L. Avizinis mailto:[EMAIL PROTECTED] Gleim Publications, Inc. 4201 NW 95th Blvd. Gainesville, FL 32606 (352)-375-0772 ext. 101 www.gleim.com http://www.gleim.com === Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without my permission, however keg parties are ok. There is no intention to create any legally binding contract or other commitment, like marriage, through the use of this email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: [vote] merging FOP and jfor
At 11:16 AM 10/24/01 +0200, Stefano Mazzocchi wrote: In order to do this, Bertrand will receive active developer status and will volunteer to perform the merging with the rest of the dev community. Just to make sure things don't fall through the cracks, _someone_ somewhere _is_ making sure that Bertrand gets set up as a FOP committer, correct? :-) Regards, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
At 08:37 AM 10/24/01 -0500, Jim Urban wrote: Here is another thing I need to do. I have a single document which contains reports for multiple locations. I need to reset the page number on a location change. IE: Report contains 3 locations. The first location gets 3 pages, the second 2 pages and the third 4 pages. Currently FOP is generating Page 1 of 9, Page 2 of 9 etc. I need to generate Page 1 of 3, Page 2 of 3, Page 3 of 3, Page 1 of 2, Page 2 of 2, Page 1 of 4 etc. How do I go this? Page numbers are associated with fo:page-sequence. So the reports for each location will have to be in separate page-sequences...just reset the initial-page-number to the desired starting integer value (1 in this case). Regards, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: table-header with (Con't)
Anyone have any ideas? As powerful as FO is, I would think it would have some facility for this situation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 8:54 AM To: [EMAIL PROTECTED] Subject: RE: table-header with (Con't) Sorry. I guess I misunderstood your question. Jim Urban [EMAIL PROTECTED] on 10/23/2001 11:39:10 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: table-header with (Con't) Lou, Would you please see if you can find the code. I need to be able to change the contents of the header on the fly. This will give me a starting point. Thanks, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: RE: table-header with (Con't) Jim: We did something a while back using the following archaic procedure: 1. get current page # into var 2. use xsl:if to determine whether to put out Cont I don't have the code readily available, but if you really need it I can take a look. -Lou Jim Urban [EMAIL PROTECTED] on 10/23/2001 10:12:21 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: table-header with (Con't) Does anyone have an answer to this question? I need to do the same thing. Thanks, Jim -Original Message- From: Matt Savino [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:50 AM To: [EMAIL PROTECTED] Subject: table-header with (Con't) Is there anyway to get a table header to print differently after the first time/page? Namely I want to reprint the title above a particular table everytime the page breaks, but I want to add '(Con't)' to the end of the title. I'm already using a page header and then a table header within that. These blocks are sub-tables with their own headers within that master table. So far, thanks to your help I've managed to avoid counting rows. I hope there's a solution to this problem as well. Thanks a lot, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: How can I set the margins in a pdf to be printed?
Title: How can I set the margins in a pdf to be printed? Hi Andrew, Check your Acrobat setting 'Fit to page' on the print dialogue box. If this is checked, it may mean that the PDF content gets scaled into the printable area. HTH, Joshua -Original Message-From: Clute, Andrew [mailto:[EMAIL PROTECTED]]Sent: Thursday,25 October 2001 4:15To: '[EMAIL PROTECTED] 'Subject: How can I set the margins in a pdf to be printed? I have generated a pdf that has a barcode 3/16" of an inch from the left side of the page (a normal 8.5 x 11 page), and when I open up the pdf in Acrobat, it shows it exactly like it is suppose to. However, when I print the pdf, the printer (HP 5si) prints the barcode more than 1/4" from the left side of the page (about 7/16" off the side). If I set my barcode to start on the left side of the page, the printer prints the barcode a 1/4" from the side. I thought that my printer could print closer to the edge, but I am not sure how to get the pdf to print this way It seem there is a disconnect between what is shown on the screen vs. what is printed. Any thoughts? Thanks -Andrew -- This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
external graphic
2 questions, sorry to bother, have posted 3 times to the comp.text.xml newsgroup without response. 1) I am unable to get a image to show up in the pdf file. fo:static-content flow-name=xsl-region-before fo:block fo:external-graphic src=images/logoTDHS.gif/Image Here /fo:block fo:block text-align=center font-size=24ptMEMORANDUM /fo:block fo:block text-align=center font-size=16ptCompany XYZ /fo:block /fo:static-content 2) how do it get the following on 1 line? XSL xsl:if test=$level = 'req' or $level = 'app' or $level = 'copy' fo:block xsl:value-of select=text()/fo:block text-align=endDate: xsl:value-of select=date/ /fo:block /fo:block /xsl:if XML reqRequested by: David SmithdateOctober 17, 2001/date /req Current Output Requested by : David Smith Date: October 17, 2001 appears right justified on next line Desired Output Requested by : David Smith Date: October 17,2001 Kenneth Chesak Sybase/Oracle DBA 438-5890 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 4415] New: - scaling=uniform does not work on images...
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4415. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4415 scaling=uniform does not work on images... Summary: scaling=uniform does not work on images... Product: Fop Version: 0.17 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: images AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I want to fit an image of any size into a specified space (for example 10mm x 10mm). But the aspect ratio is never checked - the image is always scaled in both directions to fit in the whole space. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: How can I set the margins in a pdf to be printed?
Title: How can I set the margins in a pdf to be printed? Hey Andrew: Its not uncommon for printers to move Acrobat margins so the edge of the document does not get cut off. Usually, you can fix this (if youre printing from Acrobat Reader) by checking Page Setup to make sure that Acrobat is not shrinking the document to fit the page. Sometimes, this can take a bit of hunting around (it depends on your version of Acrobat and printer drivers). Weve had similar problems in the past, and can usually resolve them by tweaking the page setup around. Hope that helps! jw -Original Message- From: Clute, Andrew [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 3:51 PM To: '[EMAIL PROTECTED]' Subject: How can I set the margins in a pdf to be printed? I have generated a pdf that has a barcode 3/16 of an inch from the left side of the page (a normal 8.5 x 11 page), and when I open up the pdf in Acrobat, it shows it exactly like it is suppose to. However, when I print the pdf, the printer (HP 5si) prints the barcode more than 1/4 from the left side of the page (about 7/16 off the side). If I set my barcode to start on the left side of the page, the printer prints the barcode a 1/4 from the side. I thought that my printer could print closer to the edge, but I am not sure how to get the pdf to print this way It seem there is a disconnect between what is shown on the screen vs. what is printed. Any thoughts? Thanks -Andrew
Centering image on a page...
I want to center an image, of a size I don't know, on a page in horizontal and vertical direction. How could that be done? Christian DIRON Wirtschaftsinformatik GmbH Co. KG Christian Beer ([EMAIL PROTECTED]) Daimlerweg 39-41Tel. : +49(251)979-200 48163 Muenster Fax : +49(251)979-2020 Germany Email: [EMAIL PROTECTED] BESUCHEN SIE UNS AUF DER INTERNET WORLD IN NEW YORK VISIT US AT THE INTERNET WORLD IN NEW YORK 10.-14. Dezember 2001 - December 10th-14th 2001 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Access to network printer denied from Fop Servlet to send PCL
I am using JRUN 3.1 (eval) with IIS 4.0. I am generating FO string and I want to generate PCL and send it to the network printer. The code I use is given below: String printer =TS0001T01//prn1; sendToPrinter(fopString,printer); public static void sendToPrinter(String foString,String printerName) throws ServletException, IOException, FOPException { InputSource foSource = new InputSource(new StringReader(foString)); FileOutputStream out = new FileOutputStream(printerName); Driver driver = new Driver(foSource,out); driver.setRenderer(Driver.RENDER_PCL); driver.run(); out.close(); } But I get FileIO Exception and Access denied. However I am able to copy the PCL file to printer from the server machine DOS window and that works fine. ( Copy /b t.pcl //TS0001T01/prn1). I tried to run a batch job by constructing this in a command line(with Runtime.getruntime().exec). Then also I get Access denied message in the log. Any ideas? Thanks _raj _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: How can I set the margins in a pdf to be printed?
Title: RE: How can I set the margins in a pdf to be printed? I should have mentioned that...I have done both settings. Seems I can't have Acrobat overwrite the default margin settings for the 5si -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 10/25/2001 2:44 AM Subject: RE: How can I set the margins in a pdf to be printed? Hi Andrew, Check your Acrobat setting 'Fit to page' on the print dialogue box. If this is checked, it may mean that the PDF content gets scaled into the printable area. HTH, Joshua -Original Message- From: Clute, Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday,25 October 2001 4:15 To: '[EMAIL PROTECTED] ' Subject: How can I set the margins in a pdf to be printed? I have generated a pdf that has a barcode 3/16 of an inch from the left side of the page (a normal 8.5 x 11 page), and when I open up the pdf in Acrobat, it shows it exactly like it is suppose to. However, when I print the pdf, the printer (HP 5si) prints the barcode more than 1/4 from the left side of the page (about 7/16 off the side). If I set my barcode to start on the left side of the page, the printer prints the barcode a 1/4 from the side. I thought that my printer could print closer to the edge, but I am not sure how to get the pdf to print this way It seem there is a disconnect between what is shown on the screen vs. what is printed. Any thoughts? Thanks -Andrew -- This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
Re: external graphic
Hi, 1) I am unable to get a image to show up in the pdf file. fo:static-content flow-name=xsl-region-before fo:block fo:external-graphic src=images/logoTDHS.gif/Image Here /fo:block fo:block text-align=center font-size=24ptMEMORANDUM /fo:block fo:block text-align=center font-size=16ptCompany XYZ /fo:block /fo:static-content Either use the whole file URL and mention it as file:/home/venkar/test.jpg or if u are using it this way, make the images directory in the same folder from where u run the FOP command. 2) how do it get the following on 1 line? XSL xsl:if test=$level = 'req' or $level = 'app' or $level = 'copy' fo:block xsl:value-of select=text()/fo:block text-align=endDate: xsl:value-of select=date/ /fo:block /fo:block /xsl:if Create a fo:table item with these two as cells of the table. HTH Raj __ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: passing parameters to Xalan
Yep. thanks much. that's what i'm currently doing. i just wanted to know if there was that shortcut. matthew a -Original Message- From: Alistair Hopkins [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 5:23 AM To: [EMAIL PROTECTED] Subject: RE: passing parameters to Xalan Do a two step, first to fop then to pdf It's easier to debug anyway as you get the .fop file to inspect xalan has well-documented parameter passing at http://xml.apache.org/xalan-j/commandline.html with the -PARAM flag Alistair -Original Message- From: Matthew L. Avizinis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 9:33 PM To: [EMAIL PROTECTED] Subject: passing parameters to Xalan Hello, Is it possible to pass parameters to the XSLT stylesheet that Xalan uses when running fop from a command prompt (or a batch file)? If so, what is the form the command? I don't see anything in the docs or examples to indicate that this is possible. thanks much, Matthew L. Avizinis mailto:[EMAIL PROTECTED] Gleim Publications, Inc. 4201 NW 95th Blvd. Gainesville, FL 32606 (352)-375-0772 ext. 101 www.gleim.com http://www.gleim.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]