I have an interesting problem. I need to be able to print to printers across a vpn network. I have set up windows drivers for the printers which are all okidata ml320 turbos. using win32::printer to format the output I am able to print results on various printers. However with the ml320s they only print in nlq. this is way to much ink.
Unfortunately I read somewhere that win32::printer resets the printer to defaults. I have set all the printer drivers to the fastest printing drivers, including the defaults in the windows drivers. I have changed the settings in the printer and it always prints nlq. It seems that win32 printer uses the factory settings and you can't change them. This is apparently a fault in the drivers supplied by windows.
I have learned that win32::printer doesn't support printer commands. (or at least I haven't found out how) If you know how to do this it would be greatly helpful. As then I would be able to control the printer directly. However it seems that net::lpr means that I could bypass the windows drivers. So my question is will net::lpr accept the formatting from win32::printer and can any one supply a snippet of code to show how.