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 01 MAY 2003 03:24:48PM Hank Huizinga wrote:

We are experiencing a problem with OIPI and printing. The report prints compressed (postage stamp size) and is unreadable by the user. This happens to about 10% of our users. All users having this OIPI printing problem are able to print properly using Report Designer, Microsoft Word and Microsoft Excel. Additionally, after printing using Excel, OIPI will occasionally print correctly.

We host our OpenInsight application on Citrix MetaFrame XP, NT4.0 Terminal Server. All the latest service packs have been applied and we are using OI 4.12.

We have developed a temporary solution. We use OIPI to generate a PDF file and then print the PDF file using Acrobat Reader. No printing problems reported todate.

Any help or possible solutions.

Thanks,

Hank


At 01 MAY 2003 05:46PM Oystein Reigem wrote:

Hank,

You've reported this problem earlier, in February. I responded with saying I thought somebody else reported this problem even earlier, perhaps some time in 2002. And that I once had postage sized pages myself but highly likely from a different cause. (And I might have called you "Bob".)

Did you do a search for earlier relevant postings? I tried now but failed.

I wonder if there is something about the size of your print or your margins that might give a clue to what's happening. Could you tell us the exact dimensions of the following - both when printed correctly and in postage stamp fashion:

- top margin

- left margin

- right margin

- bottom margin

- width of printed area

- height of printed area?

- Oystein -


At 02 MAY 2003 08:45AM dsig@sigafoos.org wrote:

To add to Oystein's note

Can you break your code down to something that can be tested outside your normal program?

Just the print setup/print section .. be happy to test it here

Also .. does it always happen to your prints? if you use the same fonts and add it to the sample routines that come with oipi does it still happen?

Are you adding graphics? Are you Printing just text lines or to TextXY?

dsig@sigafoos.org onmouseover=window.status=the new revelation technology .. a refreshing change;return(true)"

David Tod Sigafoos ~ SigSolutions

Phone: 971-570-2005

OS: Win2k sp2 (5.00.2195)

OI: 4.1.2


At 02 MAY 2003 01:34PM Hank Huizinga wrote:

Oystein, Yes I did report the problem earlier. I have not found any other posting with this problem. In fact, it has never happened to me personally. When printing does not work, the printout is about 1 inches by 2 inches at the top left of the page.

David, I don't think the problem lies in the code. One customer has 10 concurrent users. Nine print properly, one never printed properly. Same report. No graphics in the report, just a bunch of PRINTXY, some lines, different fonts.

In all cases, redirecting the report to a PDF file and then printing the PDF file using Acrobat reader resulted in a correct printout. Word and Excel always works as well.

I have added the initialization code used in one print program.

Thanks for your help,

Hank

Here is the OIPI print installation subroutine:

PrintInit:

* Am I using Acrobat for printing

Branch = 1

bUseAcrobatFlag = OSFileName =

Call PRINT_OIPI(Branch, bUseAcrobatFlag, OSFileName)

* Initialize the printing session with a name, dialog title, and margins

FileName = FileName = "PRINT_WORK_ORDER" title = "" title = "Printing Work Order(s)…" title = "Work Order Print Preview" pageinfo = "" pageinfo = 0.5 ;* left pageinfo = 1.0 ;* top pageinfo = 0.5 ;* right pageinfo = 0.5 ;* bottom pageinfo = ;* letter sized paper

pageinfo = 1 ;* number of copies

pagesetup = pagesetup = 0 ;* orientation (0=portrait) pagesetup = 1 ;* units (1=inches, 2=mm, 3=cm) printsetup =

printsetup= 0 ;* 0=Print to printer

IF bUseAcrobatFlag THEN

FileName	= 6
FileName=OSFileName
printsetup= 2		;* 2=Preview normal	printsetup= 3		;* Hide the print window

END

charmap = Get_Property('SYSTEM', 'CHARMAP')

stat = Set_Printer("INIT", FileName, title, pageinfo, pagesetup, printsetup, '', charmap)

GOSUB CheckForError

RETURN


At 02 MAY 2003 01:51PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Isn't this traditionally associated with the printer driver? Swap to something simple like an HP II and see if it still happens…

The Sprezzatura Group

World Leaders in all things RevSoft


At 02 MAY 2003 03:44PM Hank Huizinga wrote:

By default we use the Citrix universal print driver. By changing the print driver we have had some success, but not always. By having the customer reinstall their driver we have had some success, but not always.

The customer just does not understand why this is happening when everything else prints correctly.

In the same Citrix session Revelation Reporter, Word, Excel and Acrobat all print properly while OIPI does not. Thus, OIPI must be doing something differently than all these other products. Any thoughts on what this might be?

Revelation, any thoughts?

View this thread on the Works forum...

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