Re: POS printer on LPT ready ??
- From: "BB" <ssb_cro@xxxxxxxxx>
- Date: Tue, 6 May 2008 12:27:30 +0200
I mean something like that
This code I'm using to find out is POS printer on COM port is ready for
printing:
Dim oSerPort As System.IO.Ports.SerialPort
oSerPort = New System.IO.Ports.SerialPort(cPort, 9600, Ports.Parity.None, 8,
Ports.StopBits.One)
oSerPort.Open()
If oSerPort.DsrHolding Then
'Printer is ready
Else
'Printer is NOT ready
End if
"Benny Skjold Tordrup" <bst@xxxxxxxx> wrote in message
news:ezs3KA1rIHA.2292@xxxxxxxxxxxxxxxxxxxxxxx
Hi
What do you mean with ready?
You could send a zero byte printjob to the printer and after a slight
delay test if the print queue is empty.
Benny
"BB" <ssb_cro@xxxxxxxxx> skrev i en meddelelse
news:fvornc$qhd$1@xxxxxxxxxxxxxxxxx
Hi
Is there a simple way (or any other way) to find out is POS printer on
LPT port ready ??
VB 2005
Thenks.
.
- Follow-Ups:
- Re: POS printer on LPT ready ??
- From: *** Grier
- Re: POS printer on LPT ready ??
- References:
- POS printer on LPT ready ??
- From: BB
- Re: POS printer on LPT ready ??
- From: Benny Skjold Tordrup
- POS printer on LPT ready ??
- Prev by Date: ServiceModelReg fails in installation of WCF
- Next by Date: Re: ServiceModelReg fails in installation of WCF
- Previous by thread: Re: POS printer on LPT ready ??
- Next by thread: Re: POS printer on LPT ready ??
- Index(es):