Monday, August 30, 2004

Mounting .iso on windows XP

How do you mount a .iso cd image file on windows XP like you can on in linux

I found a reference to "Virtual CD-ROM Control Panel v2.0.1.1" on a news group site after googling on for a little while, and I was suprised to find when I made use of the site: directive in google the only page that made any reference to the control panel applet above was This MSDN Faq page. Usage is pretty easy provided you follow the instructions in the readme.

Wednesday, August 25, 2004

Wrestling with windows TCP/IP printing

How do I configure TCP/IP printing in windows to print to a linux print spooler?

Yes I know this question is covered in countless other blogs and web pages, but what's another notch on post.
Go to control panel and add a printer -> Specify local printer (but do not choose detect printer automatically) -> Create New port ( select Standard TCP/IP Port) -> New port wizard comes up
Enter hostname or IP address -> Select Custom (click settings) -> Protocol select LPR -> Enter queue name -> click the checkbox "LPR byte counting enabled" -> Click Ok -> Next -> Finish

Back at the add printer wizard select the print driver -> enter name and default printer options -> Sharing options -> Testing options -> Finish

Prior to having "LPR byte counting enabled" I noticed LPD logging "Error while reading file - Numerical result out of range". So when I looked online I found that if "LPR byte counting enabled" is not checked the windows 2000 implementation of lpr doesn't send the file length to the unix LPD as it expects it sends a value that resolves in terabytes hence the "out of range" portion of the error.

An excellent writeup of the protocol implementation differences is located here.