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.
Even with word wrapping enabled, when I print code, the printout uses 2 8.5x11 pages horizontally. For example, attempting to print the following Java comment will take 2 pages: // isBlackTurn() returns true if it's the black player's turn, false // if it's the white player's turn.
Can't reproduce. When I check "Wrap Lines", I see only one page.
Created attachment 51394 [details] wrap lines
It looks like we have an inconistent state. Under Tools | Options -> Advanced Options -> System -> Print Settings, I have "Wrap Lines" checked. But under print preview, the word wrap checkbox is unchecked.
Tools | Options -> Advanced Options -> System -> Print Settings is used by org.openide.actions.PrintAction (if NetBeans version != full). Full version of NetBeans has PrintAction from org.netbeans.modules.print module. This action opens Print Preview dialog and has own options in separate dialog. It doesn't use Tools | Options -> ... Print Settings.
Looks like a UI issue, then. Right now, it's too easy to get confused because the user has to know about NetBeans's logic for handling such settings.