Re: JPG > PDF and viceversa
Posted: Thu Oct 10, 2013 5:40 pm
Stefan,
I come back to see the third possibility, thanks
I come back to see the third possibility, thanks
www.FiveTechSoft.com
https://forums.fivetechsupport.com/
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=25428
Are not others ways to create FWH PDFs without Office, and without this enormous capacity needed for one page, 4 mb ?
TPreview():bSaveAsPDF := { |oPrev, cPDF, lPreview| CustomFunction( oPrev, cPDF, lPreview ) }
Syntax
PSSetDevice(nDevice)
TPageScript:SetDevice(nDevice)
Returns
NIL.
Description
Use PSSetDevice() to select the device to use for the next print job. By default, the device is DEV_PRINTER.
Arguments
nDevice Desired device for the next print job.
Devices
Constant Value Description
DEV_PRINTER 1 The output is sent to the selected printer.
DEV_PREVIEW 2 The output is sent to the print preview dialog box
DEV_PDFFILE 3 The output is saved in a .pdf file. The file name is set by calling PSSetFileName() before starting the print job.
Reserved 4 Reserved for future use
DEV_EMFFILE 5 The output is saved in a series of EMF files. The path of the files to be created is set by calling PSSetFileName() before starting the print job. Files are named Page1.emf, Page2.emf, Pagen.emf
*******************
FUNCTION PSSetDevice( nDevice )
*******************
* Mémorise le type de sortie : Directe, vue avant impression, .pdf
* Si nDevice = 1 : la sortie est envoyée vers l'imprimante (direct printing)
* Si nDevice = 2 : la sortie est envoyée vers la vue avant impression (Preview)
* Si nDevice = 3 : la sortie est enregistrée dans un fichier .pdf. Le fichier doit être défini avec PSSetFileName() avant de démarer le travail d'impression
* Retourne : NIL si nDevice n'est pas NIL, ou la valeur actuelle si nDevice est NIL
STATIC nDev := 1
IF nDevice = NIL
RETURN nDev
ENDIF
nDev := nDevice
RETURN NIL
fp wrote:The end of PageScript: http://www.abeelabs.com/ ?