Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Tips for printing to a dot matrix computer?
Tips for printing to a dot matrix computer? [message #478852] Fri, 07 August 2009 09:18 Go to next message
Eclipse UserFriend
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 #661726 is a reply to message #478852] Sat, 26 March 2011 18:22 Go to previous messageGo to next message
govind Ra is currently offline govind RaFriend
Messages: 95
Registered: July 2009
Member
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 #661938 is a reply to message #661726] Mon, 28 March 2011 14:35 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 #667724 is a reply to message #661938] Sun, 01 May 2011 17:43 Go to previous messageGo to next message
govind Ra is currently offline govind RaFriend
Messages: 95
Registered: July 2009
Member
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
Re: Tips for printing to a dot matrix computer? [message #667921 is a reply to message #667724] Mon, 02 May 2011 18:50 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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
Previous Topic:JNDI-datasource name as parameter to BirtViewer, possible?
Next Topic:Bad dynamic image quality in PDF
Goto Forum:
  


Current Time: Fri Apr 26 23:22:08 GMT 2024

Powered by FUDForum. Page generated in 0.03587 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top