Bluetooth dot matrix printer (star)
Bluetooth dot matrix printer (star)
Hello:
I have a converter Bluetooth - Paralel conected to the printer.
I can see the printer in the bluetooth manager, it is asigned to COM7
I have tried:
SET PRINTER TO COM7
SET PRINT ON
? "PRUEBAS"
?
SET PRINTER TO
SET PRINT OFF
It does not work.
You wrote a mail about that but I cant conect.
Thanks for your help.
Jose Valle
I have a converter Bluetooth - Paralel conected to the printer.
I can see the printer in the bluetooth manager, it is asigned to COM7
I have tried:
SET PRINTER TO COM7
SET PRINT ON
? "PRUEBAS"
?
SET PRINTER TO
SET PRINT OFF
It does not work.
You wrote a mail about that but I cant conect.
Thanks for your help.
Jose Valle
Jose Valle
Bilbao
Spain
Bilbao
Spain
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Thanks Antonio.
I will try that tomorrow. With this solved I can finish my aplication only a little bit late!!!
For testing I have buy a bluetooth to printer conector (60€) and I use a dot matrix paralel printer. When sure I will buy Star in 12 Volts 60 cols 600€.
(this is a littlr off topic but this is the only place I know for speaking about this)
Jose Valle
I will try that tomorrow. With this solved I can finish my aplication only a little bit late!!!
For testing I have buy a bluetooth to printer conector (60€) and I use a dot matrix paralel printer. When sure I will buy Star in 12 Volts 60 cols 600€.
(this is a littlr off topic but this is the only place I know for speaking about this)
Jose Valle
Jose Valle
Bilbao
Spain
Bilbao
Spain
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Hello:
When I use the sample program it does not detect the printer.
Using the bluetooth program I see the printer.
But I can´t print in it.
Using one program form HP I can send a file to the printer and it works
I will test more things but I know almost nothing about bluetooth
When I use the sample program it does not detect the printer.
Using the bluetooth program I see the printer.
But I can´t print in it.
Using one program form HP I can send a file to the printer and it works
I will test more things but I know almost nothing about bluetooth
Jose Valle
Bilbao
Spain
Bilbao
Spain
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
We have just published a new FWPPC build.
In samples\bluetoth.prg, please change local hOut := BlueOut() into:
#define GENERIC_WRITE 0x40000000
#define OPEN_EXISTING 3
#define FILE_ATTRIBUTE_NORMAL 0x00000080
...
local hOut := CreateFile( "COM6:",; // change the number as needed
GENERIC_WRITE, 0, 0, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL )
MsgInfo( Str( hOut ) ) // Lets see if we get a valid handle, not -1
...
and change CloseComm( hOut ) into CloseHandle( hOut ).
Thanks for your feedback,
In samples\bluetoth.prg, please change local hOut := BlueOut() into:
#define GENERIC_WRITE 0x40000000
#define OPEN_EXISTING 3
#define FILE_ATTRIBUTE_NORMAL 0x00000080
...
local hOut := CreateFile( "COM6:",; // change the number as needed
GENERIC_WRITE, 0, 0, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL )
MsgInfo( Str( hOut ) ) // Lets see if we get a valid handle, not -1
...
and change CloseComm( hOut ) into CloseHandle( hOut ).
Thanks for your feedback,