To avoid accidentally emptying ink/toner Geany sets background to white for printing, so light colours on the colour scheme that would have contrasted well to a dark background become hard to see.
The only "solution" is for you to select a light colour scheme (eg default) before printing then returning to your dark theme.