• Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1244 from 2010/1/6
    From: EU-Austria (Wien)
    Wenn WW Postscript kann und eine AREXX-Schnittstelle hat, geht das direkt per AREXX und Ghostscript so wie bei FinalWriter.

    z.B. das Script für FinalWriter:

    Code:
    /* FinalWriter AREXX macro */
    /* Convert to PDF uses GHOSTSCRIPT ® to convert the */
    /* current document to PDF format. A GHOSTSCRIPT: assign is needed */
    /* $VER: Convert to PDF 1.0ß */

    Options Results

    PostscriptFile 'T:OK.ps'
    PrintSetup PRINTTO psfile
    PSPrintPrefs SHADE color
    Print

    ADDRESS COMMAND
    'Wait'
    'Delete' 'T:OK.ps.info'
    'RequestFile' '>ENV:File' 'Title="Where to save the PDF file?"'
    'echo >T:Tmp' '"Stack 40000"'
    'echo >>T:Tmp' '"GS:bin/GS -dNOPAUSE -sDEVICE=pdfwrite -dBATCH -sOutputFile=T:KO.pdf T:OK.ps"'
    'Execute' 'T:Tmp'
    'Delete' 'T:OK.ps'
    'Copy' 'T:KO.PDF' '$file'
    'Delete' 'T:KO.pdf'
    'Delete' 'T:Tmp'



    Wird direkt aus FW (User/Other/Convert2Arexx.rx) aufgerufen (bzw. auch die arexx-Schnittstelle geöffnet). Das muss man für WW warscheinlich anpassen. Wie gesagt, ich kenne WW nicht so gut....aber vielleicht weis das jemand hier

    [ Editiert durch Amigaharry2 23.04.2024 - 13:32 ]
  • »23.04.24 - 12:29
    Profile