PrintInfo PaperSize in version 3

Posted by: stage on 8 September 2017, 12:44 pm EST

  • Posted 8 September 2017, 12:44 pm EST

    In version 2.5 I was printing a sheet (PrintSheet) and was setting the PrintInfo on the sheet specifying the PaperSize to either legal or letter such as


    printInfo.PaperSize = new System.Drawing.Printing.PaperSize("Legal", 850, 1400);


    Everything worked perfectly.


    In version 3 if I set the PaperSize the sheet will not print. It will go to the printer but just sits there in the queue but does not print. This is happening here when I am testing and at the client.

  • Replied 8 September 2017, 12:44 pm EST

    Hello,

    I tried this and didn't encounter any issues. I used the latest build of Spread for Win forms(3.0.2004.2005) using this code:
     
            Dim printset As New FarPoint.Win.Spread.PrintInfo()
    printset.PaperSize = New System.Drawing.Printing.PaperSize("Legal", 850, 1400)

    FpSpread1.Sheets(0).PrintInfo = printset
    FpSpread1.PrintSheet(0)
      Make sure you're using the latest version of Spread Win 3. If you aren't using the latest, you can get that on our updates page:
    http://www.clubfarpoint.com/FarPointSupportSite/Modules/Download/updates.aspx

    It is possible that this is a printer issue. If using the latest Spread doesn't work, try updating your printer drivers and see if that helps.
  • Replied 8 September 2017, 12:44 pm EST

    I updated version and drivers and the problem still persisted for a while but on fresh testing today it now seems okay. I will do the same at the client site. Thanks.

  • Replied 8 September 2017, 12:44 pm EST

    Maybe all it needed after the updates was a reboot and thats why it persisted. Glad to hear that it's doing better. If you have any other troubles, we're here to help. :)
Need extra support?

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

Learn More

Forum Channels