write to the lpt1

Kreuzfeld
10-01-2001, 06:08 AM
Hi does anybody know how to write to the lpt1??

i have to sent the value HEX "0A" to the the lpt1.

Can somebody help me

cu

BillSoo
10-01-2001, 09:12 AM
Possibly you can print the character chr$(10)...or you could try opening up the port using file methods...eg.

open "lpt1" for output as #1
put #1,,chr$(10)
close #1


"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder

rodfiuza
10-01-2001, 12:39 PM
Or you can write( or get) a small c program and call it from vb

if you want to hit the stars,shoot to the sky.

Kreuzfeld
10-02-2001, 08:46 AM
Do you have a Programm like this ???

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum