|
|
Hi
Iam designing a receipt using Microsoft OPOS and VB.NET2008. The receipt is to generated through a thermal/dotmatrix printer. I have to provide a feature to the user by which he can stipulate the nos. of columns to be printed eg., 5,10,12.
How will I provide column generation function dynamically ? I have previously hardcoded my columns in the program.
Also how can the column names(col. header) generated dynamically? I will only provide names eg.(1,"SRL NO.)(2,"NAME")etc.
I appreciate any help in this regard.
Best Wishes ....... ARIJIT
|
|
|
|
|
Hi I am new in windows driver development . can any one tell how can i start it.
Ashish
|
|
|
|
|
This is a good article to get you started - it's written in C and outlines the basics of NT kernel programming.
Hope this helps,
--Perspx
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
BSoD during a Win98 presentation
|
|
|
|
|
We need to set up monitors throughout a hospital that display information to the nurses. This will be like the flight information displays in an airport (just a display, no interaction through keyboard or mouse). Each display will have different information and there could be quite a few of these displays (Multiple per floor).
Does anyone have suggestions or relevant experience on what is the most economical way to do this?
You could have a PC per display, but this seems like overkill.
The application that displays the information has a small resource footprint, so many could run on one PC.
|
|
|
|
|
I can think of a couple of different approaches.
1. Get Samsung 940 UX monitors, they get the videosignal over USB. And buy USB over CAT5 extenders, for example Gefen[^].
Pros: You can service really many monitors from one server in the server hall.
Cons: Price of the USB extenders. Might be negotiable if you buy many.
2. Same approach but with VGA extenders and normal monitors.
Cons: Cannot connect as many monitors per Server
Pros: VGA extenders are cheaper, but not cheap.
3. Thin clients
Pros: This might actually be the cheapest solution.
Cons: Not as tamperproof as the thinclient has to be close to the monitor. Administration.
|
|
|
|
|
Isn't usb bandwidth limited to 1024x768x16? That'd require running almost any monitor below native resolution and really sucking the display downward.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
I don't know anything about the compression algorithms used, but there is no apparent speed problems in normal office use.
So for the use similar to flight information displays I can't see how they can be to slow.
Well, I surely wouldn't use a USB monitor for gaming, movies or 3D modeling.
|
|
|
|
|
Well, the question is: how many displays should the software handle?
If some processing power is requested, or you want to keep the cabling at a low level, you could look into JackPCs, e.g. by ChipPC ((Website)[^]. There even are some version with dual-display support.
Otherwise, you can always go for a Panel PC (one example, though not for your application, is an Apple iMac), which are even available to be built into control panels or other furniture.
If cost is everything, and the displays all will show the same info, go for a display multiplexer. (VGA multiplexer)
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Hi, i am interesting Device programming.
i am already seen C, C++.
i want to learn that technique. so, i was searching book about Device programm and i found below 3 book.
but i don't know these book fit me who is beginner.
1. Programming the Microsoft Windows Driver Model,
2. The Windows 2000 Device Driver Book : A Guide for Programmers 2/E
3. Writing Windows WDM Device Drivers ,
4. Microsoft Windows Internals(4/E)
and if you have other book, can recommend me, please let me know~
have a good day^^~
firstly, i am sorry, i am from korea.
and i am not good in wriitting english so please understand~
Thank you everyone~
modified on Tuesday, July 15, 2008 3:52 AM
|
|
|
|
|
The first book, by Oney, is generally considered the best book. It isnt a beginners bok, none of them are, they all require a very good understanding of C programming (C++ isnt used in the kernel so forget about it).
You might also prefer to use WDF rather than WDM, its easier, but as yet there are no books on it, just the DDK. Well, WDK these days.
Morality is indistinguishable from social proscription
|
|
|
|
|
fat_boy wrote: You might also prefer to use WDF rather than WDM, its easier, but as yet there are no books on it
Actually, there is Developing Drivers with Windows Driver Foundation by Penny Orwick and Guy Smith, published by Micorsoft Press in 2007.
Judy
|
|
|
|
|
JudyL_FL wrote: Actually, there is Developing Drivers with Windows Driver Foundation by Penny Orwick and Guy Smith, published by Micorsoft Press in 2007.
Is it any good?
Morality is indistinguishable from social proscription
|
|
|
|
|
As a reference book, it's pretty good. The driver team at MS always seems to produce much better stuff than the usual MS drek. I've put off buying it for my personal library since I was waiting for the OSR KMDF book to come out. However, that STILL isn't out yet, so I think I'm going to have to bite the bullet and get it. I'm tired of borrowing a friend's copy.
Judy
|
|
|
|
|
so, what book should i see?
firstly, i am sorry, i am from korea.
and i am not good in wriitting english so please understand~
Thank you everyone~
modified on Tuesday, July 15, 2008 7:01 AM
|
|
|
|
|
See my reply to fat_boy for a WDF book. There is no "one" book or a "starter" book for drivers. It's a complex subject and the best way to start is to learn how the OS operates internally.
Judy
|
|
|
|
|
I have "Linux Device drivers" ( Alessandro Rubini published by O'Reilly) but I have not opened it so I am of no help here.
Maybe someone else can comment on this book.
Vaclav
|
|
|
|
|
how can i check whether the audio driver installed or not(in pc) for my vc++ application?
Thnx,
Fedi
|
|
|
|
|
Take a look at setupdi functions. You can enumerate all the audio devices on the system , check their names, their status, and so on.
Morality is indistinguishable from social proscription
|
|
|
|
|
Hi all
I need to create a virtual drive with a fixed drive letter then I want to mount my external hard disk to this location of virtual drive. This drive letter should not change irrespective of reboot or changing the volume name of external hard disk also. I would like to write it in C or C++.
Thanks in advance.
Regards
Rakesh
|
|
|
|
|
Hi all
I am using Celeron 2.0 processor with 512mb ram, when ever i am trying to watch some movie or play some game, my system is getting freez.
i don;t know whats the problem, please help.
|
|
|
|
|
i bet $5 u have a system with on board gfx support that uses shared memory instead of a gfx card.
|
|
|
|
|
Hello all,
I would like to have one PC running a mouse/keyboard simulation program that generates *real* mouse/keyboard input data on the USB port of another PC, effectively controlling the mouse and keyboard on the other PC without having to install any specific driver or application on the destination PC - it should just think it is controlled by a normal mouse / keyboard.
I already searched the web for quite some time on how to write such a simulation program, and either I do not search for the right key words, or it just is not possible (as u might see I do not have any clue of mouse/keyboard signals on the USB port up to now ...).
Does anybody have any clue on how to do this or where to look, or whether it is possible at all?
Many thanks in advance,
Das Ich
|
|
|
|
|
There is one problem: Just like using a VM, you'd have to lock keyboard and mouse usage to one specific computer, which probably isn't what is desired. You are much better off using a "desktop extender" like synergy, which allows you to span your desktop over multiple PCs with multiple operating systems:
http://synergy2.sourceforge.net/[^]
However, you are basically looking for a custom mouse / USB HID driver, which should be possible to implement. Even if it isnt the most sensible way to go.
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Das Ich,
I'm looking into a similar problem right now. A hardware USB injector might help you (ellisys.com offer one, I think, and I've seen some others).
I tried to generate a keystroke inside the machine's driver, to affect a USB device between the machine and a keyboard (that device normally responds to keystrokes). However, it looks like I was stopped by the lower-layer drivers.
Please tell me if you find anything useful.
Regards,
brut.
|
|
|
|