How to make Crystal Reports Page Width Larger During Design of .rpt

后端 未结 7 863
日久生厌
日久生厌 2020-12-30 08:45

I\'m looking for a method to resize the page width Crystal Reports gives me to place fields in my .rpt file.

So far I have discovered if I right click on the report,

相关标签:
7条回答
  • 2020-12-30 09:05
    1. Go to Printers and Faxes
    2. Select Printer
    3. Go To File / Server Properties
    4. Go To Click New Form
    5. Go To New Form -- > Write a Name of PaperSize
    6. Go To New Form -- > Write a Name of PaperSize
    7. Go To measurements Unit -- > Set Paper Size Wdith and Hight , Margin
    8. Click OK
    9. Goto Crystal Report - > Page Setup
    10. Page options - > Selecte your new created papper Size
    0 讨论(0)
  • 2020-12-30 09:12

    I realize that this is a very old topic and the question is about design mode but since this question keeps coming up in my Google searches, I expect that this may help someone. So, I just wanted to add that programmatically, this can be done without a dummy printer like this:

    var repDoc = new ReportDocument();
    repDoc.Load(rpt_path);
    
    ISCDReportClientDocument clientDoc = repDoc.ReportClientDocument;
    clientDoc.PrintOutputController.ModifyUserPaperSize(repDoc.PrintOptions.PageContentHeight, repDoc.PrintOptions.PageContentWidth * 2);
    
    0 讨论(0)
  • 2020-12-30 09:14

    Found it: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=754

    Basically add a dummy printer to your system that can take a larger paper size and select that as your printer for the report.

    0 讨论(0)
  • 2020-12-30 09:20

    use the microsoft xps document writer as your dummy printer, and create a new form from server properties as the post above me states.

    0 讨论(0)
  • 2020-12-30 09:23

    I set the printer to something absurdly wide and use that. ben's link is the right idea.

    0 讨论(0)
  • 2020-12-30 09:28
    1. By changing your reports paper size. Make it to legal/letter etc will increase width of your reports so that you can easily display number of columns (more than 10) on your report.

      To do that Right click --> Design --> Printer Setup -->Paper --> Size .

    2. Another way can be by changing your reports orientation. By default it is Portrait. You can change it to Landscape by

      Right click --> Design --> Printer Setup --> Orientation -->Landscape (Radio button.)

    3. File --> Printer Setup --> properties orientation select Portrait

    0 讨论(0)
提交回复
热议问题