PrinterSettings

PrinterSettings

am 06.12.2007 15:21:23 von brwesoloski

I am having some problems with the PrinterSettings.

I am trying to figure out why I can't get duplex printing to work.

In doing so I have a problem where when I set the
PrinterSettings.PrinterName equal to the printer I get "Function evaluation
disabled because a previous function evaluation timed out. You must continue
execution to reenable function evaluation." for all the printer settings. I
know the printer is the correct name because if I run the code through it
will print the document just not in duplex mode.

What I have for code for duplex is



Now when I set the PrinterSettings.PrinterName equal to what I will call a
dumb printer, doesn't have duplex, stapeling or anything like that the
printer settings come back and I can look at them.

Re: PrinterSettings

am 06.12.2007 15:24:25 von brwesoloski

Sorry the message go sent before I finished putting in my code for the
duplex

This is what I have.

printerSettings.Duplex = System.Drawing.Printing.Duplex.Vertical;

which comes after I sent the printer name.

Any idea's on this?

TIA,
Brett
"Brett R. Wesoloski" wrote in message
news:%23uyBZOBOIHA.5360@TK2MSFTNGP03.phx.gbl...
>I am having some problems with the PrinterSettings.
>
> I am trying to figure out why I can't get duplex printing to work.
>
> In doing so I have a problem where when I set the
> PrinterSettings.PrinterName equal to the printer I get "Function
> evaluation disabled because a previous function evaluation timed out. You
> must continue execution to reenable function evaluation." for all the
> printer settings. I know the printer is the correct name because if I run
> the code through it will print the document just not in duplex mode.
>
> What I have for code for duplex is
>
>
>
> Now when I set the PrinterSettings.PrinterName equal to what I will call a
> dumb printer, doesn't have duplex, stapeling or anything like that the
> printer settings come back and I can look at them.