Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Hi,

Can you please post some files so that I can give it a try ?
Otherwise can you post some code ?

Thanks ;)

Thibault

Original comment by thibault.imbert on 17 Sep 2007 at 10:18

  • Added labels: ****
  • Removed labels: ****

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Ok but it`s only i will post but works if you have the MDM ZInc Software
so please i want it goto to:

http://www.multidmedia.com

IF YOU GET INSIDE THE PAGE, P0LEASE GO TO THE SUPPORT AREA AND GET THE LINK
DOCUMENTATION, IN THE API, YOU WILL FIND THE FILESYSTEM SUBJECT, THERE YOU HAVE 
THE
FOUR OPTIONS TO SAVE FILE TO THE DISK

PLEAE TELL ME AND IF YOU HAVE THE ZINC SOFTWARE I WILL SEND YOU THE FILES.

DO YOU HAVE SOME ONE TO TRANSLATE THE DOCUMENTATION TO SPANISH FOR YOU, FOR 
FREE? I
CAN DO THAT IF YOU LIKE, AND COLABORATE WITH THE ALIVE SOFTWARE AND OTHER IF 
YOU LIKE

Original comment by [email protected] on 18 Sep 2007 at 1:56

  • Added labels: ****
  • Removed labels: ****

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Hi there,
I hope you still reading this, since the last post is from Sep 17 2007.

I have similar problem with alivePDF 1.4.4 and MDM Zinc 3.0 
I use alivePDF with Flash CS3 (AS3) 

Without an image added to the PDF everything work fine, here my example code:


// zinc lib
import mdm.*;

// alive lib
import org.alivepdf.pdf.PDF;
import org.alivepdf.images.ImageFormat;
import org.alivepdf.drawing.DashedLine;
import org.alivepdf.display.*
import org.alivepdf.layout.*;
import org.alivepdf.colors.*;
import org.alivepdf.transitions.Transition;
import org.alivepdf.fonts.FontFamily;
import org.alivepdf.transitions.Dimension;
import org.alivepdf.display.PageMode;
import org.alivepdf.fonts.Style;
import org.alivepdf.viewing.*;
import org.alivepdf.saving.Download;
import org.alivepdf.saving.Method;
import org.alivepdf.drawing.Blend;
import org.alivepdf.drawing.Caps;
import org.alivepdf.drawing.Joint;

//flash lib
import flash.utils.ByteArray;



mdm.Application.init(this, onInit);

function onInit():void {
        // start application...

    // create a simple PDF
    var myPDF:org.alivepdf.pdf.PDF = new org.alivepdf.pdf.PDF ( Orientation.PORTRAIT,
Unit.MM, Size.A4 );

    myPDF.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE ); 
    myPDF.setTitle("Test PDF Sheet");

    myPDF.addPage();
    myPDF.setFont( FontFamily.ARIAL, Style.BOLD );
    myPDF.setFontSize ( 24 );
    myPDF.addText ('Test PDF Sheet with alivePDF and ZINC', 25, 30);

    var pdfByteBuffer:ByteArray = myPDF.save ( Method.LOCAL);   
    // saves the new pdf in the same dir as the exe is. 
    mdm.FileSystem.saveFile("ZincPDFTest.pdf",pdfByteBuffer.toString());            


}

Put this code in the timeline 
(follow the instructions for installation etc on MDM Zinc Homepage)

if i add the line:
myPDF.addImage ( imgStripes, 0, 30, 0, 0, ImageFormat.JPG, 100, 1 );

after my "addText" line.

the application crashes and no pdf is written.
befor i used ZINC I used the same creation code from above with AIR 1.1
only the writing file stuff was different and taken form your example.
Within Air everythink works fine PDF with my text and image was flawless 
created.

Original comment by [email protected] on 24 Jul 2008 at 2:26

  • Added labels: ****
  • Removed labels: ****

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
exactly the same issue for me too.

thanks D

Original comment by [email protected] on 6 Apr 2009 at 3:00

  • Added labels: ****
  • Removed labels: ****

from alivepdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.