Re: Output a string to the default printer
- From: "AliR" <AliR@xxxxxxxxxxxxx>
- Date: Wed, 14 Sep 2005 14:34:23 -0500
By the way if you simply have you're users map the Network printer (Shared
Printer as you called it) to LPT1 or LPT2 on the remote machine, then you
can simply keep your code the way it is.
AliR.
"Simon" <spambucket@xxxxxxxxxxxx> wrote in message
news:uNcJuRVuFHA.3752@xxxxxxxxxxxxxxxxxxxxxxx
> > 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
>
>
.
- 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: Output a string to the default printer
- Next by Date: Re: Why MFC doesn't like /vmg?
- Previous by thread: Re: Output a string to the default printer
- Next by thread: Re: Output a string to the default printer
- Index(es):
Relevant Pages
|