If available() is in the base Stream class, then availableForWrite() should be in the base Print class
Attach a file by drag & drop or click to upload