Ben Kuhn's Blog

Random tidbits about programming for Windows

OPC Team blog just went live.

Our PM just turned on the faucet on the team blog: https://blogs.msdn.com/opc/ This is the place to...

Author: benkuhn Date: 05/18/2009

RC SDK is available, updated OPC documentation

https://www.microsoft.com/downloads/details.aspx?FamilyID=6db1f17f-5f1e-4e54-a331-c32285cdde0c&di...

Author: benkuhn Date: 05/18/2009

WinDbg, lists, and hello world

Watching me use WinDbg is probably a bit like watching a new programmer write hello world in Visual...

Author: benkuhn Date: 03/18/2009

OPC Forums on MSDN are now live.

Just a quick note: we've opened up a new forum on MSDN for questions and discussion about OPC....

Author: benkuhn Date: 02/10/2009

Welcome to the XPS & OPC APIs

My team has been heads down getting some great stuff together for all of you working on printing...

Author: benkuhn Date: 11/25/2008

more typelists & templates

My co-worker Aaron was quick to reply to my earlier post on templates in type-lists with this...

Author: benkuhn Date: 08/11/2008

[Mohave] Microsoft's 'new' operating system is apparently doing well at wow-ing customers. This...

Author: benkuhn Date: 07/24/2008

fun with templates: part two - type factories

Scenario: I have a template that takes a significant number of arguments, but in the most common use...

Author: benkuhn Date: 07/23/2008

Fun with templates, part one - abstracting operations:

[edited 7-23-08: updated title, tags] I'm planning a talk on template use, and thought my blog might...

Author: benkuhn Date: 07/23/2008

template metaprogramming: type lists of templates

Ok, I said in an earlier post that I wasn't going to cover metaprogramming, but I have to post just...

Author: benkuhn Date: 07/19/2008

XPS Essentials Pack available for download

This is a bit older news now, but still, it's pretty awesome. The XPS Essentials Pack is now...

Author: benkuhn Date: 05/22/2007

We've released the final version of Print Schema, and it can be downloaded from here:...

Author: benkuhn Date: 05/22/2007

PrintTicket Providers, CreateDC and CreateCompatibleDC

When developing PrintTicket support in the configuration module of a filter-pipeline driver, you...

Author: benkuhn Date: 03/23/2007

The Print Schema 0.95 specification is finally live & ready for review:...

Author: benkuhn Date: 02/19/2007

I just wanted to give everyone a quick heads up: We've had a lot of feedback that it would be...

Author: benkuhn Date: 02/19/2007

How do I get a PrintTicket

It just came to my attention today that there's not really a good piece of text out there that...

Author: benkuhn Date: 02/16/2007

Vista at home

So, in a break from my usual technical stuff, I thought I'd talk about something else (closely...

Author: benkuhn Date: 09/15/2006

Handling CoInitialize (and CoUninitialize!)

I'm covering this topic because I've seen a couple of drivers now that are calling CoUninitialize a...

Author: benkuhn Date: 09/15/2006

Handling IPrintOemPrintTicketProvider::ValidatePrintTicket

If you're writing a plug-in driver for Unidrv or PScript, there's a design quirk that you should be...

Author: benkuhn Date: 09/12/2006

Who answers my blog (an experiment)

[Update: I've set the email address back to my own account.] Well, it's summere here in Seattle, and...

Author: benkuhn Date: 06/21/2006

How do I test my PrintTicket support?

If you've been following the blog, and adding support to your drivers for PrintTicket, then you're...

Author: benkuhn Date: 06/20/2006

XPS & Adobe @ Andy's Blog

If you've been following PrintTicket, you know that it's the way to store printer settings in an XS...

Author: benkuhn Date: 06/12/2006

These changes will NOT appear in Beta 2. These changes will be included in the RC1 release of Vista....

Author: benkuhn Date: 06/07/2006

PrintTicket, names, and XPath

There's an easy mistake to make when writing XPath queries on PrintTickets, and I want to set the...

Author: benkuhn Date: 05/04/2006

Adding PrintTicket support to a monolithic driver

I’ve been getting a number of questions lately about various aspects of adding support for...

Author: benkuhn Date: 04/12/2006

Using PrintTicket for print layout

The PrintTicket contains a feature PageMediaSize that describe various attributes about a piece of...

Author: benkuhn Date: 03/24/2006

Confusion around partial and complete Print Tickets

I was recently given some feedback that we haven't explained the concept of partial vs. complete...

Author: benkuhn Date: 02/05/2006

I'll continue to post information about PrintTicket here & answer questions, however I want to...

Author: benkuhn Date: 12/29/2005