This is a long-shot as it's unlikely there will be any developers on this forum, but here goes!
I've developed a .Net (WPF) application that prints text documents. The code that performs the printing is tried and tested and can be found on numerous websites, so I'm confident that it's working correctly. I even downloaded a popular open source program (a code editor called "SharpDevelop", also written in .Net WPF) which suffers from the same printing problem, so I know it's not just mine.
When the user chooses to print, the code first displays the standard print dialog (i.e. the one where you select a printer). When the "Print" button is clicked, the .Net code asks the selected printer for some information such as the page dimensions. These are used to paginate the document to the correct size, which is then sent to the printer.
This works fine on all of our printers except the WorkCentre 7120's. Despite selecting A4 portrait in the print settings dialog, the printer reports the page dimensions as 1122 pixels wide by 793 pixels high. If you divide these values by 96 (dpi) it gives you an A4 page *but in landscape* (11.75" x 8.25"), so clearly the wrong way around. The printed output does come out in portrait mode, but only the first 8.25" of the paper is printed on before breaking to a new page, and the r.h. side is cropped (due to an 11.75" wide document being printed on an A4 portrait page).
As I've already mentioned, all the other printers on site (Xerox and others) return the correct page dimensions to the software (793h x 1122w), and print correctly. It's just the WorkCentre 7120's that returns these values the wrong way around. Any ideas what is going on? Other applications (e.g. Office) print fine of course, so the problem appears to be a combination of .Net and this printer model.
Solved! Go to Solution.
Thank you for using the Xerox forum.
If I understand your inquiry correctly and to rephrase it:
There is a repeatable issue with a program and specific 7120 product drivers that print images rotated incorrectly.
The keys here would be repeatable not related to a specific file and for a specific product.
Usually Xerox can follow up on these type issues and get an update or patch to the printer driver package.
This is what we refer to a a SPAR and you would need to contact your local support team so they can submit the needed details.
If you are outside the USA you should contact the local support center in your area which you can find here:
It turned out to be the printer driver, and printing started to work correctly after our IT guy updated the drivers on the print server.
Thanks for your help