XSL-FO PDF question

Dear all,
I am using Jdev. 10.1.3, and use FOP to print the reports.
I want to ask is it possible to control the size and position of the pdf which show in the browser?
i.e. I want show the pdf within a browser: left hand side show the fields and right hand side show the result (pdf).
Regards.

We do not support or answer questions on FOP .. get to XMLP and we'll help you out :o)
regards, Tim

Similar Messages

  • Print to PDF questions

    I have two questions. I have Acrobat 7 running on 10.5.2 on a new MBP.
    1. I can no longer successfully select the Adobe printer from the printer pop-u[p menu in the print dialog box. If I do, things seem to proceed, but the printer immediately goes to pause and will not resume. This is not a major problem, as the PDF button appears at the bottom left and that will save the file to PDF. But I am curious as to why the Adobe "virtual" printer no longer works.
    2. Previously, when using the PDF button, I could edit the menu and save PDFs to a folder of my choice. Now, when I select "edit the menu" and then hit the "+" button, I get the appropriate dialog box but cannot select a folder. I can open folders, but cannot select them as the "save to" folder. Any help here would be appreciated.

    BoySetsTheFire wrote:
    I have two questions. I have Acrobat 7 running on 10.5.2 on a new MBP.
    1. I can no longer successfully select the Adobe printer from the printer pop-u[p menu in the print dialog box. If I do, things seem to proceed, but the printer immediately goes to pause and will not resume. This is not a major problem, as the PDF button appears at the bottom left and that will save the file to PDF. But I am curious as to why the Adobe "virtual" printer no longer works.
    Some things that used to work in Tiger no longer work in Leopard. I suspect that Adobe did not rush to fix it because there is built-in way to generate PDF files already.
    2. Previously, when using the PDF button, I could edit the menu and save PDFs to a folder of my choice. Now, when I select "edit the menu" and then hit the "+" button, I get the appropriate dialog box but cannot select a folder. I can open folders, but cannot select them as the "save to" folder. Any help here would be appreciated.
    The Edit Menu feature is not designed to select a folder to save your PDF files into. It is so you can select an Automator workflow script to process your PDF file. That's how it handles such tasks as Mail PDF and Save PDF to iPhoto. You could create an Automator script to save a PDF to a particular folder, but in my experience, once you save a PDF to a folder, it becomes the default folder automatically until you select a different one.

  • Converting xml/xsl to pdf

    Hi,
    I am using apache's FOP 0.20.3, xerces 2.0.0.beta4 and xalan j.2.2.0 to convert xml/xsl file to pdf. The code is same as the one given in the org.apache.fop.apps.Driver class.
    <pre>
         Driver driver = new Driver();
         driver.setRenderer(Driver.RENDER_PDF);
         InputHandler inputHandler = new XSLTInputHandler(new File(xmlFile), new File(xslFile));
         try
              XMLReader parser = inputHandler.getParser();
              driver.setOutputStream(new FileOutputStream(outFile));
              driver.render(parser, inputHandler.getInputSource());
         catch (FOPException fope)
              fope.printStackTrace();
         catch (FileNotFoundException fnfe)
              fnfe.printStackTrace();
    </pre>
    The xml and xsl files I am using are glossary.xml and glossary.xsl files that come with FOP.
    Now, this code compiles successfully and while running gives the following exception:
    <pre>
    [ERROR]: Logger not set
    [INFO]: building formatting object tree
    [INFO]: [1]
    org.apache.fop.apps.FOPException: java.lang.NullPointerException
         at org.apache.fop.apps.Driver.render(Driver.java:486)
         at XmlToPdf2.<init>(XmlToPdf2.java:28)
         at XmlToPdf2.main(XmlToPdf2.java:42)
    java.lang.RuntimeException: java.lang.NullPointerException
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1132)
         at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:481)
         at XmlToPdf2.<init>(XmlToPdf2.java:28)
         at XmlToPdf2.main(XmlToPdf2.java:42)
    java.lang.RuntimeException: java.lang.NullPointerException
         at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)
         at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
         at org.apache.xerces.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:629)
         at org.apache.xerces.impl.XMLNamespaceBinder.endDocument(XMLNamespaceBinder.java:702)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(XMLDTDValidator.java:974)
         at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerImpl.java:445)
         at org.apache.xerces.impl.XMLEntityManager.endEntity(XMLEntityManager.java:1123)
         at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(XMLEntityManager.java:3078)
         at org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(XMLEntityManager.java:2766)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(XMLDocumentScannerImpl.java:995)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:332)
         at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:510)
         at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:557)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1096)
         at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:481)
         at XmlToPdf2.<init>(XmlToPdf2.java:28)
         at XmlToPdf2.main(XmlToPdf2.java:42)
    java.lang.RuntimeException: java.lang.NullPointerException
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1132)
         at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:481)
         at XmlToPdf2.<init>(XmlToPdf2.java:28)
         at XmlToPdf2.main(XmlToPdf2.java:42)
    java.lang.RuntimeException: java.lang.NullPointerException
         at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)
         at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
         at org.apache.xerces.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:629)
         at org.apache.xerces.impl.XMLNamespaceBinder.endDocument(XMLNamespaceBinder.java:702)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(XMLDTDValidator.java:974)
         at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerImpl.java:445)
         at org.apache.xerces.impl.XMLEntityManager.endEntity(XMLEntityManager.java:1123)
         at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(XMLEntityManager.java:3078)
         at org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(XMLEntityManager.java:2766)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(XMLDocumentScannerImpl.java:995)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:332)
         at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:510)
         at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:557)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1096)
         at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:481)
         at XmlToPdf2.<init>(XmlToPdf2.java:28)
         at XmlToPdf2.main(XmlToPdf2.java:42)
    </pre>
    Can anybody help?

    Hi,
    I also facing same problem,did you get the solution.
    I am using apache's FOP 0.20.3, xerces-1.2.3 and xalan-2.0.0 and jdk1.3 with weblogic5.1 to convert xml/xsl file to pdf. The code is same as the one given in the org.apache.fop.apps.Driver class.
    please give me sample code.
    thanks,
    [email protected]

  • Saving a pdf question

    Okay, I have a pdf I have created that has multiple fields that are set to hidden in the docReady command. Those fields are displayed only when certain events take place and are sometimes hidden again after another event takes place. The problem I am having (Or the question I am asking) is how would I keep the form from hiding those fields again when the completed form is opened later on as a reference in adobe reader.
    For example... My customer information field is set to hidden (To avoid clutter when filling out other fields) until I click a button at the end of the form to display that field. The problem I have noticed is that by putting the customer information into a subform set to hidden on the docready event, when the saved form containing my filled out form also HIDES that customer field when its opened in reader. I want the completed form to open with that customer field visible (and filled out) when the person reading the information I have put in the form opens the form. Thanks for your help and you time

    Hi,
    You could wrap the docReady script in an if statement.
    If the field(s) are null then set their presence to hidden, otherwise set their presence to visible.
    if (customerSubform.customerName == null)
         customerSubform.presence = "hidden";
    else
         customerSubform.presence = "visible";
    This is Javascript and would work in the docReady. You would need to adapt the object references.
    Hope that helps,
    Niall

  • Error in "Download a pdf" question

    Sorry. In haste my question said "download". I can download pdfs OK. It is when I try to COPY to Desktop that the refusal occurs because of space. I have 200G space on C:\. Please advise.

    Can you copy other items to the desktop?
    Can you just put a shortcut to the desktop?
    Assuming you are on Windows, what version?
    And what is the exact error message you are getting?

  • BarCode in PDF Question

    Hi, I try to make bar code in a PDF form. Question is, how can I make the value move from one field to another and bypassing something in between those field. For example:
    On the form on my end, I have Passport Number, Name, Exp. Date, DoB etc...the Customer would send in a form with Passport Number, Name, DoB (Bypassing the Exp.Date since this value is automatically calculated). The system is closed so I have to do with barcode. Any one please tell me how I can program the barcode so it can bypass the Exp.Date part.
    Thanks

    When you set up a bar code field, you can specify which fields you want to be included on the Value tab of the field properties dialog.

  • Proprietary Sys.= XML= XSL-FO= PDF In memory transform

    I am trying to preform an in memory creation of a pdf (using XSL-FO and FOP) from data contained in a proprietary system.
    The process I am using is:
    1: get xml of the data in the proprietary system (this works and the xml is fine)
    2: create the XSL-FO using the xml from stage 1 and an xslt (where I am going wrong)
    3: transform the xml to pdf (this works if I save the XSL-FO.xml and the xslt used to disk and then run FOP seperately)
    When I run the code I get a Fatal Error from FOP - Content not allowed in prolog. When I write the XSL-FO file to disk and look at it, it's not been transformed to XSL-FO and is missing all the mark-up.
    I have put the code below - any help would be very appreciated.
    Thanks
    // Setup XML input - The methods to create the initial xml return a String
    StringReader inSource = new StringReader( inResult );
    // Setup XSLT Stylesheet - The fo styles are stored in the proprietary system
    String foXSL = getStyleSheet("FOStyleSheet");
    ByteArrayOutputStream foXMLba = new ByteArrayOutputStream();
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer transformer = factory.newTransformer( new StreamSource( new StringReader( foXSL ) ) );
    Result foRes = new StreamResult( foXMLba );
    transformer.transform( new StreamSource( inSource), foRes );
    Driver driver = new Driver();
    driver.setRenderer( Driver.RENDER_PDF );
    ByteArrayOutputStream pdfOut = new ByteArrayOutputStream();
    driver.setOutputStream( pdfOut );
    driver.setInputSource( new InputSource( in_foResult ) );
    driver.run();

    an xslt (where I am going wrong)Yes, I would say that's a good guess at your problem. It does indeed sound like one of the common XSLT errors, where none of your templates are being matched and the default handling takes over; all that does is to copy the text nodes to the output.
    PC&#178;

  • Classic 'Flatten PDF' question

    So I have created a fairly complex fillable form in Acrobat Pro (10.1.8)... I have saved it for use by other users in Adobe Reader. (File>Save As>Reader Extended PDF>Enable Additional Features...)
    The users can open file in Adobe Reader just fine, all formulas work, all values display correctly, life is grand.
    Now all I want is for the user to save a 'flattened' version of the pdf to their machine, either to print or email at a later date. If the user saves the document from Reader all fields can still be edited on next use. If I use a "lock all field" button like this:
    for (var i=0; i<this.numFields; i++) {
        var f = this.getField(this.getNthFieldName(i));
        if (f!=null && f.type!="button")
            f.readonly = true;
    When I open the saved, field locked document, I lose all the formatting in my fields. (ie. no $ symbols, or commas in numbers, etc. )
    And of course, there is no "print to pdf" option when you try and go that route... which of course, would make life too easy, wouldn't it?
    So. Does anyone have a solution for what I can only imagine is a fairly common problem? I've searched high and low to no avail.

    I think I am now realizing the problem here. I wasn't real clear on the difference between Reader and Acrobat. I have always referred to them a Adobe Acrobat Pro and Adobe Acrobat Reader. I realize now that the term "Acrobat" refers to what I called Pro and Reader is actually Adobe Reader, not Acrobat Reader.
    So my question (or concern) is still, "Why did Adobe design a method of creating a file that could be changed by anyone along the line?" If I create an interactive form, send it to a client, he fills it out and sends it to someone else, they can change the data in the form. Not a very secure system if you ask me. Seems like there should be a way for the person filling out the form to "flatten" it so no one else can change the data.
    You mentioned something about a signature. I am not familiar with this function. If you can explain that quickly to me I would appreciate it. If not I will spend some time to figure it out. Although I find the help files in Acrobat very NON intuitive.

  • Export as PDF question

    Hello guys,
    I have just created business card. It is created in Photoshop, using 300 dpi and CMYK setting.
    My printshop requires PDF file, so I hit save as PDF, but it asks me more questions about additional export setting and I am not
    sure which to choose so I would end up with the best possible quality.
    Here are the choices to choose from:
    Encoding - ZIP or JPEG ? 
    Image interpolation - checked or unchecked ? 
    Include Vector Data - checked or unchecked ? 
    Could you please give me an idea, what choices to make so I would obtain the best possible picture quality PDF?
    Thank you so much for any advise.
    Paul

    Well as a prepress tech I can tell you 99% of the time the PDF/X settings are printer settings. That is what it is there for. Takes all the guess work out of it. Do one in PDF/X3 and one in PDF/X4 (if you have it, it is new). Let your printer decide; that will depend on their capabilities.
    ZIP and JPEG are forms of compression. Neither is needed for printing, it just makes the file smaller for sending. Zip is lossless and the best quality, JPEG looses quality but you get to decide how much to make the file size smaller. Choose none if file size is not an issue.
    Image interpolation has to do with color management and if you do not know what you are doing leave it at the default. If you do, check with your printer first.
    Printers rasterize all vector data in the ripping process. You can choose to do that before in the creation of your PDF if you do not want to leave it to your printers rip.
    These are all decisions having to do with the type of work you do and the confidence you have in your printer.

  • Printing to pdf question CS5.5 Windows

    I am on a PC - Windows 7 using CS5.5.
    - I have created a piece and printed to a pdf.
    - When the person on the other end prints out the margins are all off. I realize and pointed out they are using an office printer, not a high end printer. The print out seems to be proportionately reduced towards the middle\center.
    - They will have their job done at a Kinko's and I have assured them the Kinko's printer is probably all right and will adjust. I called Kinkos and asked if it needed a specific pdf profile and they said "No."
    - I have sent screen shots of the layout showing measure mark every 1/8 of an inch (placed viewable lines on the layout) so they could see how all is measured properly vis-a-vis InDesign.
    - I checked and there is zero bleed and gutter (guter doesn't apply in this case but made sure anyway).
    QUESTION - Is there anything else I can do\try or can it be the printers we are using.
    Thanks for any illumination you can give me.
    Respectfully,
    B

    Although you didn't ask about this specifically, your original post mentions that you printed to a PDF. My assumption is that you were saying that you created the PDF file by printing to the Adobe PDF PostScript printer driver instance.
    Be aware that Adobe absolutely recommends that PDF from InDesign be created by using the export function instead of the printing to the Adobe PDF PostScript printer driver instance or in any other way creating PDF via distillation of PostScript. Direct PDF export from InDesign (and the equivalent save as PDF from Illustrator and Photoshop) yields the most accurate and reliable PDF. The PostScript produced by Adobe applications is optimized for direct printing, not for PDF creation and is often very device dependent. Live transparency and color management is effectively lost and fonts are not optimized. There are other problems and issues as well. Please keep this in mind when creating PDF in the future.
    Adobe does provide PDF generation capabilities as part of Acrobat via the Adobe PDF PostScript printer driver instance as a “method of last resorts” to provide PDF creation services for applications for which there is no other or better way of PDF production.
              - Dov

  • Convert xsl and xsl to pdf

    Hi,
    In our project, we generate reports using xalan parser in PDF and HTML formats. Now, my client wants them to be generated in RTF (Ms Word) format as well. As this is not possible using xalan, I tried to find out other parsers. I found one JFOR which generates RTFdocs from XSLFO. What I have is only XML and XSL documents. How can I get XSLFO document using these two? Is there any parser which generates XSLFO docs using XML and XSL? Or is there any parser which generates RTF docs directly from XML and XSL?
    Thanks
    Jagadeesh

    As this is not possible using xalanWhy is it not possible? RTF is a text format as far as I know, and you can output text from XSLT.

  • Xml pdf questions

    Trying to create a pdf from xml using asp<br /><br />I created the following code.  The form appears without the field being populated.  I went into designer pull up the pdf added some data and tried<br />to export the data as xml and xdp.  The xml shows with no data. Trie to open xdp its say unable to locate template.<br /><br />Is this xml correct?  (this is being used in designer to perform the <br />binding<br /><?xml version="1.0" encoding="UTF-8"?><br /><TextField1><value>Howard</value></TextField1><br /><br />After I have binded the field<br /><br />I use the following asp to display the pdf with<br />the one field filled in.<br /><br />Is this xml correct?<br /><br /><%<br />Response.ContentType = "application/vnd.adobe.xdp+xml"<br />response.write   "<?xml version='1.0' encoding='UTF-8'?>"<br />response.write  "<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>"<br />response.write  "<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>"<br />response.write  "<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>"<br />response.write  "<xfa:data xfa:dataNode='dataGroup'>" <br />response.write  "<form><TextField1><value><text>Howard</text></value></TextField1></form>"<br />response.write  "</xfa:data>" <br />response.write  "</xfa:datasets>"<br />response.write  "<pdf href='http://159.83.96.138/prod/myFirstShot.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />"<br />response.write  "<xfdf xmlns='http://ns.adobe.com/xfdf/' xml:space='preserve'>" <br />response.write  "<annots/>" <br />response.write  "</xfdf>" <br />response.write  "</xdp:xdp>" <br />Response.Flush <br />Response.End <br />             <br />%>

    I can't answer directly, but when discussing a specialized tool, you might also read/ask here
    Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk
    It may be that a developer can answer your questions about "why"

  • Flash content in a PDF question

    Hi,
    I have embeded a SWF into a PDF using InDesign CS3 and Acrobat Pro 8.1.7. The SWF displays and plays fine, I was able to set the psoter image in Acrobat and I set the border opion to no border. The only problem is that when a user clicks on the swf in the PDF to make it play a selection box outlines the the flash content on the page, you have to click off the page of the pdf to make it disapear. Is there a way to make this selection box invisible so that it never appears while a user is viewing the PDF?
    Thanks in advance for any help on this.

    There are two ways to do it. One is complicated, but easy for anyone to learn. The other requires Javascript, which I know nothing about.
    First, you don't want to have the movie played by double-clicking the field. That will cause the focus to stay on the movie which is the line you don't like.
    So set the movie to be hidden.
    Next, draw a button and set it to be the trigger that plays the movie.
    Depending on your layout, you can stop here. The button will play the movie and then when the movie is over focus is gone.
    But, if you want a poster of the movie on the page, you can capture a frame and save it as a PDF. Then use the Options of the Button Properties to assign an icon to the button. That will allow you to import the captured frame.
    The result will look like you clicked the movie to play it, but it was really a button.

  • Export to PDF question

    When using InDesign's Export to PDF feature to make a PDF of a book, InDesign is converting the front matter page  numbers from roman numerals (i, ii, iii) to regular numbers (1, 2, 3) in the slug line (page info) of the resulting PDF.
    How can I export to PDF and have the roman numerals appear as roman numerals in the slug line/page info of the PDF?
    If I do a file-> Print, then print to post script, then distill to make the PDF, the roman numerals appear correctly as roman numerals in the slug line/page info in the PDF.
    I need this to happen when using the export to PDF feature.

    Dear Experts,
    We are also facing the same issue. Is it an InDesign bug? Can it be overcome? Kindly suggest.
    This is a very necessary information wanted by most of the users.
    regards
    Buhari

  • Stupid PDF Question:  What's the difference between "Save As PDF" and Printing to a PDF "printer"?

    Is there a quality difference? 
    The "Save As" seems to run Distiller, but if I select "Print Document" and select "Adobe PDF" as the printer, it also seems to work OK, although I sometimes get a "Times" font not available, will be replaced by "Times New Roman", even though I can't find any reference to "times" in my book.
    Is there an advantage to running Distiller?
    Thanks!
    John
    www.controlgeek.net

    > Is there a quality difference?
    I'd expect them (as well as print-to-Ps & Distill) to be the same for the same settings.
    We print to Ps & Distill, for several reasons, not all of which may apply to you:
    More control. Distilling provides menus for everything Adobe lets you control in PDF gen. Print/SaveAs may not (and don't in our environment).
    Faster printing (Frame doesn't have to wait for the tps to pdf gen). You can get back to work while a long job renders.
    Unequal versions/different platforms. We author on FM8/Unix and Distill on Acro9/PC.
    > ... although I sometimes get a "Times" font not available, will be replaced by "Times New Roman", even though I can't find any reference to "times" in my book.
    Save the component files to MIF and examine with a plaintext editor. If not found, the font invocation is probably coming in with a text inset, or a graphic of type DWG, DXF, EPS, PDF or possibly SVG.

Maybe you are looking for

  • Airprint on HP Officejet Pro 8600

    I wonder if anybody can help. I recently bought the HP Officejet Pro 8600 mainlyu due to its airprint functionaliy. But now after the setup I cannot get airprint too work. The Apple devices simply does not pick up any printers. I have set the printer

  • Problem installing OBIEE 11.1.1.6 on Linux 64-bit

    Hi, I am trying to install OBIEE 11.1.1.6 on OEL5.8 64-bit virtual machine. The Software Only install (the recommended option when I have other WebLogic apps running) gives me a message "an application server must already be installed" when I give it

  • Off center error bars

    I'm using AI CS2, and am running OSX 10.3.9. I use the copy/ paste function to copy graphs from a graphing program (Kaleidagraph) into illustrator. Whenever I paste a line graph with error bars, the error bars are always slightly off center to the ob

  • Adding Vertical Lines in Footer

    How do I add vertical lines using Dreamweaver CS4 in my footer to divide up the various links..(as in the very bottom of this page where the various links are divided by small vertical lines)??

  • How to calculate difference in cross tab report

    Hello All, I have a cross tab report . I have values for 2 KPI's no of employees joined and no of employees left organization on monthly basis. I want to calculate employees Joined - employees left organization. Please let me know how can we achieve