> -----Original Message----- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Graeme Bradbury > Sent: Tuesday, November 27, 2007 9:26 AM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Setting custom paper size... > > {edit} > > The area you're looking at is the DMPAPER_USER implementation, though > the > msdn documentation is a little sparse in this area. > > {edit}
Thanks for the reply, I have done this in Win32/MFC by adding printer forms. I'm guessing I would need to call native Win32 API functions from winspool.drv with [DllImport("winspool.Drv", EntryPoint="OpenPrinter",..] et al. This is my first .net project so any pearls of wisdom or pitfalls to look out for with regards to interop would be well received. Thank you. Regards, Gary Harpin [No Disclaimer] =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com