Which unix command for converting xml to pdf

Anybody know the command in unix to convert docbook xml to PDF???
is it xsltproc or pdfwrite???
thanx

"ooba" <[email protected]> wrote in message
news:gl2klg$rap$[email protected]..
>I know this is the Flex Group, but I'm getting no love
from the Flash
>group.
> 1. I need to build a thick client
> 2. I have 0 experience with Flex or AIR
> 3. I have built alot of Flash web components and a few
thick clients
> 4. I only have one week to get something working
>
> Can anyone tell me if it is even possible for Flash to
generate a PDF file
> from an imported XML file? or to browse a systems and
allow the user to
> select
> an xml file to load?
You'd need to upload the file to a server and have the server
do this.
> I need to have the client select an xml file that and
the thick client
> would
> then use a predefined xsl file and (missing this part)
need to convert the
> xml
> out to a human readable PDF format.
Depending on what server-side technology you are using, there
are probably
PDF libraries you could use.
> If you have another suggestion on how to do this please
post suggestions.
>
> All I know right now is that I need to construct a thick
client to do
> this,
> and being that Flash has been what I have built thick
clients on before
> I'd
> like to do it in Flash rather than try and figure out
how to do it in C#
> .Net
> in less than a week.
You won't be able to do it with Flash or Flex alone.
HTH;
Amy

