File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Anyone with experience with dot matrix printing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Anyone with experience with dot matrix printing?" Watch "Anyone with experience with dot matrix printing?" New topic
Author

Anyone with experience with dot matrix printing?

S Chan
Ranch Hand

Joined: Jul 25, 2011
Posts: 51
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

Joined: Mar 17, 2011
Posts: 7052
    
  16

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

Joined: Jul 25, 2011
Posts: 51
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Anyone with experience with dot matrix printing?
 
Similar Threads
Printing Problem in AWT/SWING
Print directly to dot matrix printer
JAVA Printing Help
Things our kids won't understand
How do I print a raw text file to any given printer port