Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

PDF Margins
Started by cmielke at 08-14-2008 15:00. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  08-14-2008, 15:00
cmielke is not online. Last active: 8/14/2008 7:47:33 PM cmielke

Top 500 Posts
Joined on 08-08-2006
Posts 9
PDF Margins
Reply Quote
I have an application that
1. Loads a URL into a web browser
2. Converts the resulting HTML document to PDF by using the ePrint COM object.

My problem is that the resulting PDF document does not have any top or bottom margins (text goes right ot the edge of the page. Is there a way to adjust the margins used by the printer? If so, how? I have explored the EpnEnhancedOptions, but I can't quite figure out how to apply those to the ePrint object.

I am using .NET 2.0 with C#. The Product ID of the printer is 5.0.1.117 - 14.5.0.050.

Thanks for the help.
   Report 
  08-14-2008, 15:24
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,816
Re: PDF Margins
Reply Quote
You will need to use the IEpnEnhancedOptions.Margin property.  There should be an example of how to set this and other properties of the IEpnEnhancedOptions object in the help file article "Margin property (IEpnEnhancedOptions)".

If you continue to have problems, please send a small sample project (NOT your entire application) that isolates this problem so I can try to reproduce it here.

NOTE: If you are attaching a project or file to the forums...
1.) Zip the file(s) up.
2.) Make sure it is less than 5 MB.  If it is larger, please send an email to support@leadtools.com and we'll send you FTP instructions.
3.) Remove ANY AND ALL unlock codes and LEADTOOLS DLLs.
4.) Do not click the preview button, the attachment will not show up when you post it.

If you do not wish to post your file(s) on the forum since they are publically viewable, please send an email to support@leadtools.com and make sure that you include a link to this forum post.

Greg Ross
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » ePrint API » PDF Margins

Powered by Community Server, by Telligent Systems