Meaning of printing error

G'day all'

Anyone know the meaning of:

Failed to generate report: java.awt.print.PrinterException: Not a 2D print service: IPP Printer : LexmarkOptraS1255

Regards, Simon

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Meaning of printing error

Not really. The error is probably coming from the underlying printer implementation. You can see a version of the sources here:

http://www.java2s.com/Open-Source/Java/6.0-JDK-Modules-sun/print/sun/pri...

The relevant section is:

  if (service.isDocFlavorSupported(DocFlavor.SERVICE_FORMATTED.PAGEABLE) &&
      service.isDocFlavorSupported(DocFlavor.SERVICE_FORMATTED.PRINTABLE)) {
    myService = service;
  } else {
    throw new PrinterException("Not a 2D print service: " + service);
  }

So it sounds like the printer or service isn't reporting what it supports correctly.

Try updating the drivers.

 

Re: Meaning of printing error

Thanks  Tim, I've got the latest CUPS drivers, but the newest Lexmark driver is 2012 and they say this printer has been eol since 2007.  I'll give that driver a go.  Maybe the .ppd file might be able to be tweaked.  That can wait for now, there is a new printer to use and I need to move on to setting up some reports.  It'd be a shame to put down the old work-horse while there's some life left.

Thinking of reports, Mary looked in http://www.openvpms.org/category/template-file/report-templates and http://www.openvpms.org/templates for invoices and statements but couldn't find any.  I thought I saw some a couple of months ago, but can't find them now.  Know where to look for that sort of templates or report, or do I need to make them from scratch?

Regards, Simon

Simon Slater

Registered Linux User #463789 @ http://linuxcounter.net

Re: Meaning of printing error

Invoices and statements are included in the standard distribution.

See section 1.7 Document Templates of the readme.txt included in the release for instructions on how to load them.

 

 

Re: Meaning of printing error

Got 'em, thanks.  Knew I'd seen them somewhere...

Simon Slater

Registered Linux User #463789 @ http://linuxcounter.net

Syndicate content