Scrollbar appearing while creating pdf using AlivePDF

Hi,
I am facing a problem while creating pdf using AlivePDF.
I have a VBox on which I am adding multiple pages. If the content overflows it shows scrollbar. All this is working fine.
[PHP]
<mx:VBox x="0" y="80" width="705" height="560" id="content"></mx:VBox>
[/PHP]
When I create the pdf using the following code it shows scrollbar in  generated pdf (attached screenshot) while I want all the content without  scrollbar
[PHP]
var pg:DisplayObject;
pg = content.getChildAt(i);
var pdf:PDF;
pdf = new PDF (Orientation.PORTRAIT, Unit.POINT, Size.LETTER);
pdf.setDisplayMode(Display.FULL_WIDTH);
pdf.addPage();
pdf.addImage(pg, new Resize(Mode.FIT_TO_PAGE, Position.CENTERED ),0, 0, 0, 0, 0, 1,true,'PNG',100);
[/PHP]
Please suggest what changes should I make to fix this.

If the report didn't change, then perhaps the data did. Check
to make sure the data being supplied to the report is as expected.
I have run into mysterious errors where an expected value was of
the wrong type or a required value was now blank. It is also
possible to have existing logical errors in an iif() or other
dynamic evaluation expression that was not previously examined;
until now. So, is there any unexpected or exceptional data the
report cannot handle?

