package hardware.print;
public class printer {
static public native int Open();
}
jni导出的函数是
Java_hardware_print_printer_Open