jfaguiar Posted July 23, 2014 Report Share Posted July 23, 2014 Olá Developers. Gostaria de saber se é possível salvar em PDF com FWxH 9.02. Caso seja possível, qual classe devo compilar no meu projeto? Muito obrigado. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 23, 2014 Report Share Posted July 23, 2014 Se usar a FLEXDOCS, é uma baba. Quote Link to comment Share on other sites More sharing options...
Marca Posted July 23, 2014 Report Share Posted July 23, 2014 Se usar a FLEXDOCS, é uma baba. João Acho q. para gerar pdf pela Flexdocs depende do token Ai vai depender do que JfAguiar quer fazer!!! kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 23, 2014 Report Share Posted July 23, 2014 Sim, é necessário o CERTIFICADO DIGITAL. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 23, 2014 Report Share Posted July 23, 2014 Pode-se também, usar o SUMATRAPDF.EXE facin, facin, é só falar com o Sérgio Óliveira(S.A. OLiveira) -> kkkkkkkkkkkk http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader-pt.html ou PDFMACHINE - Impressora Virtual. http://www.superdownloads.com.br/download/32/pdfmachinewhite/ abs, Quote Link to comment Share on other sites More sharing options...
jfaguiar Posted July 23, 2014 Author Report Share Posted July 23, 2014 Oi Amigos. Já estava testando O FWxH 13.07 e la tem a classe FWSavePreviewToPdf() e me pareceu bastante fácil. O exemplo estar na pasta samples\mario.prg Abraço. kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 23, 2014 Report Share Posted July 23, 2014 Em tempo, se usa a FASTREPORT também é baba. Quote Link to comment Share on other sites More sharing options...
Jmsilva Posted July 24, 2014 Report Share Posted July 24, 2014 Uma boa opção é o direcionamento do relatório para uma impressora virtual, uso há muito tempo BullZip PDF Printer, muito boa. Também tem a opção do link abaixo de uma classe que criei que usa broffice/openoffice que permite salvar no formato pdf. http://fivewin.com.br/index.php?/topic/21758-gerar-planilha-no-openoffice/?hl=openoffice JMSILVA Quote Link to comment Share on other sites More sharing options...
giovanyvecchi Posted July 24, 2014 Report Share Posted July 24, 2014 Para usar o PdfCreator automaticamente faz assim IF EMPTY( oPC := WIN_OLECreateObject( "PDFCreator.clsPDFCreator" ) ) MsgStop("Pdf Creator não esta instalado neste computador.",; "Prodedimento abortado") RETURN .F. ENDIF oPC:__hSink := __AxRegisterHandler( oPC:__hObj, {|X| nEvent := X} ) oPC:cStart( "/NoProcessingAtStartup" ) oPC:_cOption( "UseAutosave", 1 ) oPC:_cOption( "UseAutosaveDirectory", 1 ) oPC:_cOption( "AutosaveDirectory", "C:\TESTE\" ) oPC:_cOption( "AutosaveFilename", "MeuPdf.pdf" ) oPC:_cOption( "AutosaveFormat", 0 ) oPC:cDefaultPrinter := "PDFCreator" oPC:cClearCache() oPC:cPrinterStop := .F. PRINTER oPrnPdf NAME "Gerando pdf" ; to "PDFCreator" //modal DEFINE FONT oFnt1 NAME "Arial" SIZE 0,-20 OF oPrnPdf oPrnPdf:SetPortrait() nRcol := oPrnPdf:nlogpixelx()/2.54 nRlin := oPrnPdf:nlogpixely()/2.54 PAGE oPrnPdf:say(05*nRlin,05*nRcol,; "TESTE COM PDFCREATOR",; oFnt1,,,,0) ENDPAGE ENDPRINTER nTime := hb_milliseconds() DO WHILE nEvent == 0 .AND. (hb_milliseconds() - nTime) < 10000 hb_idleSleep( 0.5 ) /* The following dummy line is required to allow COM server to send event [Mindaugas] */ oPC:cOption("UseAutosave") ENDDO hb_idleSleep( 0.7 ) oPC:cClose() kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted July 24, 2014 Report Share Posted July 24, 2014 Uma boa opção é o direcionamento do relatório para uma impressora virtual, uso há muito tempo BullZip PDF Printer, muito boa. Também tem a opção do link abaixo de uma classe que criei que usa broffice/openoffice que permite salvar no formato pdf. http://fivewin.com.br/index.php?/topic/21758-gerar-planilha-no-openoffice/?hl=openoffice JMSILVA JMSILVA, me corrija porfa, meu BROFFICE não tem opção de salver em .PDF, qual é a sua versão que salva ? Ou eu entendi errado? Obg. abs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.