If it's an RS232 printer then you can connect it via RS232, if it's a Centronics printer then it's 5V logic, and you can connect it directly to the port pins, you need to create all the handshaking etc. in your software. It's really pretty easy to do, and is how printers have been connected all the time.