Report orientation different when sent to different printers. 
Author Message
 Report orientation different when sent to different printers.

Hi,

I have designed reports which are run on my server but routed to different
network printers.
The report orientation always comes out according to the default setting of
the routed printer.

But it doesn't happen when I sent the same printer as the default printer of
the server. The orientation comes out correctly.

I am using Crystal Report 7.

Could anyone advise me on this. Thank you.

Graeme Conrad Oei



Mon, 16 Dec 2002 03:00:00 GMT  
 Report orientation different when sent to different printers.
Hi Graeme.

This is what Crystal does.  When you change printers, Crystal sets the printer
settings back to the Default Printer settings.  With Crystal 7, unless you are
using the Print Engine calls, you cannot do anything with this, the RDC and OCX
are useless.

In version 8, the RDC has access to the DevMode structure where the printer
settings are located but not in the version you have.

If you are using the Print Engine calls, you need to include the module
CRWrap.BAS and use crPEGetSelectedPrinter after opening the Print Job.  This get
the printer settings from your report.  You can then call crPESelectPrinter to
reset the DevMode structure with the settings you retrieved.

If you would like, you can download a sample Print Engine application that will
show you how to do this.  You can go to Seagate's site at:

http://support.seagatesoftware.com/updates

and download the file called printer.exe.

--
Sincerely,
Brian Dong

To reply, remove nospam from the address.

Quote:

> Hi,

> I have designed reports which are run on my server but routed to different
> network printers.
> The report orientation always comes out according to the default setting of
> the routed printer.

> But it doesn't happen when I sent the same printer as the default printer of
> the server. The orientation comes out correctly.

> I am using Crystal Report 7.

> Could anyone advise me on this. Thank you.

> Graeme Conrad Oei




Tue, 17 Dec 2002 03:00:00 GMT  
 Report orientation different when sent to different printers.

When you set the name of the printer to output to, you also have to reset
the orientation,  otherwise as you have found out, it uses the printers
default



Quote:
> Hi,

> I have designed reports which are run on my server but routed to different
> network printers.
> The report orientation always comes out according to the default setting
of
> the routed printer.

> But it doesn't happen when I sent the same printer as the default printer
of
> the server. The orientation comes out correctly.

> I am using Crystal Report 7.

> Could anyone advise me on this. Thank you.

> Graeme Conrad Oei




Tue, 04 Mar 2003 09:23:35 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Printout is different on different printer

2. cr6 prof - different printers = different results

3. Sending output to different printers

4. Sending outpuut to different printers

5. Sending output to different printers

6. Crystal Reports to different Printers

7. Print report in 2 different printers

8. Multiple Printers - Report looks different!

9. print reports in different printers

10. Reformatting reports for different printers

11. Crystal report prints differently on different printers

12. printing 2 different reports simultaneously to printer object

 

 
Powered by phpBB® Forum Software