IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Sending Reports Directly to a Printer
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Has anyone figured out a way to send a report directly to a Printer? Our application defaults reports to display in the PDF format, the users have other options like HTML and Excel. But a majority of our user base would like to be able to select a report, run it, and have it print without having to view the report.
 
Posts: 4 | Registered: May 12, 2004Reply With QuoteEdit or Delete MessageReport This Post
Silver Member
Posted Hide Post
What OS are you running WebFocus on?
 
Posts: 37 | Registered: April 14, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
this is for the Windows platform using IE Browser and Java components.
 
Posts: 4 | Registered: May 12, 2004Reply With QuoteEdit or Delete MessageReport This Post
Silver Member
Posted Hide Post
You can write a focexec that has an lpr printing command you can send the file to the printer. However, you can't send a PDF directly to the printer, it needs to be PS (postscript). An example would be
PRINTME.fex
...contents....
DOS lpr -S "printserver ip" -P "printer cue name" -o l filename.ps

go to a command prompt in windows and type lpr /? to get a listing of how to use the lpr command.
 
Posts: 37 | Registered: April 14, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Sending Reports Directly to a Printer

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.