This method of the WPrintJob Class sets the logical page dimensions and enables you to effectively use a mapping mode (like GDI).
public void setPageDimensions(int width, int height);
width | The width of the page (in pixels). |
height | The height of the page (in pixels). |