How to check the dpi of printer by ZPL?

Hi,

Can we check the DPI of the printer head by ZPL or by query the printer server?

Thanks

Wilson