How to emulate a printer in C# [closed] - virtual-printer

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm creating a C# application which would work with a printer. I don't have a printer and I need to debug an application.
Is there any idea about how I can achieve that?

You can use PDFCreator which provides a virtual printer that outputs PDF and some other formats. It should support most functionality of a physical USB/network printer so that you can effectively debug your application.
Though I doubt this question has any thing to do with C#.

Maybe you should install a virtual printer, such as PDFCreator.
See http://sourceforge.net/projects/pdfcreator/

Use DoPDF, After you install this free application, you can find on your "Devices And Printers" as one as your printer, and it will print your document into PDF file.

In addition to the "use a PDF printer driver" answers, Windows Vista/7/8 all ship with a "Microsoft XPS Document Writer". XPS is basically an XML-based PDF-style format and should be sufficient for testing your application.

Related

Qt using C++ or PyQT; which is mostly preffered for todays linux based embedded application development? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I spent few days to find out few open source application development libraries/tools for linux based embedded devices. I would like to know which one is mostly preferred in the industry. I understood that Qt is widely used for different embedded domains. Here are some other tools which I just came across
Gtk
Gdk-fb
NanoX
It seems Qt is good in documentation and python bindings are also available. I don't know whether python is really apt for embedded application development.
Any suggestion is really appreciated. Can I go for pyQT for Embedded Application/GUI development?
I would recommend Qt / C++ for an embedded system, if nothing else to avoid the overhead of having Python on the embedded system. Nowadays Qt 4 and 5 comes with JavaScript support - both directly and through QtQuick / QML. This would give you the flexibility of scripting, without bringing Python into the picture.
Beware, though, I'm an old geezer and probably have a view of embedded systems being far more memory constrained that the system that you are planning to use. If you can tell me more about the target hardware, I'm sure that I can help you with a better answer.

How to do browser integration using c++ [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am developing a download manager for Linux and i want to integrate it into firefox, chrome, opera. I am using QT. The download managers like idm, dap integrate into browsers and become somewhat default downloaders for these browsers. Is there any way other than using add-ons like flashgot or download assistant to do so.
You'll need a separate mechanism for each application to direct the download into your application, or get the user to copy the link back out, so plugins are your best bet.
Or do something entirely crazy such as monitor all the traffic and snare downloads based off clever filtering, but then you've got the probable side effect of breaking all HTTP requests.

password protect asp.net application? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have built an ASP.NET application that needs to be password protected. This application will be installed on multiple offline computers, and we need to make sure that when being installed it requires a password. But even if it requires a password, someone can easily copy the database and the published folder and duplicate the application on their system right?
I need a way to prevent this. Any ideas? It should only work on laptops that we have installed it on.
You could create a licensing tool like any other client app. Check the license key during app startup and occasionally during the runtime. Look at this post for ideas: Protect .NET code from reverse engineering?

What is the architecture of BlogEngine.net extension manager? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was just wondering that what is the architecture of blogengine.net extension manager ?
How it loads the extension dynamically, how can I use same kind of functionality in my web applications ? so that every time i just create one class and corresponding page then just plug into the website.
Moreover I am interested to know the architecture as I didnt find any article or tutorial on it.
Any help would be appreciable.
You can see for yourself the code is on codeplex
You can read about what it is and how it works in the wiki docs.
Blogengine uses reflection to find and instantiate types attributed as "extension" and extensions itself use event listeners to communicate with core library. Extension manager is basically API and admin front-end for all extensions running on the blog.
Maybe the Plugin Pattern, have a look here how this works..

Scanning Through an ASP.NET Page [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Can you scan directly from an asp.net page or even an embedded Silverlight object?
Silverlight doesn't have access to local devices like scanners. ASP.NET pages run in the web browser, so they also don't have access to scanners.
What are you trying to accomplish?
If user can use the 'Windows Fax and Scan' utility to scan the document and save it in the local hard disk, You may use Silverlight OpenFileDialog and read the document and save it on the server.
I've done exactly this in a few company website applications that I've worked on.
You have to use an ActiveX control to gain access from the client's browser to the configured TWAIN scanner on the machine. Once you have access you can then initiate the scanner via a webpage button, scan the document and use the newly delivered image object within your website code.
I'd recommend looking at an already developed activex component library to do this for you. An example being http://dynamic-web-twain.smartcode.com/info.html
The downside of this approach is obviously ActiveX only works with IE and requires the user to trust your website. If your user base is a trusted company or are internally based then this should not be a problem.

Resources