Print Invoice via FreePDF with Invoice No. as Filename

LilithyanLilithyan Member Posts: 32
Hello all,

I've currently got a question/task from one of my customers that has me quite flumoxed, as it is totally new territory for me. So I hope someone has a leg up for me.

The customer has FreePDF and wants to use this to print TIFF files of their invoices. That in itself is no Problem, as you can create Profiles in FreePDF to print such files and even tell the software where to put the files. The only thing really missing is the automatic filling of the filename. When starting

FreePDF as printer for the sales invoice automatically fills the filename with the caption of the report. But the customer wants it to automatically be filled with the invoice number instead. While there seems to be a possiblity to define the filename, even dynamically, I haven't found a solution to do it from NAV.

The Customer uses NAV 2009 and while he uses the RTC, the layout of the reports is still classic.

Hope someone has an idea what to do, because I currently haven't.

Thanks for any help in advance!

Ciao,

Lils

Comments

  • evandeveerdonkevandeveerdonk Member Posts: 49
    Hi Lils,

    I am not familiar with FreePDF, but (free) PDF creaters like BullZip or PDFCreator have a handler where you can set the directory and filename.
    If FreePDF doesn't have that, you might want to change to another PDF creator

    Ernst
    http://www.vssolutions NAV-Outlook synchronisation re-invented.
  • tinoruijstinoruijs Member Posts: 1,226
    A simple solution can be to use this code after the file has been generated:
    FILE.COPY('FromName', 'ToName');
    

    Tino Ruijs
    Microsoft Dynamics NAV specialist
Sign In or Register to comment.