Similar Messages

  • Unix Command for tracing WebIntelligence Server

    Hi All,
    Please can any one tell me that what is the Unix command for tracing WebIntelligence Server. I know we use -trace parameter. But where do we use this parameter? With which script do we use it? Please give me complete command for the same.
    Thanks & Regards,
    Ani

    Hi
    Refer "To configure server tracing through the command line"  page number 207 in http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_bip_admin_en.pdf
    This guide is for Windows but should be same for UNIX
    Regards
    Ashiwni

  • Oracle IBR : API for converting files in PDF

    IBR and WCC Version : 11.1.1.6.0
    Currently We have configured IBR with UCM for converting documents to PDF format. Is there ant IBR API available so that without checking in the document in WCC , we can call the IBR API and get the document converted to PDF and it would be done through synchronous call.
    thanks in advance.
    Yogesh
    Edited by: user10285200 on Mar 28, 2013 12:18 AM

    Hi Yogesh ,
    Without having the content in WCC server you can convert it to PDF using the OIT Modules which is the actual engine that does the processing in WCC as well . For doing this you will need to have the PDFExport module deployed on your client machine and then with that conversion can be done .
    This is the link for OIT PDF Export module : http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html
    Infact all the modules of content processing / conversion can be done as an independent stand alone application using OIT . Each of those modules are available from the above link.
    Hope this helps .
    Thanks,
    Srinath

  • UNIX command for Energy Saver settings - Set Schedule

    Using ARD 3, can anyone help me with a UNIX command for setting the scheduled sleep and wake times for 10.4 clients?
    Thanks,
    Josh

    Thanks for getting me on the right track, I've been working with pmset for a couple days now and I'm having some problems getting my basic schedule that I'd like to work. I'm hoping for another nudge in the right direction. Here's the scenario:
    I need the computers to wake at 7am on weekdays and to sleep at 3:30pm on weekdays as well. I've also got an addition to make the displays sleep after half an hour of inactivity, Here's what I'm trying.
    pmset repeat wake MTWRF 7:00:00;
    pmset repeat sleep MTWRF 15:30:00;
    systemsetup -setdisplaysleep 30;
    I've been trying to push this out as a batch of commands in a template which would be slick, but the problem I'm having is that the two pmset commands don't get along and whichever one is run last cancels out the other. In the actual System Prefs of the machine I'm sending the commands to, there are the two check boxes for Wake or Power On and the other for Sleep or Power Down but I can't get them both to be checked from my UNIX commands.
    Could anyone please help, I feel like I'm so close!
    Regards,
    Josh

  • Call Pipeline in orchestration for converting XML to flat file

    Hi ,
    Can we call Pipeline in orchestration for converting XML to flat file ?
    Or we have some another option for this task ?
    Prakash

    Hi,
    You can refer this article from Abdul Rafay on how to work with Flat files and how to call receive and send pipelines within your orchestration. He
    has provided detailed step by step explanation of the process.
    Calling Send and Receive Pipelines
    from the orchestration expression shapes
    The code shared by Abdul at http://abdulrafaysbiztalk.wordpress.com/files/2009/06/processingflatfiles.doc (Change the extention to rar) and try it.
    One common mistake I have seen people doing will working with Flat File Assembler is that they miss to set the Document schema property in the Properties
    window to the flat file schema.
    If the Document schema property is not specified, runtime schema discovery will be attempted. During schema discovery, BizTalk Server attempts
    to determine the correct flat file schema to assemble the message with, based on the namespace and root node of the message, its added performance hit.
    Rachit

  • I download itext  for convert jsp to PDF. How to set content type for PDF.

    I download itext for convert jsp to PDF. How to set content type for PDF. I try
    <%@ page contentType = "application/pdf;charset=TIS-620" %>
    , but the page does not PDF.
    Thank.

    PDF files are usually binary files, JSPs are not well-suited for binary content.
    (If you download the result of your JSP you'll see that it is not a valid PDF file; it will have probably a lot of whitespace and linefeeds, that will choke your PDF reader.). The first few characters must be
    "%PDF-" without whitespace.
    You can try using PDF files encoded as text - check if you can use text-encoded PDFs in iText.
    Try using a Servlet instead.

  • Can this script be converted to a UNIX command for ARD?

    First I'd like to thank "Neil" again for providing the script below:
    set the_versions to (do shell script "mdls -name kMDItemVersion /Applications/Microsoft\\ Office\\ 2011/Microsoft\\ Excel.app")
    set the_versions to the_versions & return & (do shell script "mdls -name kMDItemVersion /Applications/Adobe\\ Reader.app")
    set the_versions to the_versions & return & (do shell script "mdls -name kMDItemVersion /Applications/Safari.app")
    set the_versions to the_versions & return & (do shell script "mdls -name kMDItemVersion /Applications/Google\\ Chrome.app")
    set the_versions to the_versions & return & (do shell script "mdls -name kMDItemVersion /Applications/Adobe\\ Acrobat\\ X\\ Pro/Adobe\\ Acrobat\\ Pro.app")
    set the_versions to the_versions & return & (do shell script "SW_vers")
    Output for this script yields exactly what I requested in the thread.  Ex:
    "kMDItemVersion = \"14.4.1\"
    kMDItemVersion = \"11.0.07\"
    kMDItemVersion = \"7.0.4\"
    kMDItemVersion = \"35.0.1916.114\"
    kMDItemVersion = \"10.1.10\"
    ProductName:          Mac OS X
    ProductVersion:          10.9.3
    BuildVersion:          13D65"
    I'd like to be able to run this command (or a variation) in Apple Remote Desktop (ARD) remotely, and as a UNIX command in order to generate a similar ARD report if possible.  Even better, I'd like the report to include the Application name and I'd like it to not to halt if an Application isn't present. My guess is that functionality like this for ARD would help a LOT of ARD Administrators because it would seem that the only way to do anything similar is to derive the metadata piecemeal (machine by machine) or end up having to wade through a ton of unwanted content using a full System Report...  Thanks.

    Forum software NOW prevents posting complete shell scripts. You'll have to piece together the code.
    First build an array of the applications that you are looking for in this form. Note; I truncated the applications.
    apps=( "/Applications/Microsoft Office 2011/Microsoft Excel.app" "/Applications/Adobe Reader.app" "/Applications/Safari.app" )
    Next loop thru the array
    for i in "${apps[@]}"; do
         printf "%s: %s\n" "$i" "$(mdls -name kMDItemVersion "$i")"
    done
    If you want to create a report then change the above loop to the following
    for i in "${apps[@]}"; do
         printf "%s: %s\n" "$i" "$(mdls -name kMDItemVersion "$i")"
    done > app_report.txt
    sw_vers >> app_report.txt
    Message was edited by: Mark Jalbert

  • Pre-configure save location for converting files to PDF from shell context menu

    Hi all,
    I like Acrobat's integration into the Windows Explorer through the shell context menu command "Convert to PDF", which allows me to drag select a number of files (word documents et cetera) to batch convert them into PDF. It beats doing batch processing fr the Acrobat interface.
    However, it asks me for the save location of each file individually. I would like to have them saved in the same directory as the original file, as the default option so I won't have to attend to the conversion. I can't find such an option in Acrobat's preferences menu though
    Any gurus or users here know of a way around that?
    Regards,
    Jay

    Does your user have custom add-ons besides the Acrobat PDFMaker add-on?  If so, try disabling the other add-ons as a test to see if you get the same results.
    Does your user have a custom template?  Try moving it out and using the standard MS Word template as test?
    Did your user have a previous installation of Adobe Acrobat??  If so, check the Add-ons to see if an older version is still registered with MS Word.

  • Convert xml to pdf?

    hi everyone!
    From my jsp, i can generate the xml file that i need to display in PDF.. i am really new to java.. ive read that i may use big faceless report generator to convert it to pdf but i cant get the desired result. maybe i am missing some parts of the code.
    what do you suggest for me to do?
    could someone post a complete source code that i may use/pattern my work to.. it will serve as my guide..
    here is the xml that i generated..
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    - <html>
    - <head>
    <title>SummaryOfTransactionsReport</title>
    </head>
    - <body>
    - <font style="font-weight: bold; text-align: left;" size="2">
    <span style="font-family: Tahoma;">TRANSACTIONS</span>
    </font>
    - <font style="font-weight: bold; text-align: left;" size="2">
    <span style="font-family: Tahoma;">PER COMPANY, BY PREMIUM TYPE</span>
    </font>
    - <font style="font-weight: bold; text-align: left;" size="2">
    <span style="font-family: Tahoma;">September 2007</span>
    </font>
    - <table style="text-align: left; width: 1140px; height: 60px;" border="1" cellpadding="2" cellspacing="2">
    - <tbody>
    - <tr>
    <td style="width: 300px;" />
    - <td style="text-align: center;" colspan="14">
    - <font size="2">
    <span style="font-weight: bold; font-family: Tahoma;">Premium Type (Please see legend below)</span>
    </font>
    </td>
    <td />
    </tr>
    - <tr>
    - <td style="width: 700px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    Company Name
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    1
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    2
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    3
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    4
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    5
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    6
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    7
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    8
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    9
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    10
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    11
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    12
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    13
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    14
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: center;">
    - <font size="2">
    - <span style="font-weight: bold; font-family: Tahoma;">
    Total
    </span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="text-align: left">
    - <font size="2">
    <span style="font-family: Tahoma;">SOUTH SEA SURETY AND INSURANCE CO.,INC.</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">610.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">1200.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">740.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">1100.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">250.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">1750.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">2120.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">4150.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">11920.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="text-align: left">
    - <font size="2">
    <span style="font-family: Tahoma;">SQL*WIZARD,INC.</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">560.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">610.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">1200.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">740.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">1100.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">1450.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">1610.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">3440.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">3150.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">0.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">720.00</span>
    </font>
    </td>
    - <td style="text-align: right">
    - <font size="2">
    <span style="font-family: Tahoma;">14580.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 500px; text-align: left;">
    - <font size="2">
    <span style="font-weight: bold; font-family: Tahoma;">Total</span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    560.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    1220.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    2400.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    1480.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    2200.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    1450.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    250.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    1610.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    1750.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    3440.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    2120.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    3150.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    4150.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    720.00
    </span>
    </font>
    </td>
    - <td style="width: 100px; text-align: right;">
    - <font size="2">
    - <span style="font-family: Tahoma;">
    26500.00
    </span>
    </font>
    </td>
    </tr>
    </tbody>
    </table>
    <br style="font-weight: bold;" />
    - <table style="text-align: left;" border="1" cellpadding="2" cellspacing="2">
    - <tbody>
    - <tr>
    - <td style="width: 450px; text-align: center;">
    - <font size="2">
    <span style="font-weight: bold; font-family: Tahoma;">Legend:</span>
    </font>
    </td>
    - <td style="text-align: center; width: 52px;">
    - <font size="2">
    <span style="font-weight: bold; font-family: Tahoma;">Premium Amount</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">1. Private Cars (Including jeeps and utility vehicles)</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">560.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">2. Light/Medium Trucks(Own Goods) Not Over 3,930 kgs.</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">610.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">3. Heavy Trucks (Own Goods) and Private Buses over 3,930 kgs.</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">1,200.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">4. AC and Tourist Cars</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">740.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">5. Taxi, PUJ and Mini Bus</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">1,100.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">6. PUB and Tourist Bus</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">1,450.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">7. Motorcycles/Tricycles/Trailers</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">250.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">8. Private Cars (Including jeeps & utility vehicles)</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">1,610.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">9. Light/Medium Trucks(Own Goods) Not Over 3,930 kgs.</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">1,750.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">10. Heavy Trucks (Own Goods) and Private Buses over 3,930 kgs.</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">3,440.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">11. AC and Touris Cars</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">2,120.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">12. Taxi, PUJ and Mini Bus</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">3,150.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">13. PUB and Tourist Bus</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">4,150.00</span>
    </font>
    </td>
    </tr>
    - <tr>
    - <td style="width: 450px; text-align: left;">
    - <font size="2">
    <span style="font-family: Tahoma;">14. Motorcycles/Tricycles/Trailers</span>
    </font>
    </td>
    - <td style="text-align: right; width: 52px;">
    - <font size="2">
    <span style="font-family: Tahoma;">720.00</span>
    </font>
    </td>
    </tr>
    </tbody>
    </table>
    </body>
    </html>
    your help will really be appreciated. thanks in advance..

    hi.
    This is my jsp.. Supposedly, Its output must be an xml file.. I am not sure if what i did was right..
    <%@ page contentType="text/xml" %>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
    <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <html>
    <head>
    <title>SummaryOfTransactionsReport</title>
    </head>
    <body>
    <font style="font-weight: bold; text-align: left;" size="2"><span     style="font-family: Tahoma;">TRANSACTIONS</span></font>
    <font style="font-weight: bold; text-align: left;" size="2"><span     style="font-family: Tahoma;">PER COMPANY, BY PREMIUM TYPE</span></font>
    <font style="font-weight: bold; text-align: left;" size="2"><span     style="font-family: Tahoma;"><bean:write name="dateCreatedToPrint" /></span></font>
    <table style="text-align: left; width: 1140px; height: 60px;" border="1"
         cellpadding="2" cellspacing="2">
         <tbody>
              <tr>
                   <td style="width: 300px;"></td>
                   <td style="text-align: center;" colspan="14"><font size="2"><span style="font-weight: bold; font-family: Tahoma;">Premium Type
                   (Please see legend below)</span></font></td>
                   <td></td>
              </tr>
              <tr>
                   <td style="width: 700px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">Company Name
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">1
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">2
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">3
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">4
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">5
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">6
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">7
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">8
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">9
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">10
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">11
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">12
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">13
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">14
    </span></font></td>
                   <td style="width: 100px; text-align: center;"><font size="2"><span     style="font-weight: bold; font-family: Tahoma;">Total
    </span></font></td>
              </tr>
              <c:forEach var="transactionDetails" items="${listOfAllTransactionDetails}">
                   <tr>
                        <td style="text-align: left"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.orgaName}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType1}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType2}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType3}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType4}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType5}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType6}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType7}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType8}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType9}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType10}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType11}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType12}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType13}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.premAmountType14}" escapeXml="false" /></span></font></td>
                        <td style="text-align: right"><font size="2"><span     style="font-family: Tahoma;"><c:out value="${transactionDetails.total}" escapeXml="false" /></span></font></td>
                   </tr>
              </c:forEach>
    </tbody>
    </table>
    </body>
    </html>
    This is a portion of my jsp.. What am trying to do is to generate an xml file of the supposed output of this jsp w/out the first 2 lines.. But what I am getting are the ones that I posted first. I am still working on my stylesheet..
    Thanks.

  • Solutions for converting HTML to PDF programatically?

    to start off i should say that i am rather new to programming in java.
    here's what i am attempting to do.
    i need to write a java class that will get an HTML string as input... and needs to spit out a PDF file (or outputstream) as output. i have spent the last week or trying to accomplish this using XSL-FO and the FOP library. this solution does not work too well because XSL-FO and FOP do not handle complex table layouts very well (since they require the number of columns and column widths to be known in advance). it seems that FOP (and XSL-FO) is better suited to handling structured XML input... not something unstructured and complex as HTML.
    are there any other libraries/APIs that are out there that are specifically well suited to HTML -> PDF conversion?
    remember this needs to be done programatically, and will probably be invoked as a webservice.
    thanks,
    vivek

    #1 There are definite copyright issues with your
    software. Before you go live with anything like this,
    make sure you're not gonna get reamed.Ehh? I didn't see anything from the OP's question that implied this. Yes, if he uses it to mine commercial web sites and convert them to PDF's there's a problem, but aside from that, where's the danger?
    #2 The PDF part is the easy part. As the other poster
    said, lowagie iText can do PDF. The rendered HTML is
    a much bigger question. The smaller issue is that web
    pages are defined to fit your browser window, so
    you've got to choose a size. The much tougher problem
    is finding a decent HTML renderer in Java. In truth,
    I don't think there is one; JEditorPane is a piece of
    ****, and opera is really not a lot better. Not at all. The OP specifically mentioned web services, so we don't need to assume that Swing is involved. You can, using a 3rd party library (google for java pdf), have a servlet or jsp render its output as a PDF document.

  • Unix command for turning file sharing off

    Is there a Unix command I can use to turn off file sharing on Leopard ( as well as Tiger ) laptops? I don't mean a command to kill it for the session, I need it off even if the system is restarted. Yes, I can do it though the Preferences, but I need to do it to over 200 some laptops. We have ARD and if we had a Unix command to send to turn file sharing off that would be helpful. Thank you.

    There is a CLI for just about everything. From the [OS X Leopard Security Configuration Guide|http://images.apple.com/server/macosx/docs/LeopardSecurity_Config20080530.pdf]:
    To disable FTP.
    launctl unload -w /System/Library/LaunchDaemons/ftp.plist
    To disable SMB.
    defaults delete /Library/Preferences/SystemConfiguration/com.apple.smb.server EnabledServices
    launctl unload -w /System/Library/LaunchDaemons/nmbd.plist
    launctl unload -w /System/Library/LaunchDaemons/smbd.plist
    To disable AFP.
    launctl unload -w /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist

  • Jar file for converting html to pdf

    Does anybody have jar file for converting a html document to pdf?

    Are u particular about using jar file ?
    I have developed form which converts any type of files especially word, txt ,html to pdf. Let me check if I have that
    Rajesh ALex

  • What are methods for converting otf to pdf format in sap script

    Hi,
    I have a requirement in script i have to convert that that otf file to pdf format,when i use function modules its corrupting that pdf file,So i want convert otf to pdf using class method any one can help me for that.If any sample coding for class method.
    Thanks.

    ok
    CALL FUNCTION 'CONVERT_OTF'
         EXPORTING
           format                = 'PDF'
    *      max_linewidth         = 255
         IMPORTING
           bin_filesize          = lv_bin_filesize
    *      bin_file              = pdf_xstring
         TABLES
           otf                   = lt_otf
           lines                 = lt_pdf_table
         EXCEPTIONS
           err_max_linewidth     = 1
           err_format            = 2
           err_conv_not_possible = 3
           err_bad_otf           = 4
           OTHERS                = 5.
    CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
          bin_filesize                    = lv_bin_filesize
          filename                        = c_name
          filetype                        = 'BIN'
    *     APPEND                          = ' '
    *     WRITE_FIELD_SEPARATOR           = ' '
    *     HEADER                          = '00'
    *     TRUNC_TRAILING_BLANKS           = ' '
    *     WRITE_LF                        = 'X'
    *     COL_SELECT                      = ' '
    *     COL_SELECT_MASK                 = ' '
    *     DAT_MODE                        = ' '
    *     CONFIRM_OVERWRITE               = ' '
    *     NO_AUTH_CHECK                   = ' '
    *     CODEPAGE                        = ' '
    *     IGNORE_CERR                     = ABAP_TRUE
    *     REPLACEMENT                     = '#'
    *     WRITE_BOM                       = ' '
    *     TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *     WK1_N_FORMAT                    = ' '
    *     WK1_N_SIZE                      = ' '
    *     WK1_T_FORMAT                    = ' '
    *     WK1_T_SIZE                      = ' '
    *     WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    *     SHOW_TRANSFER_STATUS            = ABAP_TRUE
    *     VIRUS_SCAN_PROFILE              = '/SCET/GUI_DOWNLOAD'
    *   IMPORTING
    *     FILELENGTH                      =
         TABLES
           data_tab                        = lt_pdf_table
    *     FIELDNAMES                      =
        EXCEPTIONS
          file_write_error                = 1
          no_batch                        = 2
          gui_refuse_filetransfer         = 3
          invalid_type                    = 4
          no_authority                    = 5
          unknown_error                   = 6
          header_not_allowed              = 7
          separator_not_allowed           = 8
          filesize_not_allowed            = 9
          header_too_long                 = 10
          dp_error_create                 = 11
          dp_error_send                   = 12
          dp_error_write                  = 13
          unknown_dp_error                = 14
          access_denied                   = 15
          dp_out_of_memory                = 16
          disk_full                       = 17
          dp_timeout                      = 18
          file_not_found                  = 19
          dataprovider_exception          = 20
          control_flush_error             = 21
          OTHERS                          = 22.
       IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    TRY.
           GET PARAMETER ID 'RECEIPTENT' FIELD lvs_recipient1.
           send_request = cl_bcs=>create_persistent( ).
    *      lt_attach_bin = cl_document_bcs=>xstring_to_solix( ip_xstring = lt_solix ).
           APPEND 'Test message' TO lt_text.
           l_sub_50 = lc_test1.
           document = cl_document_bcs=>create_document( i_type    = 'RAW'
                                                        i_text    = lt_text
                                                        i_subject = l_sub_50 ).
           document->add_attachment( i_attachment_type    = 'PDF'
                                     i_attachment_subject = 'script.pdf'
                                     i_att_content_hex    =  lt_attach_bin ).
           l_sub_line = lc_test1.
           TRY.
    * Build subject line for email.
               CALL METHOD send_request->set_message_subject
                 EXPORTING
                   ip_subject = l_sub_line.
             CATCH cx_send_req_bcs INTO loref_obj_error.
               PERFORM sub_catch_error1 USING loref_obj_error.
           ENDTRY.
           send_request->set_document( document ).
    *      sender    = cl_cam_address_bcs=>create_internet_address( '[email protected]' ).
           recipient1 = lvs_recipient1-objkey.
           recipient = cl_cam_address_bcs=>create_internet_address( '[email protected]' ).
    *      send_request->set_sender( sender ).
           send_request->add_recipient( i_recipient = recipient
                                        i_express   = 'X' ).
           sent_to_all = send_request->send( i_with_error_screen = 'X' ).
           COMMIT WORK.
         CATCH cx_bcs INTO bcs_exception.
           MESSAGE 'eee' TYPE 'S'.
           EXIT.
       ENDTRY.

  • Developing custom translator for converting xml to edi

    Hi Gurus,
    I am trying to justify using Oracle B2B if my only requirement is to be able to translate data from flat files to EDI and vice versa.
    My use case is
    Application Data ------------> ESB ---------------------------------------> Custom Translator --------------------------> EDI Document
    ........................(flat file).................(flat file converted to XML)........................ convert xml to edi
    Is this solution possible. If so, can somebody share details about how to write these custom translators.
    tia,
    Amit

    Thanks so much for your responses.
    What I have seen so far is that if <G_SN1> contains two entries of <S_N1> then the error above is generated (Could only identify segment S_N1 as dirty!).
    For instance,
    <G_SN1><S_N1><D_98>VN</D_98><D_66>1</D_66><D_67>0000010003</D_67></S_N1> <S_N1><D_98>ST</D_98><D_66>1</D_66><D_67>0000010003</D_67></S_N1></G_SN1>
    Is there a way to modify the mapping in Seeburger in such a way that it would allow/accept two occurrence of <S_N1> under <G_SN1>?

  • UNIX command for disabling Firewall in Leopard?

    I'd like to use ARD to send a unix command to all my Macs running Leopard that will set the OS's application firewall to "allow all incoming connections." I believe that's the default setting, but I've run into some machines that are setting specific access - not sure how, don't really care, just want to turn it off.
    I've been reading up on /usr/libexec/ApplicationFirewall/socketfilterfw but the Help seems incomplete and I'm not sure this will accomplish what I'm after.

    defaults write /Library/Preferences/com.apple.sharing.firewall state -boolean No
    followed by a reboot works like a charm. thanks for you help.

Maybe you are looking for