Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 12th, 2008, 1:03 AM   #1
starprog
Newbie
 
Join Date: Apr 2008
Posts: 4
Rep Power: 0 starprog is on a distinguished road
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.
starprog is offline   Reply With Quote
Old Apr 12th, 2008, 1:16 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 12th, 2008, 1:22 AM   #3
starprog
Newbie
 
Join Date: Apr 2008
Posts: 4
Rep Power: 0 starprog is on a distinguished road
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
starprog is offline   Reply With Quote
Old Apr 12th, 2008, 1:56 AM   #4
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 272
Rep Power: 2 Jabo is on a distinguished road
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.
Jabo is offline   Reply With Quote
Old Apr 12th, 2008, 3:55 AM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:14 PM.

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