To me this is almost as saying "I only watch films from Universal". E.g. Microsoft Press is mentioned here as bad, but they are the publisher of Code Complete, a really great book. I'm sure likewise you can find bad books from Apress and O'Reilly. Buy books by authors or recommendation, not publishers. As movie studios, publishers mostly are there for funding and they will all have some bad and some good books. Therefore it's a bad metric to go buy when buying books. Check out some of the recommended lists here on stackoverflow.
Regardless of this, there probably are some publishers that are consistently bad, Steve Yegge has a post that touches on this subject:
Have you noticed how occasionally a publisher will intrude into your consciousness as being exceptionally good (or bad)?
Example: I think of SAMS publishing as being an atrociously bad publishing house. I've bought a few of their titles and have been uniformly horrified at the quality. The books are typically thrown together by multiple authors, each writing different chapters. The authors are evidently unaware of each others' existence, and they often wind up covering the same material redundantly in different chapters -- sometimes even with conflicting terminology or outright contradictions. I just visited their website to make sure it was really Sams, and yep, most of their books have anywhere from two to ten authors. Trust me: just stay away from them.
...
O'Reilly is the Starbucks/McDonalds of technical publishing. You know you're getting consistent quality -- not necessarily great quality, but it's consistent. And more importantly, you're getting a consistent experience. You know what to expect. A big, ugly creature on the cover, that's what you should expect. They won't assume you know any math, which is a good thing, because I do all my basic arithmetic using a desk calculator now (M-x calc!). They don't assume anything other than that you're marginally familiar with the English language and that you don't really have much time to spare. Just like Starbucks and McDonalds.