Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Printing Precision forms

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Printing Precision forms
 Login/Join
 
Gold member
posted
I have a customer who wants to print output on a pre-printed invoice form. There will an indeterminate number of detail lines (never more than one page) and totals at the bottom in a specific box. There will be multiple invoices per run.

I have a number of ways of accomplishing this. Using a combination of HEADING and SUBHEAD/SUBFOOT is one way. Also, PDF Layout painter will work.

If anyone has a special technique for fitting data on pre-printed forms, I'd be interested in hearing about it.

Thanks in advance.............Steve

This message has been edited. Last edited by: Kerry,


Dev Studio /7.6.11/7.7.02M
MVS/USS
AIX/SOLARIS
Windows WF Client 7.6.8/7.6.11
 
Posts: 64 | Location: Eastern and middle NC | Registered: March 13, 2007Report This Post
Virtuoso
posted Hide Post
We do this quite frequently, and we have found no better way than trial and error. Print out your data elements and subtotals and then arrange,print,arrange,print, etc until they fit into the desired locations. They key is to use PDF output and make sure to turn SQUEEZE=OFF you so can set everything exactly as it needs to be.

There are multiple settings that can be manipulated to get what you need - Top/Bottom/Left/Right MARGIN, top/bottom/left/right GAP, font size,use of blank lines (in conjunction with changing font size) spot markers, POSITION=, WRAP=, WIDTH=,

For many of our forms we got tired of the process and the extra expense/hassle of preprinted forms so we moved to actually reproducing the form AS PART OF the PDF document. Using the newer line and box drawing features available in the stylesheets, as well as occasionally embedding images, we haven't found a form yet that couldn't be reproduced (and there are some pretty complex ones!)


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
I totally agree with Darin. Basically: print the Form AND Data as one “report”. CSS’s do the trick quite nicely (position: absolute; etc…). However, be sure to check out what may be reading the resultant form. By that, I mean: is the newly generated form being read by some automated process (scanned) which requires specific information in a specific position? If so, that process may need to be changed to handle the new form.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
Check out the Precision Report Painter. There is a button on the 7.6.8 Dev. Studio tool bar. One caution is it doesn't do a good job of justifying text or numbers, so lineing up columns can be a problem.


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
 
Posts: 204 | Registered: March 31, 2008Report This Post
Expert
posted Hide Post
Precision Report Painter - Is that a "new" name for Document Composer (PDF Layout Painter)? (a bit like EMR, FML, FMR etc. etc. etc.). One of the better moves for WF in recent times (imho).

If so then I couldn't agree more. I've recently created a multi page form with overflows that is so close to the original that it's difficult to tell the difference - the original was written using Crystal Reports.

As Doug suggests, lose the pre-printed stationery and achieve the whole using WF (although not with HTML as Doug intimates Frowner use PDF as you suggest). A good colour laser and your stationery supplier will be looking for new work, your company will (no doubt?) save money not only from stock holding but printing costs (which tends to cost more for small runs) and if the company logo changes they won't have stock of old forms that need to be dumped or recycled, and the change will be quick and painless. Any more advantages?

I would start off using the GUI as a learning process and then get into the code itself - it is very straight forward.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<JG>
posted
quote:
Precision Report Painter

It was the original name given to Pixel Perfect I believe.


Goes back to 7.1.0 only 39 hits on the internal IBI systems.

Never worked properly.
 
Report This Post
Expert
posted Hide Post
quote:
Never worked properly.
Hmmmm, does this apply to some other, more current, products I wonder? Wink

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
The button in 7.6.8 syas 'Precision Report'. Go to Help and seach on that. In 7.6.2 you had to jump through a couple of hoops. It was documented in TM4625. It is NOT a new name for Document Composer/Layout Painter.


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
 
Posts: 204 | Registered: March 31, 2008Report This Post
<JG>
posted
quote:
Hmmmm,

Did you know that if you put Hmmmm into google search you get twelve million six hundred thousand hits (12,600,000)

But if you type Hmmm you get forty seven million four hundred thousand (47,400,000) hits.

What is the correct spelling?
 
Report This Post
Expert
posted Hide Post
the way we do it here, cheating but works great,
we scan the image of the original form
then use precision to place the elements in the right boxes..the form.gif is then referenced in the pdf output in the TYPE=REPORT, so its the whole background.
works.
no ageda.
well, some ageda, but faster to develop.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
quote:
What is the correct spelling?

It's proportional to the amount of head scratching required Wink

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<JG>
posted
good answer.
 
Report This Post
Expert
posted Hide Post
depends on how many m's you're licensed for.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
Thanks for all the responses and good information. We are comparing using Precision Reports (PDF Layout Painter) and Excel Templates. Both can produce nice looking documents.

Steve


Dev Studio /7.6.11/7.7.02M
MVS/USS
AIX/SOLARIS
Windows WF Client 7.6.8/7.6.11
 
Posts: 64 | Location: Eastern and middle NC | Registered: March 13, 2007Report This Post
Platinum Member
posted Hide Post
FYI, PDF Layout Painter is not Precision Report Painter. You get to the later from within Report Painter, in 7.6.8.
I don't know how to attach a screen print otherwise I would show it.


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
 
Posts: 204 | Registered: March 31, 2008Report This Post
Expert
posted Hide Post
I think that Susannah's "form.gif" is another advantage, in reply to Tony's "Any more advantages?"

I think that Susanah's form.gif is a great advantage. You get to see your results on the screen without having to print it. I did a similar thing for US Bank with page borders.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
That's the point I make Doug, there are so many advantages beyond just the ease of coding. I am sure there are many more, and they are the many reasons why the compound reporting syntax makes the output as good as, if not better, than what you can achieve in some other reporting tools. It has to be a serious contender for the single best product enhancement from IB in recent times (imho).

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
quote:
Precision Report Painter
Looks like we've some new Styling syntax to learn Guys! Only available outputs are DHTML, PDF and PS. New SET variables such as -
ON TABLE SET NEWLAYOUT ON
ON TABLE SET COMPOSITION DEFAULT

New style keywords such as METADATA, NAME, OBJECT, PARENT, DIMENSION it doesn't seem too far removed from the Layout Painter syntax. Still suffers from the image sourcing differences between (D)HTML and PDF though (e.g. Client and Reporting server sourcing - but then, some things never change Wink)

GUI seems OK with a new (yes, I know, I did actually use it Confused), movable (non-dockable Frowner) toolbox for Selection, Box, Line, Image and Text. More tools available on the right-hand side comprising seven tabs with normal culprits such as fields, columns, properties etc.

Shame the FONT list isn't restricted to available fonts within chosen output when selected but then I suppose that's a tricky one. I just know we're going to get "When I select Lucida Console for PDF output it shows some other font, even though it displays correctly on screen" questions!!

Just when I've got used to manually coding the new layout syntax too Frowner

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Printing Precision forms

Copyright © 1996-2020 Information Builders