Anything that looks like a host (computer, print server, router...)connecting to anything that looks like a hub (switch) will be a straight-through cable. anytime you connect similar devices (hub/switch to hub/switch....or host to host) will usually be a crossover cable.
Some manufacturers deviate, but this works as a general rule.
FWIW
Scott