Function
printer-metrics-dpi-x printer-metrics
printer-metrics-dpi-x function returns the number of printer device units per inch in the x direction. This typically corresponds to the printer resolution, although in some cases this may not be known. For example, a generic PostScript language compatible driver might always return 300dpi, even though it cannot know the resolution of the printer the PostScript file will actually be printed on. get-printer-metricsprinter-metrics-device-heightprinter-metrics-device-widthprinter-metrics-dpi-yprinter-metrics-heightprinter-metrics-width