FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Bluetooth dot matrix printer (star)
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM

Bluetooth dot matrix printer (star)

Posted: Wed Nov 09, 2005 01: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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Bluetooth dot matrix printer (star)

Posted: Wed Nov 09, 2005 04: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
Posts: 65
Joined: Fri Oct 14, 2005 06:20 PM

Now it works

Posted: Thu Nov 10, 2005 09: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Bluetooth dot matrix printer (star)

Posted: 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

Continue the discussion