This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229888 - Source from editor is not printed in NetBeans on Windows 7/64
Summary: Source from editor is not printed in NetBeans on Windows 7/64
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.4
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2013-05-16 19:17 UTC by stevensrmiller
Modified: 2014-04-21 16:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

messages.log as retrievied with View/IDE Log (50.20 KB, text/plain)
2013-08-27 15:41 UTC, stevensrmiller

Note You need to log in before you can comment on or make changes to this bug.
Description stevensrmiller 2013-05-16 19:17:47 UTC
I am seeing almost identical behavior to the problem reported in Bug 166950, which was demoted when version 7 of NB came out.

When I choose File / Print, sometimes the printer dialog box appears, but mostly I get the Print Preview dialog box. It appears blank with all but the Page Setup, Print Option, and Close buttons disabled. If I open a source file and select some part of its text, then choose File / Print, the selected text appears in the Print Preview dialog box. If I click the Print button at that point, I get taken to the printer dialog box and, from there, the selected text does print (albeit highlighted in pink).
Comment 1 Miloslav Metelka 2013-06-05 13:12:14 UTC
Could you describe your system and attach NB's messages.log file? Thanks.
Comment 2 Miloslav Metelka 2013-06-05 13:13:52 UTC
We tested on several machines (Linux/Windows mix) and we did not experience a problem so for now making a P3.
Comment 3 Miloslav Metelka 2013-08-27 14:19:33 UTC
So closing as fixed. If the problem would reappear please reopen the issue.
Comment 4 stevensrmiller 2013-08-27 15:41:22 UTC
Created attachment 139321 [details]
messages.log as retrievied with View/IDE Log
Comment 5 stevensrmiller 2013-08-27 15:42:49 UTC
My system is a Lenovo "ideaCentre" K330B, with Intel i3-2100 CPU @ 3.1 GHz, with 8 GB of ram. I am running 64-bit Windows 7 Home Premium, SP1. Printer is HP Color LaserJet CP1215, driver version 0.03 (firmware current as of today).

messages.log is attached to previous comment.
Comment 6 stevensrmiller 2013-09-02 14:49:15 UTC
Comment on attachment 139321 [details]
messages.log as retrievied with View/IDE Log

messages.log as retrieved with View/IDE Log
Comment 7 stevensrmiller 2014-03-10 19:13:07 UTC
Don't know why previous user changed OS to "Mac OS X." Changing it back to "Windows 7 x64."
Comment 8 stevensrmiller 2014-04-21 16:09:44 UTC
Problem may simply have been that I had "print selected" checked and that gets you nothing when you have nothing selected. I'd say it's a bug for "print selected" to be enabled when nothing is selected (or, alternatively, for it to have effect, as opposed to printing everything), but I'll leave it to someone else to report it as such.