By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,314 Members | 1,722 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,314 IT Pros & Developers. It's quick & easy.

I am bypassing the print spooler?

P: n/a
In my commercial financial application I run a deposit report. I use an
option to copy the report to the Clipboard. I then run a .NET consol app to
“grab” the Clipboard and format the data and print laser deposit tickets. I
use the following to set my printer:
PrintDocument doc = new PrintDocument();
if (printer != "default")
doc.PrinterSettings.PrinterName = printer;
I then raise an event:
doc.PrintPage += new PrintPageEventHandler(this.PrintPage);
Then the:
PrintPageEventArgs ev.Graphics.DrawString
draws a line one at a time.

I believe I am bypassing the print spooler. Is this wishful thinking on my
part?

Thanks
Austin

Jan 20 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
No, you're not bypassing the Print Spooler.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

In case of Minimalism, break Philip Glass.

"Austin Stephens" <Au************@discussions.microsoft.comwrote in
message news:0D**********************************@microsof t.com...
In my commercial financial application I run a deposit report. I use an
option to copy the report to the Clipboard. I then run a .NET consol app
to
"grab" the Clipboard and format the data and print laser deposit tickets.
I
use the following to set my printer:
PrintDocument doc = new PrintDocument();
if (printer != "default")
doc.PrinterSettings.PrinterName = printer;
I then raise an event:
doc.PrintPage += new PrintPageEventHandler(this.PrintPage);
Then the:
PrintPageEventArgs ev.Graphics.DrawString
draws a line one at a time.

I believe I am bypassing the print spooler. Is this wishful thinking on
my
part?

Thanks
Austin

Jan 22 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.