Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Printer driver development in .Net.

Reply
Thread Tools Display Modes

Printer driver development in .Net.

 
 
PHS
Guest
Posts: n/a

 
      06-09-2010
Guys, I'll make this quick and a quick yes or no will do. Is it possible to
develop a printer driver using .Net 2008/2010? I'd like to open a Word
document for example, and File -> Print and select my driver. It would then
launch a UI form, get some information from the user, etc. When OK is
clicked, I'd need to save the original document to disk and create a file
containing the selected UI options. Another program will later pick up those
details and will process the files further.

Ideally, I'd like to use .Net as my C++ is quite weak! So, is it possible
and if so could someone point me in the general direction?

Kind regards.

Peter
 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      06-09-2010
> Ideally, I'd like to use .Net as my C++ is quite weak!

Write in C, it's easier.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
PHS
Guest
Posts: n/a

 
      06-09-2010
Maxim,

I can appreciate your comment but the last time I came across printer driver
development was when MS were having a barroom brawl with Sun over Java and
for some reason the original DDK had to be withdrawn and was never heard of
again? Perhaps it has been rescusitated under a different name. If there's an
official download for one could you provide me with a link? I have an MSDN
subscription which expires in a few weeks so I'd like to make a start while I
still have access to things.

I'm ok with general C but it's finding a usable sample and getting access to
the right tools that'll be my immediate problem to solve. Anything you can
advise on will be appreciated.
 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      06-09-2010
> for some reason the original DDK had to be withdrawn and was never heard of
> again? Perhaps it has been rescusitated under a different name. If there's an


I think WDK is easily downloadable from MS Connect.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
PHS
Guest
Posts: n/a

 
      06-09-2010


"Maxim S. Shatskih" wrote:

> > for some reason the original DDK had to be withdrawn and was never heard of
> > again? Perhaps it has been rescusitated under a different name. If there's an

>
> I think WDK is easily downloadable from MS Connect.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
>
> http://www.storagecraft.com
>
> .
>


Thanks. I did find it and install it. Not sure what to do next but hopefully
I'll find something relevant for printer drivers in their somewhere.
 
Reply With Quote
 
Doron Holan [MSFT]
Guest
Posts: n/a

 
      06-09-2010
the DDK is now called the WDK, it is easily and readily available for
download

d

"PHS" wrote in message
news:1BE7B8FD-B652-4931-9EBE-...

Maxim,

I can appreciate your comment but the last time I came across printer driver
development was when MS were having a barroom brawl with Sun over Java and
for some reason the original DDK had to be withdrawn and was never heard of
again? Perhaps it has been rescusitated under a different name. If there's
an
official download for one could you provide me with a link? I have an MSDN
subscription which expires in a few weeks so I'd like to make a start while
I
still have access to things.

I'm ok with general C but it's finding a usable sample and getting access to
the right tools that'll be my immediate problem to solve. Anything you can
advise on will be appreciated.

 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      06-10-2010
PHS <> wrote:
>
>Guys, I'll make this quick and a quick yes or no will do. Is it possible to
>develop a printer driver using .Net 2008/2010?


..Net is not a language. It's just a marketing term. C# is a language.

>I'd like to open a Word
>document for example, and File -> Print and select my driver. It would then
>launch a UI form, get some information from the user, etc. When OK is
>clicked, I'd need to save the original document to disk and create a file
>containing the selected UI options. Another program will later pick up those
>details and will process the files further.
>
>Ideally, I'd like to use .Net as my C++ is quite weak! So, is it possible
>and if so could someone point me in the general direction?


A printer driver is just a DLL, so theoretically, it is possible, but it's
going to hurt. There are certainly no header files, libraries, or samples
to get you started.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printer installation Gary S Windows Small Business Server 12 04-14-2010 05:37 PM
What's the different for PNPDTest between WLK 1.5 and WLK 1.2 Wayne Windows Vista Drivers 2 01-18-2010 08:32 PM
Game Compatibility BCurrey Windows Vista Games 6 11-29-2007 08:11 PM
americas army stuttering under vista premium ernie Windows Vista Games 0 02-27-2007 10:20 PM
problem in dxdiag Peewee64 Windows Vista Games 0 02-14-2007 09:49 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59