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     How can I print a pdf report in a batch process?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How can I print a pdf report in a batch process?
 Login/Join
 
Platinum Member
posted
Hi All,

I've created a pdf report and saved it as a disk file named xyz.pdf. I can use CMD COPY to send this to any network drive or drives, but how would I also send this same report to a printer or printers?

Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
<RickW>
posted
quote:
Originally posted by RickW:
I'm actually working on the exact same thing for a batch process. Here's what I've found so far:

I was able to successfully print a PDF from my local machine to a network printer using the following syntax

c:\Progra~1\Adobe\Acroba~1.0\Reader\AcroRd32.exe /h/t "\\server\reports\pdfrpt.pdf" "\\server.domain.com\printername"

I was able to run this from within WebFOCUS when connected in LOCALHOST environment using a DOS command.

It would not work when running from WF remote server.

When running the command from just a DOS window on my machine (outside of WF), the Adobe GUI is launched
even with the /h switch which is supposed to suppress the GUI.

Someone wrote an exe http://forum.planetpdf.com/webboard/wbpx.dll/read?142106,52 that supposedly takes care of this.

Here are some additional links that may help;

https://partners.adobe.com/public/developer/en/acrobat/sdk/ReaderOverview.pdf

http://www.experts-exchange.com/Programming/Q_21545019.html

http://www.noliturbare.com/ChicksTools.html

http://partners.adobe.com/public/developer/en/acrobat/s...iac/IACReference.pdf


We have a thrid-party software for our batch process (non-WF stuff) so we'll probably end up writing some .NET/VB code to and call the Adobe API - at least that's what I've come up with so far for our solution.

Hope that helps.
 
Report This Post
Platinum Member
posted Hide Post
Thanks RickW, I'll give this a try.
Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Virtuoso
posted Hide Post
Would report caster work. There is a network printer delivery option.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
<RickW>
posted
RC is certainly an option. My problem is that I need to create compound PDFs for displaying online and this ends up requiring physical files for batch.

I know RC has a different processing engine so the issues with using the AcroRd32.exe method may not be a problem. I didn't test that since we already have an existing batch process associated with the app.

Definately a good suggestion though.
 
Report 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     How can I print a pdf report in a batch process?

Copyright © 1996-2020 Information Builders