Crystal report viewer printer setup
On a few client workstations that happened to have an HP named the same as mine , the report would default to the HP , even though the HP was not the default printer in Windows. Going into the Page Setup dialogue box and checking No Printer optimize for screen display corrected the issue, and the reports now default to the correct Windows printer as they should. My question-is it by design that a report created in Crystal carries the default printer information from my workstation with it, and is checking the No Printer setting in the dialogue box the correct way to change it?
Or is there a better way to make sure the report always uses the default Windows printer on the client workstation rather than the default information from the workstation it was developed on. Thank you. From my experience CR always uses the default printer on the client's machine I think they call this a feature. But I believe you have the correct 'fix' to this issue. Originally posted by kevlray From my experience CR always uses the default printer on the client's machine I think they call this a feature.
Hi MikeC I had experienced the same thing as you. Now, the way i use is by selecting the default printer programatically in VB6 including defining other settings such as papersize, margin or printing orientation. This page was generated in 0. Active Topics. Topic: Printer Setup. Topic: Printer Setup Posted: 25 Mar at am. For this option, we first need to understand what the option is actually trying to say.
Formatting Page Size is the page size as remembered by the report, but it is based on the size of the paper as defined by the printer driver. Printer Paper Size is the size of the paper as defined on the printer driver.
There are a number of instances when this option needs to be considered;. Note that the report engine will scale the report to fit on the paper it is requested to print on.
This may result in smaller font being used. Margins may also be altered to conform to the scaling. Page Margins are also based on the paper size as defined on the printer driver. In the Page Setup dialog, these can be modified and saved into the report, thus over-riding the printer paper margins — if supported by the printer driver. Note that when Crystal Reports sees a paper margin on the printer driver that is set to zero, the margin will be adjusted to 0.
If you want a zero margin maintained, you must set it in the Page Setup dialog. When enabled, this option takes effect if a new page size is selected. If the new page size is smaller than the current printable area, Crystal Reports fills the entire page by reducing the margins to 0. The Conditional Formula allows you to control page margins on a set condition. For example a conditional formula could check for odd and even page number.
If page number is odd, the page margin could be set to one inch, else two inches. For more details see the Crystal Reports Help file. We can finally look at how the report engine constructs and uses the design pane. We can also start to understand why a choice of printer driver may become one of the most important considerations in report design.
When a report is created File New Report :. The report engine uses the default printer driver to build the design pane. However, the printer driver and its default page information is not saved into the report. Rather, the report engine looks for the closest matching paper information in its internal list and uses that information see Fig.
Crystal Reports is an object layout oriented application as opposed to free flow design in applications such as Microsoft Word. The above example demonstrates the horizontal difference only, but similar differences would occur in the vertical dimension. The same text placed in a text object in Crystal Reports will look as follows:. This is because Crystal Reports cannot flow adjust to the smaller horizontal dimension of the A4 paper size.
It is interesting to see that in report design view, the whole text object is visible, but part of the object is rendered off screen or off paper and thus the reason why part of line two is cut off:. Crystal Reports uses printer drivers to create the report design pane and to render the reports to screen, print and export. Printer drivers will affect the report behavior when the report is deployed to other computers and it is the report author's responsibility to choose the correct report initial conditions.
Skip to Content. Purpose Printing Crystal Reports is a series of documents that explain how Crystal Reports behaves when viewing, exporting and printing.
Basics — Before Designing a Report Crystal Reports relies on printer drivers to render the report view, export and print.
Inconsistencies due to printer drivers Inconsistencies viewing, exporting and printing may occur if the printer driver on the deployed system is different than the printer driver used to create the report. Problems such as these may arise when you have: Two identical printers, but each one is using a different printer driver. Two different printers using the same printer driver. Two different printers using different printer drivers.
One printer driver that uses the TrueType font and a second printer driver that maps TrueType fonts to PostScript fonts. Two identical printers using the same printer driver, but each one is printing from a different version of Microsoft Windows. Two identical printers using the same printer driver, but the printer drivers are different versions. Two identical printers, two identical printer drivers, and two identical operating systems, but the resolution of the video drivers is different.
The Crystal Reports Page Setup Dialog This dialog box appears when you choose the Page Setup command from the File menu and for our example looks as in the following screen shot. Using the above printer driver the report design pane will look as in the following screen shot: Fig.
The Crystal Reports available paper size design conditions in this case can be seen in the Page Setup dialog: Fig. Dissociate Formatting Page Size and Printer Paper Size For this option, we first need to understand what the option is actually trying to say. There are a number of instances when this option needs to be considered; Creating a custom size user defined paper size report within the Crystal Reports Designer. This would usually apply to labels, but not exclusively.
When creating reports for label printers. Labels will often be defined as custom paper size. View a report as one long page used for web viewing.
0コメント