Similar Messages

  • Error while creating PDF using asynchronous

    Hi,
    I was using Asynchronous call to generate PDF. It was
    working for some time. Now it is showing error.
    We are not able to able to create PDF reports at that time.
    When we are checking the exception log of the CF Server, we can
    find the following error.
    "Error","Thread-16","12/05/07","10:58:51",,"Error invoking
    CFC for gateway CreatePDF: An exception occurred when performing
    document processing. The cause of this exception was that:
    java.lang.IllegalArgumentException."
    coldfusion.tagext.lang.DocumentTagException: An exception
    occurred when performing document processing.
    at
    coldfusion.tagext.lang.DocumentTag.doAfterBody(DocumentTag.java:1209)
    at
    cfGeneratePDF2ecfc1106407227$funcONINCOMINGMESSAGE.runFunction(C:\Inetpub\wwwroot\mycfsit e\reports\CF\model\GeneratePDF.cfc:343)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344)
    at
    coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
    at
    coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254)
    at
    coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)
    at
    coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169)
    at
    coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194)
    at
    coldfusion.filter.EventComponentFilter.invoke(EventComponentFilter.java:67)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at
    coldfusion.filter.EventRequestMonitorFilter.invoke(EventRequestMonitorFilter.java:46)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at
    coldfusion.eventgateway.EventProxy.invokeComponent(EventProxy.java:52)
    at
    coldfusion.eventgateway.EventRequestHandler.invokeCFC(EventRequestHandler.java:165)
    at
    coldfusion.eventgateway.EventRequestHandler.processRequest(EventRequestHandler.java:102)
    at
    coldfusion.eventgateway.EventRequestDispatcher$Task.run(EventRequestDispatcher.java:121)
    at
    coldfusion.util.SimpleWorkerThread.run(SimpleThreadPool.java:214)
    Anyone having idea about this error?
    Please help to track this.
    Thanks in advance

    If the report didn't change, then perhaps the data did. Check
    to make sure the data being supplied to the report is as expected.
    I have run into mysterious errors where an expected value was of
    the wrong type or a required value was now blank. It is also
    possible to have existing logical errors in an iif() or other
    dynamic evaluation expression that was not previously examined;
    until now. So, is there any unexpected or exceptional data the
    report cannot handle?

  • Error while creating PDF object

    We are using Adobe Interactive Forms with Guided Procedures.  Netweaver 7.0 SP14 (Dual stack Java & Abap).  All was working well it appears until we configured SSL for ADS - don't know for sure if this caused the problem but it is the only change we can identify around the time that our problems began.
    When we attempt to Create an Impersonalized Form we receive the following error -
    Cannot retrieve template structure: Execution ended in an unrecognized state
    When we attempt to test a callable object associated with an interactive form we receive -
    Error while creating PDF object: PDF object could not be created; object returned from ADS is null.
    In both cases the entries in the default trace log are the same -
    Service XMLFormService: Native process (PID=0) /usr/sap/UFD/DVEBMGS02/j2ee/os_libs/adssap/XMLFormService/bin/XMLForm.exe terminated abnormally with error code 134
    PDF object could not be created; object returned from ADS is null
    com.sap.caf.eu.gp.base.exception.EngineException: PDF object could not be created; object returned from ADS is null
    at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.createInstanceDocument(AdobePDFAdapter.java:542)
    at com.sap.caf.eu.gp.model.iforms.preproc.FormPreprocessor.execute(FormPreprocessor.java:507)
    Like I mentioned earlier this functionality was working successfully in our environment at one time.
    Any guidance in this matter would be greatly appreciated.
    Thanks,
    Joe

    Joe,
    If you originally configured ADS without SSL, I would recommend going back through the ADS Configuration Guide for your NetWeaver stack and make sure all the necessary changes for SSL were made.  I've seen another case where a step was missed in SSL configuration for ADS which caused a form to error.
    If everything looks good based on your SSL configuration, I would recommend creating an OSS Note.
    -Matt

  • Getting junk character while creating PDF image for Hebrew language

    Hi,
    I have a issue while creating PDF image for invoice in Hebrew language . I can able to create a PDF image but it' showing junk characters instead of Hebrew characters.
    Please provide your inputs to resolve this issue.
    Thanks,
    Joy.

    Hi ,
    I am also facing similar problem.My system is unicode enabled and i am using the device type I8SWIN and courier font .
    But still i am getting junk characters for Hebrew characters in PDF.
    Can any one suggest me what is the exact device type we have to use for unicode enabled system and also for non unicode enalbled system.
    Is any related to truetype font here .Kindly let me know .
    Thanks for your valuable inputs .
    PRadeep....

  • Internal error while creating pdf files

    Good morning.
    I have problems while creating pdf files from FM documents,using FM9: I get an internal error, see here an example:
    === Header Begin ===
    Internal Error: 9004, 6921628, 9677518, 0
    FrameMaker 9.0.0 for Intel
    Build: 9.0p255
    Window System: MSWindows
    Operating System: Windows NT 5.1 (major.minor.build: 5.1.2600 Service Pack 3)
    Generated on: venerdì 30 marzo 2012 11.38.51
    To file: C:\Documents and Settings\itgzeanlo\Dati applicazioni\Adobe\FrameMaker\9\FrameLog_12.03.30_11.38.51.txt
    === Header End ===
    === Stack Trace Begin ===
    $699d9c
    $93aace
    === Stack Trace End ===
    === Open Window List Begin ===
    # not implemented
    === Open Window List End ===
    === Recent Commands Begin ===
    === Recent Commands End ===
    === Recent API Calls Begin ===
    # not implemented
    === Recent API Calls End ===
    === Windows Relocation Information Begin ===
    Application: 00400000
    FrameMaker.exe: 00400000 00979000
    ntdll.dll: 7c910000 000b8000
    I don't have a clue of what's wrong. I tried to uninstall the software and then to install it again, with the same result.
    Can you please help me?
    Kind regards.
    Antonio Locati

    > Getting back to your issue - how are you trying to create a PDF? Save As or printing to the AdobePDF printer instance?
    I've tried in both ways, and it's exactly the same: I get the error.
    > If XP, have you installed the MS hotfix?
    Windows is regularly updated through Windows Update.
    > What's in your FM doc?
    The document is based on some tables (it's a pricelist for our products), there are also some links to some .eps files (which are correctly displayed on screen, so the path is correct).
    > Did it work before or has it changed and now errors out?
    The file (or better the book made of about fifteen FM files) was created by someone else, on another PC. When I open it, I get the error. When I send my files to another person, he can create pdf files without any problem.
    > Does it update without any errors?
    Yes, I regularly update Framemaker without any error.
    Thanks for your help!!

  • Error while creating stock using tcode: MB1C

    Error while creating stock using tcode: MB1C
    The Error is: Check table T004F:entry G006 does not exist

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Entity Attributes are not populating while creating EO using EO wizard.

    Hi,
    I am using JDeveloper version 10.1.3.3.0.3 and E-Business suite12.1.2.
    I am facing problem while creating EO using EO wizard.
    In Entity Object Editor Entity Attributes are not populating while creating EO.
    Please help me resolve this issue.
    Thanks & Regards,
    Sagarika

    Please ensure you click on Tables and Synonyms check box and select proper schema.
    Try to select the table from the list after this instead of writing as in 10.1.3 when we write table name it automatically selects from the list if it exists in the list.
    Thanks
    AJ

  • I am unable to create pdf using adobe printer to a redirected folder on a server running windows server 2003

    I am unable to create pdf using adobe printer to a redirected folder on a server running windows server 2003

    In the app-server-ant.xml file, as indiacted in the error message i am getting, at line 145 it is suppose to get the path to \bin\asadmin.bat from the value of a paramater called 'asadmin'. This value is being set in the beginning of the file.
    The parameter value of 'asadmin' is further referring to value of another parameter called 'javaee.home' which is being set in tut-install/javaeetutorial5/examples/bp-project/build.properties
    I have checked the values of both these parameters and they are set correctly, so since it is still giving me problems, at line 145 i hard coded the path instead of the parameter name:
    I replaced line
    <exec executable="${asadmin}" failonerror="${failonerror}" dir="${javaee.home}">
    with
    <exec executable="c:/sun/appserver/bin/asadmin.bat" failonerror="${failonerror}" dir="${javaee.home}">
    This works.

  • Creating PDF using BAPI

    Hi,
    I am trying to create PDF using BAPI. I got one BAPI(Z_MM_EPSP_BAPI_GET_PO_PDF). That bapi returns bytecodes. How can I generate PDF file using this BAPI output in BLS. Give some example
    Thanks & Regards
    Art

    Art,
    Are you familiar with xMII at all? I would like to answer your question but it seems more like a tutoring lesson rather than a technical problem.
    Please post a problem and not how somone can help you do your work. Unless of course you are willing to paypal some money over. :-D

  • Problem creating basic views while creating materials using idocs?

    hello,
    I am facing an issue while creating materials using idocs. The problem is that the basic view does not get created whereas other views are present. The function module used is idoc_input_matma01 and the basic idoc type is MATMAS03.
    Looking for help. Thank you

    Hi Madhu,
    Actually i recieve an idoc from PI containing data required for cretion of the material via an idoc. This idoc is then processed to create the required material.
    The material gets created with appropiate data in various tables(mara, makt) but when we view material in mm03 we cant see the basic data views.

  • Problem while creating assets using BAPI

    Use table enhancement BAPI_TE_ANLU
    Diagnosis :The BAPIs for creating and changing assets currently support only those customer enhancements that relate to the user fields created using SAP enhancement AIST0002.
    Can anybody give the appropriate solution why this error is coming while creating assets using BAPI.

    Looks like you are trying to transfer custom fields into the asset master data that were not added following the steps in enhancement AIST0002.
    Using EXTENSIONIN parameter, you can transfer user fields from the asset master record. However, it is not possible to transfer fields that are updated in user-defined tables. Only user fields that were defined using SAP enhancement AIST0002 and are automatically updated in table ANLU can be udpated in this way. This means you have to use table extension BAPI_TE_ANLU.
    Enhancement AIST0002 contains function module EXIT_SAPL1022_001 as a component in which user fields can be implemented.
    The documentation ( BAPIPAREX) of the structure that forms the basis for this parameter contains additional information about using this parameter.
    Please check how table ANLU has been enhanced and also go through the documentation of enhancement AIST0002.
    Regards,
    Shyam

  • While creating pdf from html, the alignment is not proper

    Hi,
    In my application, I am creating a pdf report from html using (using Generate pdf 1.1 - HTML URL To PDF activity) which contains certain images and descriptions.
    But, while generating pdf the alignment is not proper. In the HTML there is no paging, but in the output pdf the image div is getting broken when new pages are generated.
    Some blank areas are coming the report.
    Actually I need an exact replica of the HTML as a pdf, with paging.
    Thank you in advance.

    What is the LiveCycle version?
    Is it possible for you to share an example(somewhere on public file sharing sites)?

  • Issue creating PDF using IE plugin (Web Capture 10.0)

    Hello,
    Hopefully someone can assist with this and /or confirm it is a bug.
    We are using Adobe X 10.1.4 with IE9 32bit.
    Problem:
    User creates a PDF using the "Covert" button located on the toolbar.  The issue is that this PDF is saved with permission only allowing that user and administrators access to the document.  In Windows the file appears with a padlock.
    it doesn't matter what the security settings are on the folder -- somehow Adobe always changes the permission when creating the file using the Convert button.
    If I create the SAME PDF in the same folder using the File -> Print -> Adobe PDF -- I have no issues.  The PDF is created and inherits the permissions of the folder.
    Now if I do the same tests using the Mozilla plug-in I have no issue -- the file is created with the correct permissions.
    This is driving me and my users crazy as we use a terminal server and multiple people need to access these PDF documents that are being locked.
    Thanks for the input!
    [email protected]

    Hi,
    KIndly update your Acrobat to the latest version available and see, if the issue is still present!

  • Creating PDFs using Pages and Mail

    Hi,
    I'm  a contractor and I use Pages and Mail to to create PDFs of invoices that I email to clients in the form of attachments. I have Mail set up to to send only Windows friendly attachments, and to put them at the end of emails. I have one client, the facilities director of a large community college, who consistently cannot open the attachments; he can read the text of the emails, but he cannot open the attachments. He has to send them to his IT department, where they use a mac computer of some kind to open the attachments, which they send them back to him. I've discussed this with their IT department, and they've told me that they have to use a mac to open my attachments. If anyone can offer some advice on this issue, I'd appreciate it.
    Caoim

    I know from my own experience that although there should be no problems with Mail's attachments, just once in a while recipients have the problems you describe.
    The solution that worked for me 100% reliably was to install the paid for plug-in Attachment Tamer from: lokiware.info
    You can use it for free to test it before committing to purchase, but I'm pretty sure all your recipients will be able to cope with all your attachments.
    To elaborate, I used to have to send numerous attachments every day to mostly PC users. Randomly some would complain that I'd either forgotten to include the attachment (I hadn't) or they couldn't read it/open it/save it, etc. It's quite likely the fault was in the way their email client was configured. All I know is that as soon as I installed Attachment Tamer (it was Mail Attachments Iconizer back then) I never had any more complaints. For the knowledge that I wasn't going to be pestered into trying different ways of sending the files I was happy to pay for the plugin.
    (Usual caveat: I have no connection with Lokiware, but very happy to recommend their product).

Maybe you are looking for