Re: how to detect printer is not connected to system
On Apr 7, 12:09 am, deke <m...@privacy.net> wrote:
> On 6 Apr 2007 11:12:07 -0700, "hari" <haricib...@gmail.com> wrote:
>
> >Hi all
> >How todetectprinterisconnectedto the systemn ports?
>
> >regards
> >Hari
>
> Look in the printers and faxes folder and then print a test page.
I "m trying to send a command to the printer from UI. If the printer
is not connected to the system,the UI hangs.So, I need to check
whether printer is available to send the command.If printer is not
available, I will display messagebox "No printer connected"
So , I need to check wheteher printer is available( connected to the
system or not?)
Re: how to detect printer is not connected to system
On 7 Apr 2007 22:43:28 -0700, "hari" <haricibi83@gmail.com> wrote:
>On Apr 7, 12:09 am, deke <m...@privacy.net> wrote:
>> On 6 Apr 2007 11:12:07 -0700, "hari" <haricib...@gmail.com> wrote:
>>
>> >Hi all
>> >How todetectprinterisconnectedto the systemn ports?
>>
>> >regards
>> >Hari
>>
>> Look in the printers and faxes folder and then print a test page.
>
>I "m trying to send a command to the printer from UI. If the printer
>is not connected to the system,the UI hangs.So, I need to check
>whether printer is available to send the command.If printer is not
>available, I will display messagebox "No printer connected"
>So , I need to check wheteher printer is available( connected to the
>system or not?)
Are you running dos? linux? win 3.1? Delphi? Visual C#? Fortran?
Cobol?
Re: how to detect printer is not connected to system
On Apr 8, 9:23 pm, deke <m...@privacy.net> wrote:
> On 7 Apr 2007 22:43:28 -0700, "hari" <haricib...@gmail.com> wrote:
>
>
>
>
>
> >On Apr 7, 12:09 am, deke <m...@privacy.net> wrote:
> >> On 6 Apr 2007 11:12:07 -0700, "hari" <haricib...@gmail.com> wrote:
>
> >> >Hi all
> >> >How todetectprinterisconnectedto the systemn ports?
>
> >> >regards
> >> >Hari
>
> >> Look in the printers and faxes folder and then print a test page.
>
> >I "m trying to send a command to the printer from UI. If the printer
> >is not connected to the system,the UI hangs.So, I need to check
> >whether printer is available to send the command.If printer is not
> >available, I will display messagebox "No printer connected"
> >So , I need to check wheteher printer is available( connected to the
> >system or not?)
>
> Are you running dos? linux? win 3.1? Delphi? Visual C#? Fortran?
> Cobol?- Hide quoted text -
>
> - Show quoted text -
My Os is Win XP and I m developing the GUI in VC++. Ihave checked
PRINTER_INFO_6 in MSDN which gives the status of the printer in
printers and faxes folder.But I need to know whether the printer is
connected to the PC's parallel/serial port.
Re: how to detect printer is not connected to system
hari wrote:
> On Apr 7, 12:09 am, deke <m...@privacy.net> wrote:
>
>>On 6 Apr 2007 11:12:07 -0700, "hari" <haricib...@gmail.com> wrote:
>>
>>
>>>Hi all
>>>How todetectprinterisconnectedto the systemn ports?
>>
>>>regards
>>>Hari
>>
>> Look in the printers and faxes folder and then print a test page.
>
>
> I "m trying to send a command to the printer from UI. If the printer
> is not connected to the system,the UI hangs.So, I need to check
> whether printer is available to send the command.If printer is not
> available, I will display messagebox "No printer connected"
> So , I need to check wheteher printer is available( connected to the
> system or not?)
>
Hmmm,
How about first command to check the printer ready status?
Re: how to detect printer is not connected to system
On Apr 9, 10:02 am, Tony Hwang <drago...@shaw.ca> wrote:
> hari wrote:
> > On Apr 7, 12:09 am, deke <m...@privacy.net> wrote:
>
> >>On 6 Apr 2007 11:12:07 -0700, "hari" <haricib...@gmail.com> wrote:
>
> >>>Hi all
> >>>How todetectprinterisconnectedto the systemn ports?
>
> >>>regards
> >>>Hari
>
> >> Look in the printers and faxes folder and then print a test page.
>
> > I "m trying to send a command to the printer from UI. If the printer
> > is not connected to the system,the UI hangs.So, I need to check
> > whether printer is available to send the command.If printer is not
> > available, I will display messagebox "No printer connected"
> > So , I need to check wheteher printer is available( connected to the
> > system or not?)
>
> Hmmm,
> How about first command to check the printer ready status?- Hide quoted text -
>
> - Show quoted text -
Hi
I m sending the command thru port monitor writeport,this writeport
takes time to recogonize that printer is not connected.
To send the first command printer should be there?