Tips for printing to a dot matrix computer? [message #478852] |
Fri, 07 August 2009 09:18 |
Eclipse User |
|
|
|
Originally posted by: rwhitney.grameenfoundation.org
Hello all,
I have a client who needs to print onto a dot matrix (in order to get carbon
copies). Of course, the report I'm generating isn't all that legible, which
I think has something due to printing from pdf.
Are there any tips for building reports that work with dot matrix? Certain
fonts and font sizes to work with? Style settings?
Thanks,
Ryan
Mifos.org
|
|
|
|
Re: Tips for printing to a dot matrix computer? [message #661938 is a reply to message #661726] |
Mon, 28 March 2011 14:35 |
|
Is this server side printing or client side printing?
Jason
On 3/26/2011 2:22 PM, govind wrote:
> HI..
>
> I am using birt for printing .. For me in the BIrt Viewer ,, in printer
> options .the dot matrix printer is not getting listed. Are there any
> specific settings need to be set.
>
> Can u help me in this regard.
>
> Thanks and Regards
> Govind R
|
|
|
|
Re: Tips for printing to a dot matrix computer? [message #667921 is a reply to message #667724] |
Mon, 02 May 2011 18:50 |
|
This is the java code used to find the printers:
public static List findPrinters( )
{
List printers = new ArrayList( );
PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet( );
DocFlavor flavor = DocFlavor.INPUT_STREAM.POSTSCRIPT;
PrintService[] printServices = PrintServiceLookup.lookupPrintServices(
flavor, pras );
if ( printServices != null )
{
for ( int i = 0; i < printServices.length; i++ )
{
PrintService service = printServices[i];
printers.add( createPrinter( service ) );
}
}
return printers;
}
My guess is that:
PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet( );
DocFlavor flavor = DocFlavor.INPUT_STREAM.POSTSCRIPT;
PrintService[] printServices = PrintServiceLookup.lookupPrintServices(
flavor, pras );
it may be that the lookup is not returning the dot matrix because of the
postscript flavor. You could write a quick command line app to verify.
Jason
On 5/1/2011 1:43 PM, govind wrote:
> Hi Jason
>
> Yes it as server side printing. Laser printer etc are shown.
> But Dot matrix printer is not shown..I feel its something to do with
> printer settings.
>
> Any ideas.
>
> Thanks and Regards
> Govind
|
|
|
Powered by
FUDForum. Page generated in 0.50325 seconds