[Wine] print directly on another computer's LPT

tjandracom wineforum-user at winehq.org
Mon Sep 8 01:27:00 CDT 2008


how do i print directly to another computer's LPT port?
printing via GDI is no problem.

i have application that must print directly to LPT ports
on several computers. on local printer, there's no problem,
but i can't access LPT port on another computer.

in windows, i could simply map it to LPT2, and use the LPT2
   "net use LPT2: \\servername\printername"

or in my application i could open the network name directly:
   handle = fopen("\\servername\printername");
   fwrite( handle, buffer, buffersize );
   fclose( handle ); 

is it possibly to do that under wine? 
or similiar solution to do that?







More information about the wine-users mailing list