Prints environment query result.