Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C# (http://www.programmingforums.org/forum16.html)
-   -   C# to Create a Virtual Printer? (http://www.programmingforums.org/showthread.php?t=13124)

Ghost May 7th, 2007 8:37 AM

C# to Create a Virtual Printer?
 
So has anyone run accross anything about how you can use C# to create a Virtual Printer to save documents as PDF or anything like that?

kurifu May 7th, 2007 2:45 PM

What do virtual pointers have to do with creating PDF documents? I have never heard of any such thing. Maybe if you have a library which creates a PDF document you have to use a virtual pointer in one of your parameters to any given function, but that has nothing specifically to do with creating a PDF document.

Arevos May 7th, 2007 3:55 PM

There are a number of PDF creation programs that masquerade as printers, so that if you print to them, they generate a PDF of the document.

I don't know what API calls would be needed to create one in C#, however.

crawforddavid2006 May 7th, 2007 6:04 PM

I've found tons of them, unfortunately the good ones/ easy ones to use cost money.

crawforddavid2006 May 7th, 2007 6:22 PM

Here, try this. And as many people here will inform you, google is your friend:p

http://channel9.msdn.com/ShowPost.aspx?PostID=120461

Ghost May 8th, 2007 4:54 AM

I found that and it isnt what I was looking for. I want to create a 'virtual printer' so any application can call upon this program of mine, to save the file as a pdf or whatever I program it to.

Thanks.

Eoin May 8th, 2007 5:38 AM

Think link mentioned in this thread may be helpful.

It turned up when I Googled for c# virtual printer driver.

Ghost May 8th, 2007 5:47 AM

Thank, I'm looking into it right now.

I've found from reading that I should use a mix between Ghostscript and RedMon to complete this. Since in fact those are the bits of software most of the Pro Virtual Printer Software companies are using it seems.

Thanks Eoion for the link and I'll post my finding or my end Source Code so this thread is more than research for some :D

Ghost May 21st, 2007 7:05 AM

Well I havent had much time to continue working on this problem, anyone else have any luck?


All times are GMT -5. The time now is 2:12 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC