Moving washer, tapping into drain pipe
I'm am moving my washer into an old closet directly behind the guest bathroom. I have easy access to water there and a 1 1/2 drain pipe from sink going into main 4" vertical drain pipe about 2 feet away. Can I "T" into the vertical sloping 1 1/2 drain line for my washer drain standpipe? Will the standpipe need a P trap prior to going into the vertical drain line?
I've read lots of problems with washer drain backups and would like to avoid that ahead of time. I can attach a picture if its possible on this site or could email one if someone could give me some advice.
Thanks.
John