JavaScript's print method used to print the content of the window on which used to the selected (default) printer!
So if you have office installed you also have a xps printer installed, that in lack of other printers will be the default.
Try to install some pdf printer (
CutePDF Writer[
^]) and select it when printing...