We have encountered an issue with ArcGIS Server 10.1 print service. It fails to print the legend with and without sublayerid as opposed to the bug NIM083432 that reads "PrintService does not draw the legends of mapservice sub-layers when subLayerIds are specified". This does not seem to be a related bug as it fails to draw the legend items without sublayerids too. Any clues what must be missing on this.
Thanks, Harshal
Below is the WebMap JSON that doesn't show up legend for layer 0 having Class Breaks Renderer and the other layers with Simple Renderer does show up fine.