Crystal Report Viewer "Print" button only shows Microsoft XPS Document Writer

I'm running a Crystal Report to the screen. On the viewer is a Print icon.

Print icon
But when I click it all I see is the Microsoft XPS Document Writer, it doesn't give me access to any of the other printers available.

print dialog
I'm running Windows Server 2008 R2, but is an issue reported by a customer, I just happen to be able to replicate it on a VM I have built.

I can see that it is defaulting to the system printer:

printers on server
 so if I change the System Printer to "One Note" for example:

change system printer
Then it prompts with that, but ideally I would like it to just allow them to select any printer.

change print dialog
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

How are they running the reports?

Crystal uses the default printer driver for the machine it is running on.  You can select any printer through the printer setup.

If you want them to select the printer you can set the reports to NO PRINTER in the PAGE SETUP.

When you say any printer, Crystal can only use printers available on the machine it is running from.

purplesoupProgrammerAuthor Commented:
It looks like it is printing through PEOutputToWindow.

I can't see how You can set NO PRINTER in PAGE SETUP it seems to always want a printer to be specified.

And Yes - I mean I want the user to be able to select any of the three printers shown on the screens, not any printer anywhere.
Sounds like a third-party application.  Was it written by your company or is there an outside developer?

I believe they have to supply a printer selection screen or perhaps there is a flag on the PEOutputtoWindow call that can be set to make them available.

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

purplesoupProgrammerAuthor Commented:
Sorry for the delay - It is just running Crystal through the OCX controls - the dialogs all look pretty standard.

Can you explain what you mean by this?

If you want them to select the printer you can set the reports to NO PRINTER in the PAGE SETUP.

I'm not really a Crystal expert - are there Crystal settings hidden somewhere like in the registry?
What version of Crystal are you using?

There are registry settings but none for this as far as I know.

Can you change the application?
I believe there is a setting for the viewer to display the printer setup icon.
You only have the PRINT icon which will print to the default printer.

The PRINT SETUP with the NO PRINTER option is in the Crystal Designer under PRINT SETUP or PAGE SETUP


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
purplesoupProgrammerAuthor Commented:
Thanks for your help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.