Re: Output a string to the default printer
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Thu, 15 Sep 2005 00:10:27 -0400
Perhaps I was confused by these lines:
>So is there a 'easy' way to pass data to the currently selected printer?
>I know how to get the PrintDlg(...), but how do I pass a line of text to it?
It appears that the antecedent of 'it' is the PrintDlg().
joe
On Wed, 14 Sep 2005 18:47:19 +0100, "Simon" <spambucket@xxxxxxxxxxxx> wrote:
>> 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
>
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- Output a string to the default printer
- From: Simon
- Re: Output a string to the default printer
- From: Simon
- Output a string to the default printer
- Prev by Date: Re: whats wrong with my decimal input
- Next by Date: Re: whats wrong with my decimal input
- Previous by thread: Re: Output a string to the default printer
- Next by thread: How to split a dialog?
- Index(es):
Loading