The MacBook doesn't need a X cable, the port should detect the wiring itself, at least my MB Pro does. The trouble might be, that the MacBook and/or Printer don't have an IP address because they are configured for DHCP. Outside your Network, there is no DHCP server to assign an address. The same...