Bluetooth dot matrix printer (star)

User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

Hello Antonio

Thanks to your great help ,now works very well .

It is possible to set hIn to ?

Regards MAurizio
www.nipeservice.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Maurizio,

Try this:

#define GENERIC_READ 0x80000000
#define OPEN_EXISTING 3
#define FILE_ATTRIBUTE_NORMAL 0x00000080

...

local hIn := CreateFile( "COM8:",; // change the number as needed
GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
josevalle
Posts: 65
Joined: Fri Oct 14, 2005 6:20 pm
Location: Bilbao

Now it works

Post by josevalle »

Thanks Antonio, now it works.

When I started the aplication I was afraid of using a new product on an aplication with a so sort time limit. But now everything is ok
Jose Valle
Bilbao
Spain
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Jose,

We are glad to know we are moving forward :)

Thanks to all of you for your feedback and support,
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply