Print to pdf issue

Posted by: mramirez on 28 April 2023, 12:03 am EST

  • Posted 28 April 2023, 12:03 am EST

    Hi, when I print to pdf all the sheets with the function printsheet(-1) with the version 16, the result file only has the last sheet. With the same code in version 14 this did not happen. This is my configuration of the PrintInfo:

    oSheet.PrintInfo.PrintToPdf = True

    oSheet.PrintInfo.PdfFileName = fileName

    oSheet.PrintInfo.PdfWriteMode = FarPoint.Win.Spread.PdfWriteMode.Append

    oSheet.PrintInfo.PdfWriteTo = FarPoint.Win.Spread.PdfWriteTo.File

  • Posted 30 April 2023, 10:18 pm EST

    Hello,

    Thank you for reporting this issue. It was a known issue and we too can observe the issue and escalate this to the development team for investigation. We will let you know as soon as we get any update on this from their end.

    [Internal Tracking ID: SPNET-29459]

    Regards,

    Prabhat Sharma.

  • Posted 28 May 2023, 3:34 am EST

    Hi

    I have the same problem, but it’s only print the first page. I have upgrade from version 14 to 16.1

    For Each SheetView In FpSpread1.Sheets

    SheetView.PrintInfo = printset

    Next

    FpSpread1.PrintSheet(-1)

    I found out that

    fpSpread1.SafePrint(fpSpread1,0)

    is doing a better work for me, is it possible to use to print all tabs?

  • Posted 28 May 2023, 7:20 pm EST

    Hello Patrik,

    The PrintSafe method uses the same PrintInfo so the issue is there with the SafePrint method too. The development team is working on this and will fix this issue in the v17 version of the API.

    Currently, you can print a single page using the PrintSheet method and merge those pdfs using some tools.

    You can also try out other product Documents for Pdf and see how you can use to merge the pdfs:

    https://www.grapecity.com/documents-api-pdf/demos/features/merge-pdfs/merge-pdfs/code-cs

    Regards,

    Prabhat Sharma.

  • Posted 28 May 2023, 9:52 pm EST

    Thanks for your replay.

    I have to downgrade my projekt then. Is there any problem to do a downgrade? You know last version working with This pdf?

  • Posted 29 May 2023, 3:22 pm EST

    Hello Patrik,

    If you specifically need this export feature then you can downgrade to the 15.3.0 version for now as it was the last version, this feature was working

    I will update this thread once the fix is available in the latest version.

    Regards,

    Prabhat Sharma.

  • Posted 29 May 2023, 3:50 pm EST

    Thanks for your help.

    I can’t activate this version, how do I get a KEY?

  • Posted 29 May 2023, 8:06 pm EST

    Hello Patrik,

    We have created and replied to this case on our private portal. Please click on the below-given link for the same:

    https://www.grapecity.com/my-account/my-support/case/141419dc-c5fe-ed11-8f6e-000d3a574715

    Regards,

    Prabhat Sharma.

  • Posted 30 July 2023, 4:42 pm EST

    there is not a fix for this problem in 16.2?

  • Posted 30 July 2023, 8:33 pm EST

    Hello Patrik,

    This is scheduled for the v17 release. The ETA is Nov 2023.

    Regards,

    Prabhat Sharma.

Need extra support?

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

Learn More

Forum Channels