Re: Output a string to the default printer



> And what could be more "direct" than writing a line to LPT?

Shared printers.

> You would not pass a line of text to CPrntDialog, any more than you would
> pass a line of
> text to CColorDialog. It is meaningless. CPrintDialog has nothing to do
> with printing;
> it is involved solely with finding a printer, and, if you ask for it,
> giving you a printer
> DC to that printer. It has absolutely nothing to do with sending data to
> that printer.

??? You misunedstood or I am not sure i understand.
PrintDlg is to get the printer, where on earth did i mention using it to
actually print something?

Please read the other messages in the thread to see how this was solved.

regards.

Simon


.