I see this is old but using the Javascript 3.9 API I get the same error message. I have one polygon and thats it. It renders on the map fine but get "Invalid r value in color: 0." when trying to print. Actually. All it prints is the base map. The dynamic map service contents also render fine but don't show up in the PDF. the dynamic map service layer doesn't generate any errors though. Of note. Zero is not an invalid red value. Heh. As always. as soon as I post I fix it. Well. The error message anyway. If you pass something like "#ffffff" it will render ok but not print. For printing to work you need to use dojo.Color("#ffffff").
... View more