Forums Register Login

Datacard SP25 Plus and Java Printing

+Pie Number of slices to send: Send
Hi,

We are working on implementing ID-Card printing solution for our customer using Datacard SP25 Plus and Java Printing.

We do have the following Problem:

The default and the only MediaSize for this printer is CR80 (2.13 x 3.88 inches).

When printed from any program using Windows service (for e.g Wordpad), it shows the correct Media Size.

When trying to print via Java method, some arbitrary Media Size is shown. And it varies from PC to PC.

How to fix this problem? How to implement or create custom class for this MediaSize?

Here is the Java Testing Code.



Thank You.
+Pie Number of slices to send: Send
"Prabu M P" please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.

And welcome to Javaranch
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1864 times.
Similar Threads
How can I send text characters to a printer device ?
how to print a word document in java?
No instance of PrintService is being created
Printing PDF - Technical Solution Needed
printer not calling through this program..
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:15:40.