Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 21 NOV 2010 11:54:24PM Chee Onn Wu wrote:

I have a printing report that need to be landscape.This was done nicely with oipi except i cannot put a bold header in the top middle of the report. The following program was done to solve it but recently the bold header got slice off eg: CASH becomes CA then the SH is lower. I am using oi7.2. Any one faces this problem before?

FONT=Times New Roman,20,L,1" ;* 14 point, Left just, Bold

CONVERT "," TO @FM IN FONT ;* Use @fm delimiters
STAT=SET_PRINTER("FONT", FONT) ;* Set font
COL_TYPE=XLATE('DEBTOR',DB_CODE,'COLLECTION_TYPE','X')
STAT=SET_PRINTER("TEXTXY", COL_TYPE, 4.5:@fm:0.5)
FONT_INIT			= GET_PROPERTY(@WINDOW,'@FONT_INIT')
FONT_LINE_SPACING	= GET_PROPERTY(@WINDOW,'@FONT_LINE_SPACING')
IF FONT_INIT=' THEN FONT_INIT=COURIER NEW":@FM:10:@FM:"L":@FM:0:@FM:0:@FM:0:@FM:0
IF FONT_LINE_SPACING=' THEN FONT_LINE_SPACING=100'
STAT=SET_PRINTER("FONT", FONT_INIT, FONT_LINE_SPACING)

Hope someone can help. Thanks.

I personally think its the printer driver problem or is it OIPI problem?


At 02 DEC 2010 09:08AM Jared Bratu wrote:

Based on the time since you originally posted this question and the fact no one has responded I'd assume it isn't a well known issue.

It might be worth while trying a different printer driver, or a pdf print driver to help rule out the driver or OIPI.

If you can reduce the number of variables in the program and still reproduce the problem someone may have a work-around that would apply.

Support for OIPI is minimal and the underlying ComponentOne vsprint control used by OIPI is no longer supported. OIPI.NET in OpenInsight 9.x is the actively supported printing engine.

Does the same problem happen if you try your application in OI 9 with OIPI.NET (aka vsprinter2) ?

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/7fe8a83d82b99ac6852577e3001af40d.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1