How to draw a straight "path"

I know how to constrain my pencil/brush tools to achieve straight lines, but how does one constrain to achieve a straight "path"?

I work on engineering dwgs and need to use the different line types available In the stroke options dialog, by stroking a path. However, I can't figure out a way to constrain a path.

I know it sounds counter-intuitive to have a straight path, but that's the easiest way to do what I need to do. I know that I can draw a 1 pixel box and stroke that, but based on the line type used, it can have some interesting and undesirable effects.