If you utilize the PDF Writer (not the PDF Distiller) as your virtual
printer, you can utilize a pdf.ini file and specify the path and filename
of your "printed" report. However, after the printer utilizes the pdf.ini
once, it removes the path and filename from the pdf.ini (why, I don't
know). What I have done in the past is create workflow that 1. Copies a
static pdf.ini file that has the filename included, 2. Print the report to
the virtual printer, 3. Rename the just-created pdf file (easy enough since
it's static in the pdf.ini), 4. Attach the file to the email, 5. Re-copy
the static pdf.ini for use next time.

It works very well.

Scott Parrish
IT Prophets

Original Message:
-----------------
From: patrick zandi [EMAIL PROTECTED]
Date: Thu, 24 Aug 2006 10:44:37 -0400
To: [email protected]
Subject: Re: pdf to email


There might be a way threw Crystal Reports.. there is an Export
function in the viewer to a PDF format.. I would think.. that there
might be a Way just to make the report a PDF and save it to a file..
Never every tried that .. but it might be worth looking at.  OR I
recently saw somewhere .. Someone had an api with a built in PDF
functionality ?  is PDF open source now ?

On 8/24/06, Michiel Beijen <[EMAIL PROTECTED]> wrote:
> ** I guess you could the File > Pint bit using OLE automation. Macros only
> do searches or data maniputation, not printing afaik.
> I am not an OLE guru so I can not advice you how this should be done, but
> you might have access to a tech with OLE skills yourself or try some
> googling...
> --
> Michiel
>
> On 8/24/06, Raido Oja <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > At present I have the following scenario:
> > - user opens a display only form with some formatted character fields
> > - prints to a virtual pdf printer (using file > print)
> > - sends the .pdf via his default mail program as an attachment
> >
> > I need to automate that process. I can save the pdf to the email
> > messages form as an attachment using run process commands in an AL. The
> > tricky part for me is actually generating the pdf. Can I do the 'file >
> > print' command in a macro ? (having the printer and file name as
> > parameters). This would be the first time for me to work with macros so
> > any help is greatly appreciated. I'm also having a hard time finding
> > material on macros, there's not much in Remedy's docs. Am I even on the
> > right track with this solution ?
> >
> > Raido Oja
> > [EMAIL PROTECTED]
> >
> >
>
____________________________________________________________________________
___
> > UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
> >
>
> __20060125_______________________This posting was submitted
> with HTML in it___


-- 
Patrick Zandi

____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to