Wrox Programmer Forums
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 20th, 2005, 06:44 AM
Registered User
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Zero margins

Hello.

I have a problem with setting the margins in my report.

What i have to do is print a report with some custom parameter fields (a lot of them) on an printed paper form that the user puts in the printer.

What i have done to save me a lot of work is scan the form and add it as a picture in Crystal Reports and so i was able to put the fields on the form manually without having to measure the distances on the paper. When i finished i simply deleted the picture and saved the report with the fields in the right place.

My problem is that (even if i set them) the margins of the document are not zero and so when the user puts the form in the printer the fields don't appear where they should, but have an offset (because of the margin).

My question is: how can i make the margins of a document physically zero (the ReportDocument.PrintOptions.ApplyPageMargins doesn't work) or if it can't be done how can i find a way around this?

Thanks in advance,
AGT.

PS: i do have a deadline so any feedback would be more than welcome. :)

 
Old September 21st, 2005, 06:02 AM
Registered User
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi everyone.

I actually found what the problem was by myself.

It was the unit of measure... the twip... of which i found out yesterdey after scavanging the net for a couple of hours.

Crystal Reports uses for all its measurements the twip unit (567twips=1cm)

Thank you anyway,
Best regards






Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 3 (Fig 3-23) - Box model margins wilsonc BOOK: Accessible XHTML and CSS Web Sites: Problem Design Solution 0 July 31st, 2006 10:23 PM
Chapter 11 Exercise - IE6 Margins discgolfer BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 4 January 23rd, 2006 01:05 PM
Printer Object : How to set Page Margins? vb_programmer Beginning VB 6 1 September 2nd, 2005 01:10 PM
margins Warbird BOOK: Professional Crystal Reports for VS.NET 1 December 29th, 2004 01:55 PM
page margins not set in the exported pdf files boat Crystal Reports 0 April 21st, 2004 04:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.