PrinterSettings

  • Thread starter Brett R. Wesoloski
  • Start date
B

Brett R. Wesoloski

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.
 
B

Brett R. Wesoloski

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top