Hi, I have also played a bit with print functionality. I have tried with Netbeans 8.2. Print with selection works fine in the projects tab but not with a selection in the Files tab. A selected file in the files-tab is not shown in the print preview. It is also not working if selection is done in the Favorites-tab. So I think this is an old bug. In my platform apps I have a projects-tab and a favorites-tab. In both print of selected files does not work. I hasnt attract attention for me because print works fine if the file is opened in the editor. If the editor has the focus print works fine. It will be great if somebody can figure out some more this behavoir. best regards Oliver
HI David, I hadn't tried it from the projects view, only the file view. Having tried it (after your suggestion) I can confirm it works the same way as you are describing. If I select a file in the project list and go to File->Print, the preview box opens and the file is visible and I am able to print it. Moving back into the file view and then selecting a file, File->Print also gives me the preview with the file available to print. (NB11.1). If I restart netbeans, open a file in file view and go to File->Print it works properly (or as expected). The question now I guess is - How does it lose the ability to print occasionally? Phil On Sunday, 8 September 2019, 18:22:46 BST, David Green <dgreen...@gmail.com> wrote: On MacOS and NetBeans 11.1, I see two behaviors: 1. When I am in the Files View, there is an attempt to show me a print page preview by NetBeans. This is unreliable, mostly it comes up empty. 2. When I am in the Projects View, the OS print dialog comes up reliability and prints. (After I have printed the file with option 2, then option 1 starts "working" by going directly to the OS print dialog. The "healing" behavior seems to be preserved across a quit and reopen of NetBeans.) Dave On Sun, Sep 8, 2019 at 5:05 AM philip.burn...@sky.com[1] <_philip.burness@sky.com_> wrote: Thanks all, Printing works for me as it should on my other station with netbeans 11.0, so it's something outside of netbeans I feel. Printing works OK with other software though (notepad++, word, excel etc.) so I'm unsure where to look for the problem [2]:( I can open the code in notepad++ to print, but that's a bit defeatist [3], or just edit with my laptop all the time... Phil On Sunday, 8 September 2019, 07:05:58 BST, Laszlo Kishalmi <laszlo.kisha...@gmail.com[4]> wrote: