Connect both displays according to the 4x40 schematics, just make sure to connect the first display E line to pin 1 on parallel port and second display E line to pin 17 on parallel port.
Set smartie for 4x40 and you are good to go.
I got two 2X16 LCD(HD44780) as well and was thinking of doing what Master1280 is doing, but haven't got a clue
been googling this and haven't found anything.
Will try to wire LCDs as caesar said when I get around to it (need to buy parts lol) and see what happens.