Printing Margin issue

Posted by: koustubh on 8 September 2017, 2:43 pm EST

  • Posted 8 September 2017, 2:43 pm EST


    Hello,


    For printing spread to PDF file I am setting margins as follows. This code for some PCs(Desktop) it working correctly but for some PCs it start margins form (0,0). to achieve the correct output, what needs to do extra? Please help it is urgent.   


    pinfo.Margin = new FarPoint.Win.Spread.PrintMargin(10, 10, 0, 0, 0, 0);

  • Replied 8 September 2017, 2:43 pm EST

    Do you know what the difference is between the PC's it works on and the PC's it doesn't?
  • Replied 8 September 2017, 2:43 pm EST

    Actually all PCs are of same configuration. There is no such difference.

  • Replied 8 September 2017, 2:43 pm EST

    My exe is at central place and users using it with creating shortcut on their desktop. They have same pdf drive. Insted I am using farpoints .dll file to print this document to pdf. please resolve this I am facing huge problem.
  • Replied 8 September 2017, 2:43 pm EST

    Do they all have the same pdf print driver? If it works on some PC's and not others, we need to know why in order to solve your problem. If the app is the same from PC to PC then the environment its running on in those PC's must be different if it works on some and not on others. There has to be some difference in the PC's it works on and the ones it doesn't, unless there is a difference in the app on PC's it works on and PC's it doesn't. Presumably though you compile your exe on your development machine and redistribute it to your clients, therefore the app should be identical from client to client.
  • Replied 8 September 2017, 2:43 pm EST

    Is there a difference in the printers they are printing to?
  • Replied 8 September 2017, 2:43 pm EST

    I am printing the spread to PDF. using spread properties.
  • Replied 8 September 2017, 2:43 pm EST

    I ran your project and my results were different from either of your pdfs, I have forwarded your project and the pdf's to our developers for an explanation. I'm pretty sure on my pdf the margins were greater than 10 on either side with a solid line border on either side. The Defect # is 99923008. I do not think this is a problem with Spread (if it were it would not work on any PC) but I'm hoping they can provide some insight as to environment variables may be causing these differences and if we can I dentify them maybe we can correct them or program around them. I'll post any answer I get here.
  • Replied 8 September 2017, 2:43 pm EST

    I also feel this is an environmental issue. Because it is working correctly on some machines. I want to know what is that issues so I can fix it. please reply as early as possible.
  • Replied 8 September 2017, 2:43 pm EST

    If you can send us a sample that reproduces what you are seeing we can try it and see if it fails on our computers, if it fails on our computers then we can troubleshoot it.
  • Replied 8 September 2017, 2:43 pm EST

    I checked the status of the defect and it is still unassigned so there is no fix yet
  • Replied 8 September 2017, 2:43 pm EST

    Have the log is assigned?
  • Replied 8 September 2017, 2:43 pm EST

    As per your requirement I am sending you the sample project with printed .pdf documents with same code on different machines. The expected out put is b.pdf and ss.pdf is wrong output.
    2011/08/Output.zip
  • Replied 8 September 2017, 2:43 pm EST

    Hello, Is the problem found?
  • Replied 8 September 2017, 2:43 pm EST

    I don't have that information now

  • Replied 8 September 2017, 2:43 pm EST

    Hi,

    We checked this issue and it seems fixed already in v6.0.xx05 releases (latest release of v6).  If you're still using v5, you'll need to upgrade to get this fix.  You can download the builds here:

    http://www.componentone.com/SuperProducts/SpreadNET/

  • Replied 8 September 2017, 2:43 pm EST

    Still no fix found
  • Replied 8 September 2017, 2:43 pm EST

    Is there any updates?
Need extra support?

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

Learn More

Forum Channels