LoRa E5 code doenst work on Seeeduino v4.2

Hello,

I have a seeeduino 4.2 board, and a grove LoRa-E5 module that I wanted to use for LoRa communication, however the example code doesn’t work.
The code is on this page :

The errors I get are :

‘Serial1’ was not declared in this scope

By adding “#include <SoftwareSerial.h>”
and “SoftwareSerial Serial1(10, 11); // RX, TX” the error changes to :

class SoftwareSerial’ has no member named ‘printf’; did you mean ‘print’?

Can someone help me on this please?
Thank you!