Bluetooth dot matrix printer (star)

Postby Maurizio » Wed Nov 09, 2005 1:46 pm

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
Maurizio
 
Posts: 796
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Wed Nov 09, 2005 4:44 pm

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
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Now it works

Postby josevalle » Thu Nov 10, 2005 9:49 pm

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
josevalle
 
Posts: 65
Joined: Fri Oct 14, 2005 6:20 pm
Location: Bilbao

Postby Antonio Linares » Fri Nov 11, 2005 12:38 am

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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 27 guests