LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Direct print to LPT1

Has anyone managed to get a direct (raw) print to LPT1 ?

Ive tried using the outp function, but no joy..

Rgds

Andy
0 Kudos
Message 1 of 5
(4,181 Views)
Hallo, Andy,

Du meintest am 16.08.99 zum Thema Direct print to LPT1:

>
> Has anyone managed to get a direct (raw) print to LPT1 ?
>
> Ive tried using the outp function, but no joy..

Printing to LPTx uses handshaking. You have to serve these handshake
lines.
And you should take care of the "paper end" signal ...

Viele Gruesse!
Helmut
0 Kudos
Message 2 of 5
(3,846 Views)
> Has anyone managed to get a direct (raw) print to LPT1 ?
>

You can find details in an NIWeek presentation from two years ago.
You can use serial port VIs to output bytes to LPT1, or you can
use a DOS window to redirect a file with something like "type
output.txt > lpt1" or "copy output.txt lpt1". There are some
tricks having to do with getting the DOS window to work and
getting the serial configuration setup in the .ini file.

Greg McKaskle
0 Kudos
Message 3 of 5
(3,846 Views)
Hi

Thanks

Can you possible direct me to the information, I cannot find it on the NI
website

(I may be being blind here...but had a good look around and searched )

andy


BTW, I am not using VI's, im using CVI



Greg McKaskle wrote in message
news:37B8C07C.77E168BE@austin.rr.com...
> > Has anyone managed to get a direct (raw) print to LPT1 ?
> >
>
> You can find details in an NIWeek presentation from two years ago.
> You can use serial port VIs to output bytes to LPT1, or you can
> use a DOS window to redirect a file with something like "type
> output.txt > lpt1" or "copy output.txt lpt1". There are some
> tricks having to do with getting the DOS window to work and
> getting the serial configuration setup in the .ini file.
>
> Gr
eg McKaskle
0 Kudos
Message 4 of 5
(3,846 Views)
> Can you possible direct me to the information, I cannot find it on the NI
> website
>
> (I may be being blind here...but had a good look around and searched )
>

I searched too and didn't find anything on the web site. I know the
presentation was presented; so you may need to ask about it.

Greg McKaskle
0 Kudos
Message 5 of 5
(3,846 Views)