Re: crystal report print to file




printtofile sets the port. Use the port property to set the port.
(Offhand, I don't know if the port should be FILE to get the file box,
or the filename you wish to export to. )

Iain

On Wed, 15 Feb 2006 11:14:14 -0500, "gerry" <germ@xxxxxxxxxx> wrote:

no , export only supports a specific set of export formats.
I would like to have the report saved to disk a as a tiff, which is not a
supported format - note that there are NO supported image file export
formats ( double doh! )
manually i can print to a fax printer and specify 'print to file' to
generate a tiff file.
but, as i said, the crystal ReportDocument PrintOptions does not expose a
PrintToFile property so there appears to be no way to do this
programatically :-(
Gerry


"Iain Sharp" <iains@xxxxxxxxxxxx> wrote in message
news:j7r5v1ptjo25154qlo1qg2va2nlplv0603@xxxxxxxxxx
On Wed, 15 Feb 2006 02:33:32 -0500, "gerry" <germ@xxxxxxxxxx> wrote:

Since the CrystalReport ReportDocument apparently lacks a PrintToFile
option
( doh ! ), does anyone know of any way print a report to a disk file
programmatically ?

Gerry


It's export to file. Check out Exportoptions.

Iain

.



Relevant Pages

  • Re: RB 5.5.5, Win-XP, serial ports problem
    ... Jonathan Hoyle wrote: ... Deprecated the Port property, please use the SerialPort propety instead. ... Note that you should always display some UI to allow the user to choose which port to use since serial ports are different on every machine. ...
    (comp.lang.basic.realbasic)
  • Re: crystal report print to file
    ... Driver, ... You should be able to set the port. ... a drivername, printername and portname attached to the report object, ... supported format - note that there are NO supported image file export ...
    (microsoft.public.vb.crystal)
  • Re: crystal report print to file
    ... - I cannot locate a 'port' property anywhere in the CR ReportDocument ... I assume that by 'file box' are you referring to the 'Print To File' ... supported format - note that there are NO supported image file export ...
    (microsoft.public.vb.crystal)

Loading