Direct port access

Hello all,

how can i program a direct port acces for the printer port under delphi
2.0 and Windows NT? I want to set some pins on high and others to low.

Thanks

   /_/_    _ /_/               _   _  
  /_/_/_ _/_/_/ _ _     _ _   /_/_/_/
 /_/  /_/  /_/ /_/_/_  /_/_/ /_/_/_  
/_/       /_/ /_/_/_/ /_/   /_/  /_/