Re: Output a string to the default printer



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
>
>


.



Relevant Pages

  • Re: Network Printer
    ... What command do I now use to print in DOS to lpt1? ... installation program that this is now a network printer. ... "computername" bit. ...
    (microsoft.public.windowsxp.general)
  • Re: printready() in WinXP return TRUE, but there is no printer
    ... >WinXP, there is no printer nor on LPT1, neither on LPT2 ... >LPT1 & LPT2 ports also not redirected to any network printer. ... valusoft AT optusnet DOT com DOT au ...
    (comp.lang.clipper)
  • Re: Network Printer
    ... I am using XP and have a network printer which I use for printing from a ... What command do I now use to print in DOS to lpt1? ... "computername". ...
    (microsoft.public.windowsxp.general)
  • Re: Network Printer
    ... What command do I now use to print in DOS to lpt1? ... to your router. ... installation program that this is now a network printer. ...
    (microsoft.public.windowsxp.general)
  • Re: Local Printer printing to Network Printer - Help!!!
    ... If I select the local printer and print a test page, it prints on the network printer as well. ... Somehow my LPT1 is routing to the network printer even though the network printer is not installed and there is no indication that LPT1 is redirected to the network. ... I suspect that the computer may have had the network printer installed on it previously and captured the LPT1 port in order to print from DOS, but if so the network printer was deleted. ...
    (microsoft.public.windowsxp.general)