Posted 8 September 2017, 3:01 pm EST
I have to print the whole spreadsheet to a pdf using fpSpread.PrintSheet(-1). But one of the sheetviews is invisible and shall not be printed. It always prints also the invisible sheet.
I tried to set the printinfo for this sheet to nothing, but it then the invisible sheet is printed to a PRINTER !
Even if I specify a printers name which does not exist ("xxx") it prints the sheet to the default printer.
I alread posted the question in dec. 2012. But then I didn't need the feature any more. Manpreet Kaur sent me an example (printtopdf.zip), I tried this now and it does the SAME thing as my project:
Sheet 1,2 and 4are properly printed to pdf, the invisible sheet2 is printed to the PRINTER !!!
It's really urgent now !
I cannot upload the example, because the InternetExplorer crashes when I try to attach a file !