Remove gutter

Posted by: woodyd on 4 August 2017, 5:44 am EST

  • Posted 4 August 2017, 5:44 am EST

    How can I remove the gutter completely, so the Report looks like a textbox? Is this possible?

  • Posted 4 August 2017, 5:44 am EST

    File \ Page Setep \ Page Setup  will allow you to set your margins, note that you can start having printer problems if you set your margins less than half an inch (720 twips), especially if you have an old deskjet. Margins are ignored for subreports, instead the main reports margins are used.

  • Posted 4 August 2017, 5:44 am EST

    I tried that but it’s still the same. I’d like to show the page without the gutter. I am already resetting the margins before printing as A4.

  • Posted 4 August 2017, 5:44 am EST

    Where is the gutter still showing up? Viewer? Printed hard copy? Export?

  • Posted 4 August 2017, 5:44 am EST

    It shows in the Viewer, please see the attachment.



    Thanks



  • Posted 4 August 2017, 5:44 am EST

    Why are you using the PageStart event? You should experience greater success using the ReportStart event.

  • Posted 4 August 2017, 5:44 am EST

    Changed to ReportStart event, no difference. Has removing the gutter been achieved before ?

  • Posted 4 August 2017, 5:44 am EST

    Looking at your code, no matter what event, and looking at the image you posted I am not really seeing this gutter that your are attempting to remove. The margins look wider than 10 twips, but I am not aware of the distance your controls are from the edge either, plus I believe textboxes have a 15 twip border built into them as well.



    Since I doubt you are going to be printing you might try killing any default printer drivers in case those are causing an issue with your margins/gutter.

    Me.Printer.DeviceName = “”



    Also you may want to try dropping your margin/gutter on a standard paper size, if that works, then move to a custom to see if that has anything to do with it.



    Also if you are not using the latest AR2 release, considering upgrading.

    http://www.datadynamics.com/ShowForum.aspx?ForumID=37

  • Posted 4 August 2017, 5:44 am EST

    In the image I posted, there is a dark gray frame around the edge of the report area. Is this not the gutter? I want to remove this so the report edge meets the border of the control, with no space between.



    Excuse me if I referred to the wrong thing.

  • Posted 4 August 2017, 5:44 am EST

    That is not my understanding of what a gutter is and looking at AR's help files I don't think your take is their take either.

    http://www.datadynamics.com/Help/AR2/AR2Std/HX_PageSetting_Gutter.html



    The only thing that is coming to mind for me to do what you are attempting to do is to export the report to a file and then load that back into another control. Which to me sounds like a lot of coding for the programmer and resource intensive for the users.

  • Posted 4 August 2017, 5:44 am EST

    You are right, there is no quick and easy solution.

    I was hoping for the same effect as selecting ‘Normal View’ in a MS Word document.

    Thanks for the input anyway.

  • Posted 4 August 2017, 5:44 am EST

    That isnt the gutter.  That is the border that appears around any page in the print preview of a document.  I circled the corner of the page, note the shadow.

  • Posted 4 August 2017, 5:44 am EST

    There is no way to remove the grey border in the ActiveX viewer.  You may have other viewing options if you export the report to TIFF or PDF.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels