![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2008
Posts: 4
Rep Power: 0
![]() |
Print Q
Ok here is my question if anyone wants to take a stab at it. It involves flash and most likely c++ or vb.net. Anyways there is a program called print2flash (www.print2flash.com). I was just wondering how does one program a piece of software that registers itself as a printer and then captures all the data. I guess to put it another way, I want to be able to do what this program does but just not output the document to flash. I just want to be able to capture the data and manipulate it in my own algorithm. Any suggestions? Thanks.
|
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Re: Print Q
It's fairly simple in concept. You write a printer driver that, instead of translating the data into a form that a printer can understand, does whatever you want with it. And then, instead of sending aforementioned data to the printer, you... do whatever you want with it. A driver is just a type of program.
Of course, doing all that is more complex than I make it sound. Personally, I don't know much about creating drivers, but Googling for "C# printer driver" found some interesting stuff. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Apr 2008
Posts: 4
Rep Power: 0
![]() |
Re: Print Q
Ooble, you have to be like the greatest googler ever! How do you think of these things? Exactly what I was looking for, I just couldn't find those words. Thx
|
|
|
|
|
|
#4 |
|
Not a user?
Join Date: Sep 2007
Posts: 272
Rep Power: 2
![]() |
Re: Print Q
Ooble's talent is getting to the root of the problem and knowing what's a root and what's a limb. Once you know where the problem lies, Google is but a game of gofish.
|
|
|
|
|
|
#5 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Re: Print Q
It's simple. You don't know much about creating printer drivers either. Therefore, a managed approach would be best - most of the code will probably be encapsulated in nice little helper functions that way. I like C#, so I recommended that. Then I added what I was looking to code with it.
The best way to search for code examples and help is to stick the language name at the front of the Google search. Remember that. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS for print media and background colors | somehollis | HTML / XHTML / CSS | 3 | Mar 8th, 2007 5:51 AM |
| I can print 'today', but can I print 'yesterday'? | Steveire | Python | 16 | Mar 9th, 2006 6:39 AM |
| ftplib help please! | disAbled | Python | 1 | Jun 30th, 2005 8:05 PM |
| Print Accounting Prog | jtrit | Visual Basic | 2 | Mar 29th, 2005 9:12 AM |
| Capturing the contents of a print request from another program | faLLeN | Visual Basic | 1 | Mar 8th, 2005 1:25 AM |