Read label size

I want to read the size of label in the ZT410 by python.I can change the size of label or print any different label size but I want to check

the size by my program and send different details to printer .For example my user has no idea about the printer and labels ,he just runs the code ,the program read the size of label that there is in the printer and depends on the label runs different code.Is there any way to read  it or not?