Click here to Skip to main content
16,006,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: printing a table in dot matrix mode [modified] Pin
sram1521-Oct-08 21:34
sram1521-Oct-08 21:34 
QuestionRe: printing a table in dot matrix mode Pin
Eddy Vluggen21-Oct-08 21:53
professionalEddy Vluggen21-Oct-08 21:53 
AnswerRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 22:12
sram1521-Oct-08 22:12 
GeneralRe: printing a table in dot matrix mode Pin
Eddy Vluggen21-Oct-08 22:38
professionalEddy Vluggen21-Oct-08 22:38 
GeneralRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 22:52
sram1521-Oct-08 22:52 
GeneralRe: printing a table in dot matrix mode Pin
Eddy Vluggen21-Oct-08 23:06
professionalEddy Vluggen21-Oct-08 23:06 
GeneralRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 23:15
sram1521-Oct-08 23:15 
AnswerRe: printing a table in dot matrix mode Pin
Rajesh R Subramanian21-Oct-08 22:57
professionalRajesh R Subramanian21-Oct-08 22:57 
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

GeneralRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 23:18
sram1521-Oct-08 23:18 
GeneralRe: printing a table in dot matrix mode Pin
Rajesh R Subramanian21-Oct-08 23:19
professionalRajesh R Subramanian21-Oct-08 23:19 
GeneralRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 23:38
sram1521-Oct-08 23:38 
GeneralRe: printing a table in dot matrix mode Pin
Guffa21-Oct-08 23:30
Guffa21-Oct-08 23:30 
QuestionAP info Pin
epcode150121-Oct-08 18:33
epcode150121-Oct-08 18:33 
AnswerRe: AP info Pin
Thomas Stockwell22-Oct-08 1:54
professionalThomas Stockwell22-Oct-08 1:54 
QuestionI'd like to pay a programmer for a few hours of their time, I need help converting C# to asp.net Pin
Gunnar575921-Oct-08 16:40
Gunnar575921-Oct-08 16:40 
AnswerRe: I'd like to pay a programmer for a few hours of their time, I need help converting C# to asp.net Pin
Le centriste21-Oct-08 17:32
Le centriste21-Oct-08 17:32 
GeneralRe: I'd like to pay a programmer for a few hours of their time, I need help converting C# to asp.net Pin
Mycroft Holmes21-Oct-08 18:06
professionalMycroft Holmes21-Oct-08 18:06 
AnswerRe: I'd like to pay a programmer for a few hours of their time, I need help converting C# to asp.net [modified] Pin
Guffa21-Oct-08 20:12
Guffa21-Oct-08 20:12 
GeneralRe: I'd like to pay a programmer for a few hours of their time, I need help converting C# to asp.net Pin
Gunnar575922-Oct-08 3:56
Gunnar575922-Oct-08 3:56 
QuestionC# how to get the directory and file names from a OPEN server Pin
CDBob200221-Oct-08 14:53
CDBob200221-Oct-08 14:53 
AnswerRe: C# how to get the directory and file names from a OPEN server Pin
Guffa21-Oct-08 20:15
Guffa21-Oct-08 20:15 
GeneralRe: C# how to get the directory and file names from a OPEN server Pin
CDBob200221-Oct-08 21:00
CDBob200221-Oct-08 21:00 
GeneralRe: C# how to get the directory and file names from a OPEN server Pin
Dave Kreskowiak22-Oct-08 5:44
mveDave Kreskowiak22-Oct-08 5:44 
GeneralRe: C# how to get the directory and file names from a OPEN server Pin
CDBob200222-Oct-08 9:01
CDBob200222-Oct-08 9:01 
GeneralRe: C# how to get the directory and file names from a OPEN server Pin
Dave Kreskowiak22-Oct-08 13:44
mveDave Kreskowiak22-Oct-08 13:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.