Looking at the BASCOM-AVR help, it looks like you need to use
Config Print0 = Porte.2 , Mode = Set ' use portd.2 for the direction
Rs485dir Alias Pine.2 ' Pine.2 instead of Porte.2
Config Rs485dir = Output
You also shouldn’t need to set the direction when sending. Bascom does that automatically.
Stig