Professional Documents
Culture Documents
Introduction
The primary objective of the project was to convert reports designed in Optio Software to BI Publisher. This was driven by multiple reasons from cost and maintenance perspective, but the primary reason was to make use of the extensive capabilities offered by the BI Publisher with ease of use. The client BIGBAND NETWORKS already had the AMS contract with Sierra and this was signed as an enhancement request. The project scope did not include modification to the existing data model of the report or to the existing layout. Therefore the existing RDF reports were used as they were already designed with XML output format.
Brief
The major chunk of the work involved was in actual designing of the layout. The other part was to print the reports to different printers where most of the issues were faced and are be detailed in this document. The issues are broadly categorized as below. - Setups required for printing BI reports. - Printing BI reports on Laser Printers. o Type of Reports : PORTRAIT, LANDSCAPE and LANDWIDE. o Printers : HP, XEROX and RICOH - Printing BI reports as Labels on thermal printer o Printer : ZEBRA
Page 1
Resolution The postscript printers are enabled with processing the pdf files and printing. The PCL printers need to be defined as Pasta type printer at the OS level and the preprocess for converting the pdf file needs to be defined in the pasta.cfg. The details of the same are in the below metalink notes.
Note 365111.1 How to setup PASTA for PCL Based printers? Note 356501.1 How to setup PASTA quickly and effectively?
The printer truncates left or right margin of the report for BI reports with Landwide and Landwide240 style.
By default the Pasta Landwide240 style is not defined for the Pasta type printers and needs to be defined at application and OS level. This will define the page style of the report. The settings for this can be done on individual pasta.cfg files for the individual printers. No issues were noted when printing to Portrait or Landscape styles.
Note 763274.1 How To Setup Custom Pasta A4 Print Styles And Drivers.
BI publisher report with PDF output not printing as part of document set.
BI Publisher report do not print as part of document set, whereas Optio reports as part of document set are printing fine. BI packing slip report does not print serial numbers when printed through Document set as part of the Ship confirm process. This prints fine when printed with the Optio document set.
This is a bug in 11.5.10.2 where the version of WSHDSPRB.pls is earlier than 115.42.11510.7. Patches 5688014 and 9245452 need to be applied to resolve the same. The optio reports have printers defined at the individual report level. For the BI report to print as part of document set the default printer needs to be set at the user level. The order of the shipping reports in the document set plays an important role due to the after report triggers logic. Correcting the order of the BI reports in the newly defined document set resolved this issue.
Page 2
Page 3
3 5
Defined new Zebra printer server with drivers 2.6.42 Build 2382 compatible with the Z4M printer. Standard encoder for the barcode font was added in barcodeutil.java Licensed barcode font code128 was used. This came along with the preprocessing logic which was included in the barcodeutil.java.
Note: The barcodeutil.java was compiled on the server for correct results. Vendor site : http://www.idautomation.com/fonts/code128/
The licensed barcode font code128 came with different sizes and the font was finalized after testing all and comparing with the existing label for layout and readability. IDAutomationC128XXS IDAutomationC128XS IDAutomationC128S
The final successful configuration was as below o Tool used : Standard BI Publisher in word doc. o Printer Type : Zebra printer defined with PASTA type at the OS Level. o Preprocessor : PDFTOPS was used in the pasta.cfg file o Font : IDAutomationC128XS
Issue 3 : The Label retracts back in the printer after printing the label
The zebra printer printed the label from Optio correctly. But when printed from BI Publisher retracted the label.
Page 4
Sierra Atlantic A Hitachi Consulting Company This caused issues to tear off the label as seen in the below images. When Printed from BI. When Printed from Optio
Below steps were taken to resolve the issue on the application side. # Action Taken 1 Modified BI Table layout to align to the printer. 2 Modified BI Layout to include additional lines at top / bottom 3 Modified Page size 4 Modified Page break 5 Modified Page Margins 6 Modified page size at OS level 7 Modified rows for printer style of printer at application level. 8 Modified "Printer_Style" to align to printer. 9 Verified for any properties that can be set at PDF level for formfeed. 10 Verified for any properties that can be set at run time level for formfeed. 11 Modified PRINT_MODE on port on print server. 12 Modified RETRACT on printer setup. 13 Printed the output file from Linux server. 14 Printed directly to the IP instead of routing through the print server.
Outcome Fail. Fail. Fail. Fail. Fail. Fail. Fail. Fail. None identified. None identified. Fail. Fail. Fail. Fail.
Below steps were performed on the physical setup of the printer to resolve the issue. # Action Taken Outcome 1 Default PRINTMODE option is Tear Off. This was changed to Rewind. Fail. 2 Default BACKFEED option is After Print. This was changed to Suppress. Fail. 3 Default TEAROFF setting is 100. This was modified to -90. Fail. 4 Set the BACKFEED to Before and the TEAROFF to -80 Success.
Note : In case label was printed from Optio the settings would be reset and therefore required reconfiguring the same to print the label correctly through BI Publisher without the retracting issue.
No formfeed or pagesize setups were done at the layout level. The final successful configuration done at the physical printer was as below o BACKFEED : set to BEFORE at the physical o TEAROFF : set to -80.
Page 5