Maximo Wire - The IBM Maximo Help & Discussion Forum
May 23, 2012, 10:41:03 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to Maximo Wire, the IBM Maximo help forum. Feel free to register and ask any Maximo related questions you like.
 
  Home Help Search Login Register  
*
Pages: [1]   Go Down
  Print  
Author Topic: BIRT Master Page  (Read 848 times)
0 Members and 1 Guest are viewing this topic.
AbbyNL
Newbie
*

Karma: 0
Posts: 3


View Profile Email
« on: June 16, 2011, 05:52:25 pm »

I have a requirement to create a 'report' of sorts to print a barcode label.  I'm not quite sure the best way of going about this.  I created a new report using the Maximo List template for a start.  I took the header/footer out of the standard layout and only have 2 detail rows.  I deleted all columns but one and resized it to 2.75 in. (standard label width).  Very simple query wonum, description and had the table page break after each record.  My theory is the user can create a list of WO then hit Direct Print to print the current selected records out as a barcode label. 

Here is what is happening: Nothing from direct print so I did a Select Action-->Run Reports and clicked on my report from the Report Dialog.  Submit for immediate and a report is created.  I get an HTML view with each record, with barcode, displayed on its own page.  To print I request for PDF and a PDF document is created.  No barcode displayed but the raw WONUM is displayed.  The header is suppressed for the first page but shows on remaining pages.  A label spits out of the printer for each page but they are blank.

All of this for this question:  How do I supress or get rid of the Maximo Master page to get my barcode to display properly?

Thank you,
AbbyNL
Logged
Ethen
Global Moderator
Sr. Member
*****

Karma: 16
Posts: 303



View Profile WWW
« Reply #1 on: June 20, 2011, 10:05:54 am »

looks like your PDF doenst include bar code font...
you need to install the bar code font for PDF too.
Logged

regards,

Ethen...
AbbyNL
Newbie
*

Karma: 0
Posts: 3


View Profile Email
« Reply #2 on: June 20, 2011, 08:27:07 pm »

I have the IBM recommended IDAutomation font for barcodes defined in the fontsConfig.xml. 
I am using the printer page setup defaults for label 2.5 x 1.5 so the PDF print dialog comes up with the correct size now. 
I am setting the header height and left margin in the beforeFactory of the .rptdesign.  Using this method:

var myPage = reportContext.getReportRunnable().designHandle.getDesignHandle().findMasterPage("maximoLandscape");

if ( reportContext.getOutputFormat() == "pdf" ) {
   myPage.setProperty("headerHeight", "0.02");
   myPage.setProperty("leftMargin", "0.05");
}

And still the little preview on the print dialog still showing an offset for the header and my label prints out blank.
Logged
Ethen
Global Moderator
Sr. Member
*****

Karma: 16
Posts: 303



View Profile WWW
« Reply #3 on: June 22, 2011, 06:53:30 am »

your barcode font should be installed on the server that generates the report as well as on the system from which you are trying to print the report.
Logged

regards,

Ethen...
Pages: [1]   Go Up
  Print  
 
Jump to:  

Recent

TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!