to print out a char to Printer port , I did like that..in dos program...

{
union REGS a;

a.h.ah = 0;
a.h.al = 'A';
a.x.dx = 0x378;
int86( 0x17, &a, & );
}

I'd like to know how to send one char to printer port in kernel module?
Is there any function to corresponding to int86() function?

Could someone tell me how to access and send out some string throught
printer port from my kernel module?

Thanks...