Cobol Foro

Cobol Foro (https://www.cobolforo.es/index.php)
-   Software (https://www.cobolforo.es/forumdisplay.php?f=78)
-   -   [Aporte] FoxitReader (https://www.cobolforo.es/showthread.php?t=222)

Kuk 13 de septiembre de 2017 16:53

Joseg, el OCX de Foxit ¿no permite imprimir?

Rapinto 14 de septiembre de 2017 00:08

Joseg,
Utilizei durante algum tempo o OCX "axpdfvw.ocx" da Sky Sof.
Permitia ver o pdf e imprimir, etc.

Não sei se ainda andará por aí.
Se não encontrar diga-me que eu envio.
Um abraço,
Rui Pinto

---------- Post añadido : 23:08 ---------- Post anterior : 19:44 ----------

Joseg,

Encontrei a o código para usar o OCX do Post anterior.
Código COBOL:
  1.  ENVIRONMENT     DIVISION.
  2.  DATA            DIVISION.
  3.  WORKING-STORAGE SECTION.
  4.  01  STARTPAGE            PIC S9(009)     COMP-5    VALUE 1.
  5.  01  ENDPAGE              PIC S9(009)     COMP-5    VALUE 0.
  6.  01  PAGESCALING          PIC S9(009)     COMP-5    VALUE 0.
  7.  01  AUTOROTATE           PIC S9(009)     COMP-5    VALUE 0.
  8.  01  STRTITLE             PIC X(128)      VALUE "PDF".
  9.  01  STRPRINTER           PIC X(256).
  10.  01  RETURNVALUE          PIC S9(009)     COMP-5.
  11.  PROCEDURE       DIVISION.
  12.     MOVE "Text" OF CMDAPAG TO STARTPAGE.
  13.     MOVE "Text" OF CMAPAG  TO ENDPAGE.
  14.     INVOKE CMPRINT1 "SetPrinter" RETURNING ReturnValue.
  15.     MOVE "PrinterName" OF CMPRINT1 TO STRPRINTER.
  16.      INVOKE PDFVIEWER1 "PrintPDF" USING strPrinter StartPage EndPage PageScaling AutoRotate strTitle RETURNING ReturnValue.

Não sei se ajuda.
Um abraço,
Rui Pinto

Joseg 14 de septiembre de 2017 10:22

Cita:

Citación del post de Rapinto (Mensaje 3508)
Joseg,
Utilizei durante algum tempo o OCX "axpdfvw.ocx" da Sky Sof.
Permitia ver o pdf e imprimir, etc.

Não sei se ainda andará por aí.
Se não encontrar diga-me que eu envio.
Um abraço,
Rui Pinto

---------- Post añadido : 23:08 ---------- Post anterior : 19:44 ----------

Joseg,

Encontrei a o código para usar o OCX do Post anterior.
Código COBOL:
  1.  ENVIRONMENT     DIVISION.
  2.  DATA            DIVISION.
  3.  WORKING-STORAGE SECTION.
  4.  01  STARTPAGE            PIC S9(009)     COMP-5    VALUE 1.
  5.  01  ENDPAGE              PIC S9(009)     COMP-5    VALUE 0.
  6.  01  PAGESCALING          PIC S9(009)     COMP-5    VALUE 0.
  7.  01  AUTOROTATE           PIC S9(009)     COMP-5    VALUE 0.
  8.  01  STRTITLE             PIC X(128)      VALUE "PDF".
  9.  01  STRPRINTER           PIC X(256).
  10.  01  RETURNVALUE          PIC S9(009)     COMP-5.
  11.  PROCEDURE       DIVISION.
  12.     MOVE "Text" OF CMDAPAG TO STARTPAGE.
  13.     MOVE "Text" OF CMAPAG  TO ENDPAGE.
  14.     INVOKE CMPRINT1 "SetPrinter" RETURNING ReturnValue.
  15.     MOVE "PrinterName" OF CMPRINT1 TO STRPRINTER.
  16.      INVOKE PDFVIEWER1 "PrintPDF" USING strPrinter StartPage EndPage PageScaling AutoRotate strTitle RETURNING ReturnValue.

Não sei se ajuda.
Um abraço,
Rui Pinto


Fiz o download aqui: http://www.getfilez.com/axpdfvw.zip

mas parece que não é free.

Gusaiello 14 de septiembre de 2017 16:13

Softdac, Para hacerlo mas fácil conviene instalar PDFCreator y asunto resuelto.
Es gratis, no hay que hacer nada con el programa, y ademas sirve para cualquier aplicación (Excel, Word, o lo que sea), ya que simula ser una impresora.

Rapinto 14 de septiembre de 2017 23:14

Joseg,

A versão que eu tenho é 2.0 e tive o cuidado de ver se era gratuito.
Este download é da versão 3.

mas vi isto no Site deles:

Cita:

PDF Builder is a FREE tool for creating PDF files from a variety of file types. With PDF Builder you can easily create PDF files from many different file types including text files, XLS, XLSX, DOC, DOCX, PPT, PPTX, PPS, PPSX, JPG, GIF, BMP, TIF, MDB, VSD, VSDX, etc.
Penso que obtive o ocx numa das ferramentas gratuitas que incluia o ocx.

Um abraço,
Rui Pinto


La franja horaria es GMT +2. Ahora son las 15:44.

Powered by: vBulletin, Versión 3.8.7
Derechos de Autor ©2000 - 2026, Jelsoft Enterprises Ltd.