Search found 23 matches: i2pdf

Return to advanced search

Generar PDF desde TPrinter.

Hola a todos, Estoy intentando generar un PDF de 11 páginas (irá creciendo poco a poco) desde Tprinter. La intención es hacerlo de manera automática sin usar el oPrinter:Preview(), directamente con FWSavePreviewToPDF( oPrinter, oPrinter:cFile, .T. ), pero pierde alguna página a veces sobre todo en e...
by FiveWiDi
Sat Feb 11, 2023 12:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar PDF desde TPrinter.
Replies: 2
Views: 258

Re: Me reclama FW_I2PDF (SOLUCIONADO)

Karinha y foreros

Era un error de mi parte, estaba mezclando una versión antigua FWH1905
con el RPreview de una versión FWH2006 :oops:

Saludos
by Armando
Sun Jul 04, 2021 6:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Me reclama FW_I2PDF (SOLUCIONADO)
Replies: 2
Views: 400

Re: Me reclama FW_I2PDF (SOLUCIONADO)

Armando, como hicestes? Para los iniciantes. Saludos.
by karinha
Sun Jul 04, 2021 1:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Me reclama FW_I2PDF (SOLUCIONADO)
Replies: 2
Views: 400

Me reclama FW_I2PDF (SOLUCIONADO)

Saludos al foro:

Sigo liado con el envío por correo desde la vista previa, he incluido el
RPReview.Prg en mi script de compilación.

Sin tocarle un pelo aún, me reclama la función FW_I2PDF.

Algún consejo?

Saludos
by Armando
Sat Jul 03, 2021 6:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Me reclama FW_I2PDF (SOLUCIONADO)
Replies: 2
Views: 400

Re: Rpreview issues - PDF

Vilian, I have tried your code which is almost identical to mine. The differences: You use LoadLib32( ) and I'm using LoadLibrary( ) You are using the additional call: iErr := I2PDF_MetaTextFitBoundingRect() When I run it with your setup, I get 7 pop-up boxes saying Error: 0. Loading: 0. and there i...
by TimStone
Tue Apr 23, 2019 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 7340

Re: Ejemplo con Image2Pdf

George: Ya compila bien y no se cuelga, te muestro el resultado de los MsgInfo() FUNCTION SaveAsPDF(aFiles,pdfFileName)    LOCAL imageFilename := "   "    LOCAL ix    LOCAL iErr := 0    LOCAL errorText := "  "    MsgInfo(pdfFileName)                               ...
by Armando
Wed Sep 05, 2012 9:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo con Image2Pdf SOLUCIONADO
Replies: 11
Views: 3403

Re: Image2Pdf dll

José Vicente, Gracias por responder. El problema que tengo, es en la ofi del cliente, a mi si me sale bien, y es que el wmf se transforma con un font que pega mucho las letras unas con otras. De las dos cosas que me sugieres la que parece que puede tener algo que ver es UseActualImageDPI, pero creo ...
by Antonio Martinez
Tue May 15, 2012 5:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Image2Pdf dll
Replies: 2
Views: 544

Image2Pdf dll

Hola a todos, A vueltas con las transformacion de wmfs a pdfs... Estoy probando la version demo Img2Pdf.Dll llamando a las "funciones" de esta dll. Resulta que un wmf me lo transforma a mi bien y mal en la ofi del cliente; cuando digo mal me refiero a que le cambia el font, y saca un font ...
by Antonio Martinez
Tue May 15, 2012 2:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Image2Pdf dll
Replies: 2
Views: 544

Harbour 3.0 / MSVC DLL32 error

I'm back on the project of trying to build my application with MSVC and Harbour 3.0. The following code: // static unsigned int I2PDF_SetDPI(unsigned int dpi); DLL32 STATIC FUNCTION IPSetDpi( nDpi AS LONG ) AS LONG PASCAL FROM "I2PDF_SetDPI" LIB [hImLib] // "Image2PDF.dll" draws ...
by TimStone
Mon Nov 28, 2011 11:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour 3.0 / MSVC DLL32 error
Replies: 9
Views: 3153

Re: FWH 10.1 - DLL32 Function

More Information :) I instructed the DLL to output messages to the console. It appears that the process was completed by the DLL and the GPF occurs upon the RETURN of control from the DLL back to the CallDLL( ) function. retval := I2PDF_AddImage(alltrim( infile ) ) // processed ok retval := I2PDF_Ma...
by don lowenstein
Thu Feb 18, 2010 10:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

Re: FWH 10.1 - DLL32 Function

I have discovered the nature of the problem!!!! :D With the PASCAL parm in the DLL function definition, all calls were successful until I tried one using parameters. The 1st call with parameters caused the GPF. After removing the PASCAL keyword in the DLL function definition, I was able to call a fu...
by don lowenstein
Thu Feb 18, 2010 8:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

Re: FWH 10.1 - DLL32 Function

Unfortunately, I must provide the license parameter for proper usage. i wonder if the "big string" has some sort of ramification? Is the definition of LPSTR appropriate? retval := I2PDF_License( "XXX-ZZZZ-AAAAA-BBBBBB-CCCCCCC" ) DLL STATIC FUNCTION I2PDF_License( cLicCode AS LPST...
by don lowenstein
Thu Feb 18, 2010 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

Re: FWH 10.1 - DLL32 Function

Try to call I2PDF_License() alone. It doesn't GPF.

EMG
by Enrico Maria Giordano
Thu Feb 18, 2010 6:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

Re: FWH 10.1 - DLL32 Function

Good News - Bad News Removing PASCAL from all calls results in: ************************************* -- pass an integer ( LONG ) parm - SUCCESS!!!! retval := I2PDF_SetDPI( 0 ) DLL STATIC FUNCTION I2PDF_SetDPI( nDpi AS LONG ) AS LONG; FROM "I2PDF_SetDPI" LIB hLib **************************...
by don lowenstein
Thu Feb 18, 2010 5:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12266

Re: Another more about RPreview and Image2PDF

There is no problem having images in the same page , i don't know about ehe evaluation version , maybe ... try adding this iErr := I2PDF_MetaToNativePDF() iErr := I2PDF_MetaTextFitBoundingRect() iErr := I2PDF_UseEMFDeviceSize( ) iErr := I2PDF_SetDPI(0) // Set PDF DPI to the same as the image iErr :=...
by Richard Chidiak
Thu Dec 24, 2009 5:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another more about RPreview and Image2PDF
Replies: 4
Views: 1234
Next

Return to advanced search