thanks for your answer.
The printer is an Epson LX300 and is currently printing from a PDA via bluetooth.
My question is about the procedure for printing from the program to the printer.
I guess it must be through the serial library, but I would like to see an example.