|
exactly i want in that format only.what exactly u mean to say fixed size font.
and is the print code same for both dot matrix printer and normal printer.
to get those dotted line i have to set any option or can i get those dotted lines for normal printer also.
thnq
|
|
|
|
|
This is your table in a variable-width font:
---------------------------------------------------
S.No. Name Address Telephone
---------------------------------------------------
1 | xyz | djfhjksdhf |94875893475
2 | abc | djfhjk |12345678905
3 | efg | djhf |94875893475
4 | 123 | djfhjksdhwfsdf |23456789005
This is your table in a fixed-size font:
---------------------------------------------------
S.No. Name Address Telephone
---------------------------------------------------
1 | xyz | djfhjksdhf |94875893475
2 | abc | djfhjk |12345678905
3 | efg | djhf |94875893475
4 | 123 | djfhjksdhwfsdf |23456789005
In a fixed-size font, all the characters have the same width. That has the advantage that all the texts are nicely aligned.
sravanthi.M wrote: and is the print code same for both dot matrix printer and normal printer.
Yup. One just "prints", and the printer-driver for Windows does the rest. It won't matter for your program what kind of printer is attached.
sravanthi.M wrote: to get those dotted line i have to set any option or can i get those dotted lines for normal printer also.
Those dotted lines only appear on vertical lines on a Matrix-printer, and they'll only be visible on matrix printers with 9 needles; those with 24 needles give the illusion of a 'real' line.
If you really, really need to have it look like it has been printed on an ancient machine, then by all means, go out and buy a cheap matrix printer. In all cases, try to avoid the dotted lines whenever possible. It looks dirt-cheap and it would be expensive to emulate on a laser-printer.
|
|
|
|
|
thanq very much 4 ur rply.
Actually i have a table with solid lines and i want that table to print in that format[with dotted lines as i posted previoulsy].using normal printer.
thnq
|
|
|
|
|
That's going to be hard to emulate. Your best bet would be to draw your information to a bitmap (Image). I'm not going into detail as that would consume too much time, but in general;
You can use the .DrawText() method to draw your text. Once that works, you can add the horizontal lines. These should not be dotted, if the result should look like it's been printed on a Matrix-printer. The horizontal lines should consist of either 9 or 24 dots. I guess that you'll need the 9-point version.
I do think that this solution is uncalled for, and it will get you into more trouble than it's worth.
|
|
|
|
|
ok..
thx alot for u r replies.it helped me alot.
|
|
|
|
|
sravanthi.M wrote: and is the print code same for both dot matrix printer and normal printer.
The answer is yes and no.
Yes: If you are just issuing a "print" command from anything above a semi-intelligent terminal (a PC, for example), then the entire operation would be taken care by a printer driver. There will be no difference in this case.
No: If your code is going to run on a semi-intelligent or a dumb terminal, then there may be no 'broker' between your code and the actual device to shield you from the boiler-plate stuff. You will then have write code to incorporate the appropriate ESC sequences[^] of the printer attached. As you are talking about dot matrix printers, generally they must fully comply with the EPSON escape sequences (the standard). Mind you that these sequences may differ from one printer to another, depending on what kind of printer is it (thermal, dot matrix, laser, etc.,). So, you will have a separate "print" function for every type of printer that the program may have to work with.
If your program will be running in a dumb to semi-intelligent terminal AND has to work with multiple printers, then it may not be a very pleasant experience to write the code for it.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
|
You are welcome.
May I kindly ask you to avoid using SMS language (like PLZ, THX, U, R). It irritates a majority of the grown-ups. I will excuse your brevity if you had posted this from a handphone.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
ok sorry for your INCONVENIENCE.
Thank you
|
|
|
|
|
sravanthi.M wrote: u r rply
"you are Ripley"?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
How can the signal strength, MAC address and related information be obtained? (both connected and NON-connected APs)
I tried to use WMI, but it always returned garbage MAC addresses.
Please help!
Thanks!
|
|
|
|
|
Have you looked into any WinAPI that allow you to communicate with the command line (cmd.exe)? Their has to be a way to harnass the ipconfig information through WinAPI.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
I have a working C# program. It's a gui that lets me access my parallel port. I would like to be able to convert it into a web page now. I've tried the copy past and start debugging approach. I think it's over my head.
I would like to know where to go or who to contact to have a pro work on it. I am willing to pay a programmer for a few hours of thier time. I will provide my working program and I can pay with paypal. Can someone please advise.
|
|
|
|
|
|
I was tempted to do that but he may actually want quality work done. I agree that here is definately not the place for the storm this will bring.
How is he going to assess the quality of the coder?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Please don't cross post.
-
First you might find out if it's a simple or hard task.
Is it the parallel port on the server computer or the client computer that you want to access?
Despite everything, the person most likely to be fooling you next is yourself.
modified on Wednesday, October 22, 2008 2:22 AM
|
|
|
|
|
it's the parallel port on the server that I want users to be able to access.
|
|
|
|
|
Can any one clue me in on what to push in the search engine
so I can read the directories and file names from a open server
I want to be able to auto select what files to download instead of hand picking... (lol I can do that with flashget hand pick)
I have tried a few example for just a look around but they where not even close to getting of the start line...
Thanks for any words to search for... I like to read all about what ever once I get a good hit..
Thanks
Oh by the way I'm using VS 2008 C#
|
|
|
|
|
Normally you can't. Directory browsing is turned off by default, so the only sites that you could get that information from would be the ones where someone have chosen to expose this information.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
the server I'm looking is open for viewing
besides even if they do the blocks you can get the file if you know the directory and name .. I do it all the time.. right now I'm scanning the folder by using coded numbers..
the question was how to do it
NOT why not to do it...
|
|
|
|
|
CDBob2002 wrote: right now I'm scanning the folder by using coded numbers..
If you're talking about a "dictionary" style, where you try to download files from the server, guessing at filenames, this isn't an OPEN server and there is no way to get the directory contents from such a configured box. You've found the only method that's going to work, and it'll only work so long as the owners of the box don't notice you're blindly trying to download files. Once they figure it out, you'll be blocked from doing so.
|
|
|
|
|
still the wrong answer
still the wrong answer
still the wrong answer
still the wrong answer
if flashget get can do it why can't I
The server is open
Basically there site is set up so you have to go web page to web page just to get one file at a time..
I don't want to have to flip pages.
While I was sleeping last night I had my scanner going and have downloaded
58000 files... so what do you want to do flip 58000 pages or get then all at once.. this download was just a small part of what I have so far..
don't wory I'll find some thing...
I found something last night that is a C# library open source
once I wake up and the grandson leaves I'll hit it hot and heavy again
|
|
|
|
|
OK. So the server is available for browsing the file system. You get the directory in an HTML page, so parse the page to get the directory and filenames. A Regular Expression ought to do it nicely. From there, you build a list of URL's for the files you want to download and use HTTP to get them, one at a time. There is nothing in the .NET BCL that's going to do it for you.
|
|
|
|
|
Please don't reply if all you are going to do is B.S
I'm sorry I asked now...
anyway I have found parts of what I was after on yahoo
I just need to combine them into one... program...
Does Microsoft MVP mean Jokestersoft MVP
I think I'll go ask at the real M$ C# forums...
http://forums.microsoft.com/MSDN/[^]
|
|
|
|
|
I had this Idea to write an emulator to use firmware updates as plug-in modules. The program will be used as a help desk program for helping end-users configure thier internet routers. Basically what I would be looking to do is to be able to view and navigate the web setup many of these routers provide and to see where the settings need to go in order to provide step-by-step directions to the end-user. The program does not need to "emulate" a virtual network or anything like that or even bootup simulation. Just the web navigate pages, except I would like it to emulate default IP's(for the setup page) and the factory user/pass to log-in. So basically for a linksys WRT54G I could download the firmware's for every version and select which one the user has. Then I could navigate the pages and tell the user what setting go where and on which page.
Does this seem possible? Dlink has a web page similar to what I am trying to do, but I want to use C# to embed a web page inside a form which would have drop-downs for model/make/version.
|
|
|
|