Using sprintf and nextion display

mySerial.write('n');
 mySerial.print(staT);
 mySerial.print(F(".pco="));
 mySerial.print(pco);

Thanks Wandall Tries this and it works just fine but I still cant get anything to work on
"Serial2.print"