Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: FileSystemEventHandler arguments question. Pin
Josh Smith19-May-06 4:59
Josh Smith19-May-06 4:59 
AnswerRe: FileSystemEventHandler arguments question. Pin
Stefan Troschuetz19-May-06 5:06
Stefan Troschuetz19-May-06 5:06 
GeneralRe: FileSystemEventHandler arguments question. Pin
aquacadet19-May-06 6:00
aquacadet19-May-06 6:00 
GeneralRe: FileSystemEventHandler arguments question. Pin
Stefan Troschuetz19-May-06 6:34
Stefan Troschuetz19-May-06 6:34 
Questiona question about messagebox ? Pin
cmpeng3419-May-06 4:39
cmpeng3419-May-06 4:39 
AnswerRe: a question about messagebox ? Pin
mav.northwind19-May-06 5:19
mav.northwind19-May-06 5:19 
QuestionProgrammatically creating Reports using Reporting Services Pin
anderslundsgard19-May-06 4:14
anderslundsgard19-May-06 4:14 
Questionhelp printing HTML with C# to printer Pin
dpietro19-May-06 4:14
dpietro19-May-06 4:14 
I have to print the contents of an html file (or stream) to a printer.
I've hunted around a bit and it seems I must use the graphics object to format my lines one at a time to send them to the printer.
In looking at some samples, this particular line of code seems to be common :
ev.Graphics.DrawString(line, printFont, Brushes.Black,
leftMargin, yPos, new StringFormat());

This is a concern to me, as my html has images in it. I dont believe I want to tell the DrawString what color to use.
Probably cause I'm new to dealing with this type of problem, I simply dont see what I really need to do.
Can someone point me to somthing that might help clear my head up?

To restate, I have HTML that I must (thru C# code) send to the windows installed default printer - I just dont see how-to!

Thanks!

-- modified at 10:20 Friday 19th May, 2006
Oh, in looking around some more I see it might be helpful to add that this HTML is being generated via XML/XSL transform inside a web service which has no visual components.

AnswerRe: help printing HTML with C# to printer Pin
BoneSoft19-May-06 4:42
BoneSoft19-May-06 4:42 
GeneralRe: help printing HTML with C# to printer Pin
dpietro19-May-06 5:02
dpietro19-May-06 5:02 
Questionset a background image to my control Pin
Sasuko19-May-06 4:02
Sasuko19-May-06 4:02 
Questioncalling datagridview double click event on button click Pin
abhinish19-May-06 3:38
abhinish19-May-06 3:38 
AnswerRe: calling datagridview double click event on button click Pin
Josh Smith19-May-06 5:08
Josh Smith19-May-06 5:08 
Questionproblem in Rollback operation in deloyment project under c#.net Pin
manusharma19-May-06 3:15
manusharma19-May-06 3:15 
QuestionDisplaying Progress Pin
Rizwan Rathore19-May-06 2:39
Rizwan Rathore19-May-06 2:39 
AnswerRe: Displaying Progress Pin
MohammadAmiry19-May-06 3:26
MohammadAmiry19-May-06 3:26 
GeneralRe: Displaying Progress Pin
Rizwan Rathore19-May-06 7:45
Rizwan Rathore19-May-06 7:45 
GeneralRe: Displaying Progress Pin
Limey42021-May-06 11:41
Limey42021-May-06 11:41 
Questiontable to label - basics(asp&c#) Pin
locaas19-May-06 1:55
locaas19-May-06 1:55 
AnswerRe: table to label - basics(asp&c#) Pin
pq4noeh19-May-06 2:13
pq4noeh19-May-06 2:13 
GeneralRe: table to label - basics(asp&c#) Pin
locaas19-May-06 2:21
locaas19-May-06 2:21 
GeneralRe: here you have the code Pin
pq4noeh21-May-06 22:01
pq4noeh21-May-06 22:01 
QuestionConect to the domain server Pin
pq4noeh19-May-06 1:33
pq4noeh19-May-06 1:33 
AnswerRe: Conect to the domain server Pin
Ryan Roberts19-May-06 2:14
Ryan Roberts19-May-06 2:14 
QuestionRegarding Crystel Reports Pin
A.Grover19-May-06 1:18
A.Grover19-May-06 1:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.