2

I have made an XPS document in Microsoft Word (Print --> print to XPS Writer). On Windows 7 (64 bit) machine I can open this file in XPSViewer or IE and send it to an actual printer, where the XPS document is successfully printed. All testing so far has been done on Networked printers.

On my windows XP (32 bit) machine, I can create an XPS document with Microsoft Word, but my attempts to print the XPS document to an actual printer are unsuccessful. This machine indicates that the job was successfully sent to the printer, but the printer does not print the document, and printer logs indicate that the job was not received. I am attempting to print to the exact same printers from both the XP and the Win7 machine. Attempting to print non XPS documents still works fine on the XP machine.

What could be missing from the XP machine that would cause this kind of behavior? I have .Net 4.0 framework installed.

ford
  • 43

4 Answers4

1

Potentially a driver issue on your XP setup

Why not try SumatraPDF 1.9 to read the XPS (Portable version is a single file, no install) then try printing from its window if that fails it can save as PDF open that then try print again that will prove if its the app (xps viewer) or printdriver/spooler rejecting some xps string

If it is the latest driver try modifying some advanced settings such as spooling raw etc.

kod
  • 11
1

SumatraPDF can send files to a printer directly via the CLI.

Prints a PDF file on a default printer

-print-to-default $file.pdf

Prints a PDF on a given printer

-print-to $printer_name $file.pdf  

Opens a PDF file and shows a print dialog to select printer and printing options

-print-dialog $file.pdf  

When -print-to-default or -print-to is used, will exit after printing

-exit-on-print  

So try:

drive:\path\SumatraPDF.exe -print-to-default -exit-on-print "drive:\path\my test file.xps"

or

drive:\path\SumatraPDF.exe -print-dialog "drive:\path\my test file.xps"

Gareth
  • 19,080
kod
  • 166
0

Based on this post, try to disable printer spooling.

This is done in the printer's Properties, Advanced tab, check "Print directly to printer".

harrymc
  • 498,455
0

I believe their are internal MS issues with their XPS option and 64bit OS machines. MS OneNote has a great "Send to OneNote" print option which uses XPS drivers I believe... but not if it was a 64bit OS, at least for OneNote 2007 versions. A Microsoft OneNote team engineer, on his own time, wrote up a "fix around" for Sending to OneNote on x64 machines which involved an XPS driver of his own making that he posted for download. It wasn't even an official MS driver solution. They might have fixed it for the OneNote 2010 version, or not. But 64 bit OS XPS options were problematic from Microsoft having not addressed it properly. You may have to search MS to see if they have any quick fix drivers for the specific XPS problem. I got lucky searching their MS OneNote website.

PhxTitan
  • 73
  • 1
  • 3
  • 8