Hello
Has anyone succeded using tdosprn on a usb port ?
I need to send ESC commands to a pos printer on a usb port, any idea ?
Thanks for the help
Richard
Hello
Has anyone succeded using tdosprn on a usb port ?
I need to send ESC commands to a pos printer on a usb port, any idea ?
Thanks for the help
Richard
Richard,
You may want to have a look at xHarbour's PrintFileRaw() function.
Hi,
Davide
Richard,
I found the note below in my archives. I don't know if it will help.
If it doesn't help, perhaps you can contact Kleyber for help.
Also, there is a FW function escape() for sending escape codes to the printer.
James
Posted: 12/25/03
Evans,
Try putting this line in your main prg before open any databases.
xHd := GetPrintDefault( GetActiveWindow() )
Regards and Merry Christmas
--
Kleyber Derick Batalha Ribeiro
Diretor de Produtos
TK Informídia Ltda
email: kleyber@tkinformidia.net
Web: www.tkinformidia.net
Davide wrote:Richard,
You may want to have a look at xHarbour's PrintFileRaw() function.
Hi,
Davide
James Bott wrote:Richard,
I found the note below in my archives. I don't know if it will help.
If it doesn't help, perhaps you can contact Kleyber for help.
Also, there is a FW function escape() for sending escape codes to the printer.
James
---------------------
Posted: 12/25/03
Evans,
Try putting this line in your main prg before open any databases.
xHd := GetPrintDefault( GetActiveWindow() )
Regards and Merry Christmas
--
Kleyber Derick Batalha Ribeiro
Diretor de Produtos
TK Informídia Ltda
email: kleyber@tkinformidia.net
Web: www.tkinformidia.net
Richard,
Your printdc.c surely has Escape().
Have a look at this example, maybe can help you.
www.solupymes.com/fwin/tdosprev.zip
This was published in the spanish forum at Feb/07
Richard Chidiak wrote:
Though i use fw printing, i will check if both can work together (this is my problem)
Richard