• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 326
  • Last Modified:

Seagate Crystal, printing, no preview

Hi,

I added a Seagate Crystal Control to my dialog. Then I gave the member-variable the name m_report1. After doing some stuff (giving the report name, the connection string, ...), I call it like this:

                        m_report1.SetAction(2);

The specification says, that the value 2 (PE_TO_PRINTER) should directly print, and 1 (PE_TO_WINDOW) should give a preview. But - it always gives the preview. Is there something else I have to do before saying this command, or is there another mistake? And can I tell Seagate Crystal, never to ask for which printer it should use, but always take the standard printer?
0
spetrowitsch
Asked:
spetrowitsch
1 Solution
 
inprasCommented:
Hi spetrowitsch
Got to properties of Crystal report control you have added and select prit to printer under tab Control U will get results

Regards
0
 
pk_bmsCommented:
I have same problem, but i need to preview it and print it directly to client's default printer. Can any one help me???????????/
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now