PROBLEM DESCRIPTION:
====================
How do you print locally from Web Reports V6.0 or 6i?
SOLUTION DESCRIPTION:
=====================
The following examples apply to Windows NT
1. Run the Report to cache with DESFORMAT HTML, HTMLCSS; PDF or RTF and use
browser fuctionality to print out locally.
2. Setup the user's printer as a mapped printer on the Reports Server
machine. Then, select that printer when printing a report from the web.
Setup a parameter form for the report that asks the user to enter a value
for the SYSTEM parameter, DESNAME. The user can then enter the UNC name
(universal naming convention) of the printer that takes the form:
\\<machine_name>\<printer_share_name>
such as: \\king.oracle.com\HPLJ4000N
where the user's machine is "king.oracle.com" and the printer
attached on that machine is shared as "HPLJ4000N".
Please note that this will only work if the Reports Server machine
has permissions to print on the remote printer.
3. Use the ORARRP utility (Oracle Reports Remote Printing).
The ORARRP is a plug-in on the client browser that recognizes a special
mimetype an invokes Acrobat Reader printing in batch.
The ORARRP utility can be downloaded from OTN (http://otn.oracle.com)
Note that it is a demonstration of the possibilities of web technologies
together with ORACLE Reports but not a specific ORACLE Reports feature.
EXPLANATION:
============
Any application deployed in a three tiered environment, and displayed with
a browser, actually runs on the middle tier (server machine). In this case,
the Reports Server is deployed on the middle tier, and the user views these
reports on the client PC with a browser. But the report is actually running
on the server. The browser is only displaying a representation of the output.
All processing and activity is on the server side.
Therefore, if you try to print anything, it will be the server that is getting
the request to print; the hardcopy output will, therefore, go to a printer
defined by the Reports Server machine.
If the user wants to print locally to his/her printer, they will have to use
the browser's "Print" function.
This functionality is for security purposes. The internet architecture does
not allow a server process to control a local resource. This prevents a
malicious site from wreaking havoc on client PCs. Printing locally is
effectively controlling a local resource, such as the printer.
Partager