Magic User Group

Magic Wiki-Wakka : CreatingAcrobatDistillerPDF

HomePage :: CATEGORIES | Index :: Changes :: Comments :: Search :: Login/Register
Most recent edit on 2005-09-15 20:00:54 by FrankVanHerreweghe

Additions:
Use the following code when you work with Magic v9.4
Use the following code when you work with Magic v9.3
Call UDP '@mg_ocx.objectLoad' Arg:'AAL4', , 'PdfDistiller.PdfDistiller.1', D, E
Call UDP '@mg_ocx.MethodCall' Arg:'4AAAAA4', D, 'FileToPDF', '0AAA', A, B,
, E
Call UDP '@mg_ocx.objectRelease' Arg:'L4', D, E




Edited on 2005-09-14 19:02:23 by FrankVanHerreweghe

Additions:
Select Virt 1 O-Distiller ("D") OLE, TypeLibrary:Acrobat Distiller (Ver1.0),

Deletions:
Select Virt 1 O-Distiller ("D") TypeLibrary:Acrobat Distiller (Ver1.0),



Edited on 2005-08-29 17:49:55 by FrankVanHerreweghe

Additions:
The Task Properties will look like this:%%

Deletions:
The Task Properties will look loke this:%%



Edited on 2005-08-29 17:34:02 by GroupsMBM

Additions:
Select Virt 1 O-Distiller ("D") TypeLibrary:Acrobat Distiller (Ver1.0),
Object: PdfDistiller, Instantiation: Automatic

Deletions:
Select Virt 1 O-Distiller ("D") TypeLibrary:Acrobat Distiller (Ver1.0), Object: PdfDistiller, Instantiation: Automatic



Edited on 2005-07-12 00:55:40 by NorbertGutscher [un-wiki TaskProperties]

Additions:
The Task Properties will look loke this:%%

Deletions:
The TaskProperties will look loke this:%%



Edited on 2005-07-12 00:50:30 by NorbertGutscher [other solution]

Additions:
- PDF Creator (excellent open source)

Deletions:
- PDF Creator (excellent freeware)



Edited on 2005-07-12 00:49:33 by NorbertGutscher [other solution]

Additions:
Other Solutions
  • PDF Creator (excellent freeware)



    Edited on 2005-07-11 22:00:52 by NorbertGutscher [version]

    Additions:
    Version 9 only
  • It is possible to create PDF-documents without user-intervention. There are several solution and drivers for it, this one is with the Acrobat Distiller.


    Deletions:
    It is possible to create PDF-documents without user-intervention. There are several solution and drivers for it, this one is with the Acrobat Distiller.



    Edited on 2005-07-11 21:41:23 by FrankVanHerreweghe

    Additions:
    The TaskProperties will look loke this:%%
    Task Type: Batch
    Initial Mode: Modify
    EndTask: Yes-After
    Allow Events: No




    Edited on 2005-07-11 21:38:55 by FrankVanHerreweghe

    Additions:
    Select Virt 1 v-Dummy Convert Delay ("E") Num:9
    The record suffix will look like this:%%
    Update E Expr:20 Cnd:C=0
    Call COM Object:D, Option:Call Method, Method:FileToPDF, Argm:A,B,
    Block Loop Cnd:Not(IOExist(B)) AND LoopCounter()<E
    Evaluate Delay(1)
    End Loop


    Deletions:
    Select Virt 2 v-Dummy PS PrintFilename ("E") Alpha:160
    Select Virt 2 v-Dummy Convert Delay ("F") Num:9
    Update "F" with 20 if "F"=0




    Edited on 2005-07-11 21:30:36 by FrankVanHerreweghe

    Additions:
    Update "F" with 20 if "F"=0



    Edited on 2005-07-11 21:29:22 by FrankVanHerreweghe

    Additions:
    The record main will look like this:
    The record main will look like this:


    Deletions:
    The record main will look like this:



    Edited on 2005-07-11 21:28:20 by FrankVanHerreweghe

    Additions:
    The record main will look like this:
    Select  Param  1 i-PostScriptPrintFilename  ("A")  Alpha:160
    Select  Param  2 i-PDF Filename             ("B")  Alpha:160
    Select  Param  3 i-Convert Delay            ("C")  Num:9
    Select  Virt   1 O-Distiller                ("D")  TypeLibrary:Acrobat Distiller (Ver1.0), Object: PdfDistiller, Instantiation: Automatic
    Select  Virt   2 v-Dummy PS PrintFilename   ("E")  Alpha:160
    Select  Virt   2 v-Dummy Convert Delay      ("F")  Num:9




    Edited on 2005-07-11 21:08:37 by FrankVanHerreweghe

    Additions:
    It is possible to create PDF-documents without user-intervention. There are several solution and drivers for it, this one is with the Acrobat Distiller.
    This is how it works:
    1/ Let Magic print a report to a file WITH a Postscript-printer
    2/ Call the Acrobat Distiller OLE to do the conversion from Postscript to PDF.




    Oldest known version of this page was edited on 2005-07-11 21:03:04 by FrankVanHerreweghe []
    Page view:

    How To create a PDF-document with Acrobat Distiller


    Hope it will be usefull for some ...

    Frank Van Herreweghe

    Category
    CategoryHowTo
    Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki trunk
    Page was generated in 0.2154 seconds