SETPRINTERDATAEX is 0x4d (not 0x50). My mistake.