Forum Replies Created
-
AuthorPosts
-
in reply to: Automatically open print dialog January 13, 2010 at 11:27#27654
@wilvec wrote:
although i think that the tags are
<pd4ml:parameters>and<pd4ml:parameter>Right, we changed my initial idea with the tag naming and managed to implement the feature in v360b2
in reply to: Troubleshooting January 15, 2010 at 05:09#26315Using: pd4ml.pro.trial.dotnet20.351b1
I have successfully built a test component which uses PD4ML to create a PDF from my test HTML document, but when I tried to hook this into the service I need to demonstrate it from, the pd4ml reference is rejected because it lacks a strong name.
Is this something I can tweak around in my C# project settings, or do I need a build of PD4ML with a strong name key included in it?
in reply to: General questions / FAQ January 15, 2010 at 10:46#26316We are in the process of evaluating pd4ml. We require to generate a PDF from multiple urls, however for each url we wish to specify a different html width via the setHtmlWidth() method. It does not appear to be possible to do this from the API or am I missing something? Any advice would be appreciated.
in reply to: pd4ml does not have a strong name January 15, 2010 at 16:05#27783In order to workaround the issue try to run a command-line (on the target machine) like the following upon all DLLs, distributed with PD4ML.NET:
sn.exe -Vr pd4ml.dllin reply to: How to rename the auto generated pdf file before creation? January 15, 2010 at 18:35#27751Glad you found a solution.
If you need to define a default PDF file name to prompt to store on the client side, you may define the following attributes of
<pd4ml:transform><pd4ml:transform ... fileName="<%=fileName %>" inline="false">in reply to: Editable PDF January 15, 2010 at 18:51#27544PDF format itself is not intended to be edited. Normally you author your documents in a word processor (or in our case in HTML editor) and convert it to the “final” print-ready format: PDF.
There are some tools, which allow you to slightly modify PDF documents – for example, to substitute placeholders. But a full text editing of PDF with such tools would be rather a pain.
By default PD4ML does not protect PDFs from being edited. In order to disable that you would need to explicitly disable the editing permissions with setPermissions() API call.
in reply to: pd4ml does not have a strong name January 17, 2010 at 21:06#27784Verification skipping is not allowed on these dll’s;
“pd4ml.dll does not represent a strongly named assembly”Knew I was gonna have to read that part of the manual one day…
in reply to: pd4ml does not have a strong name January 19, 2010 at 11:43#27785I’ve requested a special build to workaround the issue. Hopefully it will be ready tomorrow.
in reply to: Troubleshooting January 22, 2010 at 06:57#26318Hi,
I am having an HTML file with contents as both English and Japanese characters. The charset of the page is set to UTF-8 in a meta tag. This page gets displayed properly in the browser. When I say ‘properly’, I mean that both the Japanese & English characters get displayed correctly. But, when I convert this page to PDF using PD4ML pro, the generated PDF does not display the page properly.The code snippet used to generate is
FileOutputStream fos = new FileOutputStream(outFile); PD4ML pd4ml = new PD4ML(); pd4ml.setPageInsets(new Insets(30, 40, 30, 20)); pd4ml.setHtmlWidth(950); pd4ml.adjustHtmlWidth(); pd4ml.enableDebugInfo(); pd4ml.render("file:" + inFile, fos);Any help will be appreciated!
in reply to: Problem in displaying Japanese characters January 22, 2010 at 11:17#27803The following information should help:
pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.htmlin reply to: HTML/CSS rendering issues January 22, 2010 at 22:25#26319Hi,
I need to specify a simple table in a footer. Copyright to the left and page number to the right. This should be easy to do with a html table and align the columns left and right.
When I try this it will only align to the left.
<td style="background-color: white; vertical-align: bottom;" align="right">We are using: pd4ml.volume.360b2
Thanks
Jensin reply to: PD4PageMark doesn’t align tables January 22, 2010 at 22:27#27805Did you define width=100% for the table?
in reply to: General questions / FAQ January 25, 2010 at 12:43#26320Hi
i have executed my url i didn’t have get any exception but i haven’t get a graph
but when some cases i have get a graph
please help mehere i have sent a url when i hit the code i get like this but graph not plotted
image http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Availability&er_measure=AVAILABILITY&&er_width=300&er_height=200 not found. can not load image: /final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Availability&er_measure=AVAILABILITY&&er_width=300&er_height=200 image not yet in cache: http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Pkt_loss_pct&er_measure=PKT_LOSS_PCT&&er_width=300&er_height=200 not yet in cache: http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Pkt_loss_pct&er_measure=PKT_LOSS_PCT&&er_width=300&er_height=200 resource http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Pkt_loss_pct&er_measure=PKT_LOSS_PCT&&er_width=300&er_height=200 not found. image http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Pkt_loss_pct&er_measure=PKT_LOSS_PCT&&er_width=300&er_height=200 not found. can not load image: /final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Pkt_loss_pct&er_measure=PKT_LOSS_PCT&&er_width=300&er_height=200 image not yet in cache: http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Avg_delay&er_measure=AVG_RND_TRIP&&er_width=300&er_height=200 not yet in cache: http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Avg_delay&er_measure=AVG_RND_TRIP&&er_width=300&er_height=200 resource http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Avg_delay&er_measure=AVG_RND_TRIP&&er_width=300&er_height=200 not found. image not yet in cache: http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Min_delay&er_measure=MIN_RND_TRIP&&er_width=300&er_height=200 not yet in cache: http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Min_delay&er_measure=MIN_RND_TRIP&&er_width=300&er_height=200 resource http://192.168.10.29:7077/final/servlet/com.eg.ErMicroTimeC?startdate=Jan 24, 2010&er_usertimeline=-1&userID=admin&enddate=Jan 25, 2010&trendenable=true&er_gtype=Measure&er_trenddata=No&us_id=admin&reporttype=operation&inidate=MMM dd, yyyy&enlarged=&starthr=17&option=Graph&currTime=&er_period=&detailtime=-1&er_mode=3D&er_ViewName=ErReporterMenu.jsp&er_reportType=operation&endmin=44&er_time=null&fromSchedule=null&uid=admin&getMaxDaysInMonth=31&schedule_id=null&er_timeline=1 day&endhr=17&isSubmit=true&er_search=&startmin=44&printGraph=yes&er_rtype=Network&er_component=Dir150&er_test=NetworkTest&er_disp_meas=Min_delay&er_measure=MIN_RND_TRIP&&er_width=300&er_height=200 not found. image not yet in cache: http://192.168.10.29:7077/final/reporter/images/purple/tray-corner.gif not yet in cache: http://192.168.10.29:7077/final/reporter/images/purple/tray-corner.gif image size: 352 done in 875ms. done.
Regards,
Dinesh.Nin reply to: graph not plotted January 25, 2010 at 13:31#27807I suspect it is because of spaces in the image URL string.
How do
tag look like in your HTML?
in reply to: HTML/CSS rendering issues January 25, 2010 at 16:18#26321We have to jsp include many pages for a print-overview.
Problem: The pages have all a own<body></body>section.
pd4ml (unlike the browser) stops parsing after the first</body>.Is there a way to tell pd4ml to parse the complete stream?
Thank you
-
AuthorPosts
