Re: Printing to file without PrintDialog
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 24 Dec 2005 01:41:17 -0500
Franlin,
On the PrintDocument class, have you changed the PrintToFile and
PrintFileName properties exposed by the PrinterSettings property? You
should be able to set these to indicate you want to print to a file (without
using a PrintDialog).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Franlin W" <wfka@xxxxxxxxxxxx> wrote in message
news:doefbj$7g1$1@xxxxxxxxxxxxxxxxxxxxx
> Is it possible to print directly to file without PrintDialog or
> PrintPreviewDialog?
>
> Have any succeeded to program this feature?
>
> Cheers,
>
>
.
- References:
- Printing to file without PrintDialog
- From: Franlin W
- Printing to file without PrintDialog
- Prev by Date: Re: cyclic dependency
- Next by Date: Re: CSharp VB Excel COM Differences
- Previous by thread: Printing to file without PrintDialog
- Next by thread: Modal in C#
- Index(es):