Skip to main content
Mar 12, 2021 10:56 PM UTC

generate a file pdf

Hi,  in RM/COBOL 12xx is possible generate a file pdf ?  I'll explain : I've a program that print on a printer a bill. If I need to trasform or redirect the printout created  on a file .pdf how can do it ?

 Thanks everyone for the help.....................

    12 replies

    Mar 31, 2021 1:39 PM UTC

    Hello. My experience is using a PDF printer. With a PDF printer you can use the "PRINTER?" and you just have to select the PDF printer and the file name. I recommend Bullzip PDF is free. https://www.bullzip.com/products/pdf/download.php

    Many thanks for the suggestion. But now I have another dubt.  My program generates the file pdf and it's ok.  I will have to create a program that prints a bill in pdf and send it by e-mail ( I have the destination address in my archive cobol with the other information of the customer ). How can I print and sent it ???  ( many times the pdf to send are more than one ....... )   These last two nights I worked hard but I had no results....................

    Many thanks to all you !!!!!

    Juan Urraburu
    Participating Frequently
    Apr 5, 2021 11:20 PM UTC

    Many thanks for the suggestion. But now I have another dubt.  My program generates the file pdf and it's ok.  I will have to create a program that prints a bill in pdf and send it by e-mail ( I have the destination address in my archive cobol with the other information of the customer ). How can I print and sent it ???  ( many times the pdf to send are more than one ....... )   These last two nights I worked hard but I had no results....................

    Many thanks to all you !!!!!

    Hi,

    I assume you can generate the PDF file and also send it by email, buy you want to automate the PDF generation without entering a file name each time you run, rihgt?

    Please take a look for Microsoft Print to PDF. The same type of configuration will work for other king of PDF printers like pdf995

    https://docs.microsoft.com/es-ES/troubleshoot/windows-server/printing/print-to-file-without-user-intervention

    Regards,