I think the approaoch is to change the settings in the GPD. To set margins u need to set the values for *PrintableArea and *CursorOrigin. Make sure your *MasterUnits is also proper. I tried to come up with a formula connecting the three values but not much success... Let me know the paper size and the margin values u want.. Abdul On Thu, Apr 14, 2011 at 6:27 PM, Malizia <linux_must_have@xxxxxxxxx> wrote: > > > Yes you can, it is described in the "Virtual Printer Driver Technical > > Manual" on page 6, right after the section titled "How To Ask Questions > > The Smart Way" > > > > Thanks for advice and good joke with VPDTM. > > So, I have unidrv based virtual printer driver and > GetDeviceCaps([PHYSICALOFFSETX,PHYSICALOFFSETY]) returns 0 for this > device. Now I'm looking for solution how to change this values to > correct (like 0.25" ). > > Regards, > Renat. > > --- > Questions? First check the UndocPrint pages at > http://www.undocprint.org/winspool > > To unsubscribe, visit the List Server page at > //www.freelists.org/list/winprndev >