Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anyone with experience with dot matrix printing?

 
S Chan
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I have a Panasonic KX-P1121 Dot Matrix Printer here in the company. I have to write a Java app that creates print jobs for this printer. The problem is, it is a dot matrix printer which I have no experience of, and I believe it is very different from a InkJet and Laser printer in terms of resolution, font, etc...

Anyone has experience with printing with dot matrix printer using Java? Do you know if there are any online articles I can read about this? Anything pitfall I should be aware of?

Thank you all for help.

 
Winston Gutkowski
Bartender
Pie
Posts: 10417
63
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
S Chan wrote:I have a Panasonic KX-P1121 Dot Matrix Printer here in the company. I have to write a Java app that creates print jobs for this printer. The problem is, it is a dot matrix printer which I have no experience of, and I believe it is very different from a InkJet and Laser printer in terms of resolution, font, etc...

Anyone has experience with printing with dot matrix printer using Java? Do you know if there are any online articles I can read about this? Anything pitfall I should be aware of?

Well, assuming you have all the drivers for it, I imagine it would be just like printing to any other printer (although, from the looks of it, setting the page size and/or font may be a bit trickier). This sounds to me like an OS issue, not a Java one.

The same site also has a FAQ page that suggests that it is compliant up to Windows 7 with an Epson LQ driver, but don't ask me how to set it up. All I can say is that once you can actually print to it from a regular program (eg, Word), I suspect it should print just fine from Java.

However, one might ask why your company is wasting time and money for you to write Java code to print to a printer which is so old that it's probably worth less than an hour of your wages.

Winston
 
S Chan
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Winston Gutkowski wrote:
S Chan wrote:I have a Panasonic KX-P1121 Dot Matrix Printer here in the company. I have to write a Java app that creates print jobs for this printer. The problem is, it is a dot matrix printer which I have no experience of, and I believe it is very different from a InkJet and Laser printer in terms of resolution, font, etc...

Anyone has experience with printing with dot matrix printer using Java? Do you know if there are any online articles I can read about this? Anything pitfall I should be aware of?

Well, assuming you have all the drivers for it, I imagine it would be just like printing to any other printer (although, from the looks of it, setting the page size and/or font may be a bit trickier). This sounds to me like an OS issue, not a Java one.

The same site also has a FAQ page that suggests that it is compliant up to Windows 7 with an Epson LQ driver, but don't ask me how to set it up. All I can say is that once you can actually print to it from a regular program (eg, Word), I suspect it should print just fine from Java.

However, one might ask why your company is wasting time and money for you to write Java code to print to a printer which is so old that it's probably worth less than an hour of your wages.

Winston


We have to use that dot matrix printer because it uses pins to stamp on the paper with pressure rather than spraying ink on the paper. The need of this is that we use copyless copy paper, so that the printouts can be signed on with pen, creating several copies of the signature.

We have the driver already and thank you for your finding. Our printing is actually working with some software already but they are written in C/C++. My current task is to create some supplementary applications that hopefully can also use the same printer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic