Send Report to printer
Hi,
Windows Xp,
Oracle`10g,
Oracle Db g.
I am Try to send a report direct to printer . I add parameter
DesType = Printer, DesName = Printer Name
But nothing happen no errors nothing happen.
What is the problem?
Regards,
Thanks ....
The problem is solved which is i put destype = 'Printer' but Printer as oracle reserved word.
For the first time the out put ok ,
Then suddenly the output report font disappear.
Regards,
Similar Messages
-
Error sending report to printer
When I try to schedule a 9i report to print to a network printer, I get the following message.
Error while sending file to printer. Exit with Error Code 1848.
I am able to print from anything else to this printer.
Any Ideas?If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel. -
HOW CAN I SET MY FAX SENDING REPORT AS PRINT HP LASER JET COLOURE 2840
sory i want to set my hp laser jet coloure 2840 as fex sending report as a print
Hi
I found a link which may help you
http://h10032.www1.hp.com/ctg/Manual/c00292207.pdf
Go through the Fax part of it.
Hope this helps.
***** Click the KUDOS Thumbs UP (Like) on the left to say 'Thanks'*****
****Make it easier for other people to find solutions, by marking my answer “Accept as Solution”&"Kudos"if it solves your problem.****
-VJ
Although I am an HP Employee, I am speaking for myself and not for HP. -
Fonts when sending Reports via Printer Option (10g Reports / Redhat 5)
When I send a Oracle 10g report to the printer, which PPD file is it using? The printer you install on the server or the one in ORACLE_HOME/guicommon/tk/admin/PPD directory?
I installed a printer on the Linux Server and copied the file to the ORACLE_HOME/guicommon/tk/admin/PPD directory. I added some new fonts in the PPD so that the report would pick some Windows fonts that didn't exist originally on the Linux. I installed the fonts on the server and am able to see them in PDF Output options on the server.
When I send the report with the same parameters to the printer directly, it doesn't see those fonts. I only modified the PPD for that printer on ORACLE_HOME/guicommon/tk/admin/PPD directory. So I was wondering if I have to do it on the installed server file as well or not.
Any help is appreciated.
ChrisThis was a response that I received from Oracle Support. Basocally, I'd have to install the font in the internal printer memory to get this to work.
Is there a way to send a Report to PDF in Oracle Forms and then at the same time once that PDF is generated, send it to the printer (without user interaction). That would take care of my problem. That would take care of my printing issue. I know PDF's work and I know I can print them displaying the fonts just fine.
Support Response:
Fonts need to be present in the PPD file as well as the internal printer memory .
Reason is as follows.
1)Based on PPD file , Font metrics will be used to create thye PS file with the correct font names.
2)When the PS file is sent to the the printer, actual fonts are not sent . Note that this is a limitation of Oracle Reports PS driver on unix and . Hence, it is required to have a printer that has the fonts installed in its memory/system.
Currently there is an internal pending enhancement request to upgrade the Postscript driver of Oracle Reports
Reference
4149510 UNIX POSTSCRIPT PRINTING ENHANCEMENTS -
REP-56048: Engine rwEng-0 crashed sending reports to printer Linux
Hi,
I was wondering if anyone had any ideas of things I could try to get around this error in Oracle 10g (10.1.2.3) on Linux:
Terminated with error: REP-56048: Engine rwEng-0 crashed
I'm receiving it when I send a report directly to the printer (DESTYPE=printer DESFORMAT=blank DESNAME=printer name. When I run it locally on my Windows Machine, the command works and my report prints direclty to the printer fine. It's only when I go to Linux that I have issues. I get the above error. I've read posts on here about turning tracing off but that doesn't seem to help (unless I turned an option off that I thought was tracing.
When I run it with (DESTYPE=cache DESFORMAT=pdf), the reports generates in a new browser window and works fine (on Windows and Linux both).
Here's the code below I'm sending
V_OTHER := 'PARAMFORM=NO READONLY=YES authid='||user;
V_OTHER := V_OTHER||' PAGESIZE='||vPaper;
V_OTHER := V_OTHER||' ORIENTATION='||vOrientation;
V_OTHER := V_OTHER||' DELIMITER='||V_DELIM;
V_OTHER := V_OTHER ||' '||vParameters;
SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_FILENAME, LOWER(:MODULE.MODULE_NAME)||'.rep');
SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_SERVER, 'rep_inxx37_ybs');
SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_OTHER, V_OTHER);
IF :SUBM_RQST.DESTINATION = 'P' THEN -- This is printer option
SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESTYPE, PRINTER);
SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESNAME, 'gt-ybs-ps');
SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESFORMAT, '');
ELSIF :SUBM_RQST.DESTINATION = 'S' THEN -- This is the PDF option
SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESFORMAT, 'PDF');
END IF;
Any help is appreciated.
ChrisHas anyone had any issues with upgrading from a different OS (like Windows) to Linux and trying to print reports directly to the printer? I've had nothing but issues with it. I know others are using the feature but, I just haven't figured it out.
When I send it via the command line, I get this message below. I'm working with Oracle Support on this. I've got default printer setup as my network printer. I can print a document via the command line to my printer but when I submit an Oracle Report command, I get errors like below.
[as10g@inxx37 bin]$ ./rwrun.sh report=/u11/app/as10g/ybs/bin/test.rdf destype=printer
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0x01c4d4d3, pid=21730, tid=103095184
# Java VM: Java HotSpot(TM) Server VM (1.4.2_14-b05 mixed mode)
# Problematic frame:
# C [libc.so.6+0x704d3] strrchr+0xa3
# An error report file with more information is saved as hs_err_pid21730.log -
SQL*Plus Sending Report to Printer
Hello:
I have a query which I would like to send the report to the printer. I am using the SPOOL OUT command and the report will not print. I'm running 10g.
Can someone help?
This is my SQL script:
SET NEWPAGE 0
SET SPACE 0
SET LINESIZE 80
SET ECHO OFF
SET FEEDBACK OFF
SET VERIFY OFF
SPOOL C:\DEMO\DEPT3
CLEAR COLUMNS
CLEAR BREAKS
CLEAR COMPUTES
COLUMN DEPARTMENT_ID HEADING 'DEPT'
COLUMN LAST_NAME HEADING 'LAST NAME'
COLUMN SALARY HEADING 'SALARY' FORMAT $99,999
BREAK ON DEPARTMENT_ID SKIP 1 ON REPORT
COMPUTE SUM OF SALARY ON DEPARTMENT_ID
COMPUTE SUM OF SALARY ON REPORT
TTITLE CENTER 'iAPPLE PERSONNEL REPORT' SKIP 2 -
LEFT 'EMPLOYEE REPORT' RIGHT 'PAGE:' -
FORMAT 999 SQL.PNO SKIP 2
BTITLE 'COMPANY CONFIDENTIAL'
SELECT DEPARTMENT_ID, LAST_NAME, SALARY
FROM EMP_DETAILS_VIEW
WHERE SALARY > 12000;
SPOOL OUT
Thank you in advance.from the 9i documentation
Stops spooling and sends the file to your host computer's standard (default) printer. This option is not available on some operating systems.
the 10g doc does not contain the second sentence.
so, what's your os? do you have a default printer set up? what version of sqlplus (client, not database)? -
Unable to send report output to printer when using RUN_REPORT_OBJECT in 10g
Hello All,
When I try to send my report output to a file from my form(10g), I get 'FRM-41213: Unable to connect to report server'. I can sucessfully send my report to printer when I set the REPORT_DESTYPE to 'PRINTER'.Here is the code from my when-button-pressed trigger.
Am I missing something?
declare
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
BEGIN
repid := find_report_object('PWRR_CTRL_TYP_MAINT');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_ipkcaf7vm');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'DFLT');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'C:\TEST1.doc');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
msg_alert('Report print successfully', 'I', FALSE);
ELSE
msg_alert('Error when running report', 'I', FALSE);
END IF;
END;
Thanks,
AnnaHi,
its because
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'C:\TEST1.doc');
references the report rdf pr rep file to run, not the output file. The Reports output file is always specified with DESNAME
Frank -
Send Report Directly To Printer Without using ORARRP?
Is their any other way to send report output directlly to printer from reports 10g running on Oracle IAS 10g without use of Orarrp?
I am asking this question because of some non-support issue with Orarrp mentioned by Oracle in documents.
Looking for yours help on this topic.
Thankswithin a forms trigger:
1. generate the report
2. copy from iAS to local
like: webutil_file_transfer.url_to_client()
3. print.exe /d:printer filename (for windows OS) -
How to send report output to printer
Hi,
In Oracle applications one of my AR report has printer parameter
when user submitting the request he needs to choose the printer name for that
parameter then this report output needs to go to automatically to that printer after completion of report.
Do I need to change report system parameter values for this?
Could you help me in this?
Thanks in advance.Hi,
If you use ORARRP, you reports will automatically go to the default printers.
Regards,
Soumyajit -
Windows 2003 reports server. printing direct to printer
has anyone got any ideas on the best method/practice for allowing database to submit a print job direct to printer.
we have a forms environment, 10g, and users can run reports which allow them to select parameters, then print to screen, from which point they can then print manually or save, but we also have a need to submit jobs under the bonnet so to speak, ie. trigger event takes place in the database, send print to printer. note, the print being sent is pdf format.
many thanks
jbI'm exploring options for the same requirement. There appear to be 2 utilities available - Reports J2EE thin client and Reports Remote Printing Utility (orarrp). ORARRP is more for a forms/reports environment. Do a search in Metalink for ORARRP and you'll find several threads with documentation links. Unfortunately both utilities require client installs. Good luck!
-
How do you set the Crystal Report Viewer Printer to Duplex
Using the code below I can print in duplex mode, but this does not let me view a report before printing
How do I set the Printer in the Viewer Control Bar of the Crystal Report Viewer to Duplex Printing programmatically rather than having to manually select Duplex through the preferences option?
I have searched but the only example code I found produces errors in the code and will not run
Private myReport As ReportDocument
myReport = New ReportDocument()
myReport.PrintOptions.PaperSize = PaperSize.PaperA4
myReport.PrintOptions.PaperOrientation = PaperOrientation.Portrait
myReport.PrintOptions.PrinterDuplex = PrinterDuplex. Vertical
myReport.PrintToPrinter(3, False, 0, 0)
In my VB6 Project that I am converting to VB.NET when I added Report.PrinterDuplex = crPRDPVertical, this allowed me to view the report and then print with Duplex without having to set the Print Preferences manualy
I found 1386475 - How to set printer name and print job title at runtime using Report Application Server SDK for Visual Studio .NET
But this causes errors
Imports CrystalDecisions.ReportAppServer.ClientDoc
Imports CrystalDecisions.ReportAppServer.Controllers
Dim boReportClientDocument As ISCDReportClientDocument
Dim boPrintOutputController As PrintOutputController
Dim boPrintReportOptions As New PrintReportOptions
Edited by: DavidMills on Feb 18, 2011 11:58 AMHi David,
You can mix both engines, just declare them both with different report object names. Here's all of my references:
using System;
using System.IO;
using System.Xml;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportAppServer.ClientDoc;
using CrystalDecisions.ReportAppServer.Controllers;
using CrystalDecisions.ReportAppServer.ReportDefModel;
using CrystalDecisions.ReportAppServer.CommonControls;
using CrystalDecisions.ReportAppServer.CommLayer;
using CrystalDecisions.ReportAppServer.CommonObjectModel;
using CrystalDecisions.ReportAppServer.ObjectFactory;
using System.Data.OleDb;
using CrystalDecisions.ReportAppServer.DataSetConversion;
using CrystalDecisions.ReportAppServer.DataDefModel;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Windows.Forms;
using System.Data.SqlClient;
using System.Runtime.InteropServices;
public class frmMain : System.Windows.Forms.Form
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
My file open dialog:
private void btnOpenReport_Click(object sender, System.EventArgs e)
rptClientDoc = new CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument();
openFileDialog.Filter = "Crystal Reports (*.rpt)|*.rpt|Crystal Reports Secure (*.rptr)|*.rptr";
openFileDialog.FilterIndex = 1;
if (openFileDialog.ShowDialog() == DialogResult.OK)
btnOpenReport.Enabled = false;
btnSaveRptAs.Enabled = false;
object rptName = openFileDialog.FileName;
try
rpt.Load(rptName.ToString());
rptClientDoc = rpt.ReportClientDocument;
catch (Exception ex)
MessageBox.Show("ERROR: " + ex.Message);
return;
MessageBox.Show(rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString());
MessageBox.Show("Report opened.","RAS",MessageBoxButtons.OK,MessageBoxIcon.Information );
btnOpenReport.Enabled = true;
btnSaveRptAs.Enabled = true;
//MessageBox.Show(rpt.RecordSelectionFormula, "my record: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
As for the page number I use it off the Engine report object:
MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
And it works for me...
Thank you
Don -
Report 10g print preview problem
hi,
i use report 10g (HTMLCSS)
when send to printer i have problems as:
1- page stream should not show to print preview
2- page sizing changed in print preview
but when send directly to printer without page stream i have not problem with page sizing and margin just i have problem with page number i cant set page number as ( from page to page)
please help me.
thanksWhile printing report from the HTML page you can change the margin and header/footer setting by clicking or File>Page Setup>Margin & Header/Footer.
Just edit those property upon your requirement and then print report.
-Ammad -
Quicken Rental Prop Mgr, can't get my reports to print
I have a HP Officejet J4680 All-in-one, I also have Quicken Rental Prop Mgr. I recently had my computer upgraded to Window7 from XP, I cannot get my tax reports to print. I send it to my printer, the light flashes like it is getting ready to print & nothing. When I had XP I never had trouble getting my reports to print. Quicken says it is an issue with HP, can someone help. I have tried to navigate through all these question & answers to no avail. HELP!!
Hi Frustrated02,
I understand you have an Officejet J4680 that is not able to print from your Quicken program. I'm sorry to hear this but I will certainly do my best to assist you!
If your printer is able to print fine from every other program, just not from Quicken then we know the printer itself is working. If that's the case, I would like you to try installing an alternate driver by following the instructions below.
1. Go to your Control Panel and then Devices and Printers.
2. On the left under Printer Tasks click on Add a Printer.
3. Select Local Printer Attached to this computer, then Next.
4. From the drop down list select the port that the Officejet J4680 is using and then click Next.
5. Under Manufacturer make sure you select HP. Under Printers look for the HP Deskjet 9800 and then click Next.
6. If it asks you Which version of the driver do you want to use? Please select Replace the current driver.
7. You can change the printer name, or leave it as is, the decision is yours. You can make it the default if you'd like. If you don't just make sure you remember to select it instead of the Officejet J4680 when you print from Quicken. Make sure to click Next when done.
8. Say yes to printing the Test Page to make sure everything worked, then click Finish.
As long as the test page prints, please proceed to Quick to try and print again, making sure the Deskjet 9800 is selected in the printers list.
Hope this helps, have a great day!!
Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
**MissTeriLynn**
I work on behalf of HP -
I-pad sends message to printer,but no response
Sending messages to printer,but not printing
This question was solved.
View Solution.Hello tom61max,
I understand you are still running into problems. The HP Print and Scan Doctor was designed for Windows based computers, that is why you are getting the error message. Have you tried refreshing your network? Please restart your router, printer and iPad in that order and restart in the same order they were shut off.
When you are on the troubleshooting page which option are you selecting? I suggest following the troubleshooting steps under the Airprint option.
Follow these steps to check the network connection for your mobile device.
On your Apple device, tap the Settings icon.
Tap Wi-Fi.
Make sure that the selection box next to Wi-Fi is set to On, and that there is a checkmark next to your wireless network name.
Tap the blue arrow next to your wireless network. Make sure that the first three sets of numbers of the IP address of your HP product (found on the report you printed earlier) and the Apple device match. For example, if the HP product IP is 192.168.1.xx, then the Apple device IP should be 192.168.1.xx. The last set of numbers, indicated by xx in the example, should not match.
Move your Apple device as close to the router as possible, but no closer than 6 ft (1.8 m).
Try to print.
Please let me know if this resolved the issue, I hope to hear from you soon.
Thanks,
HevnLgh
I work on behalf of HP
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping! -
OS X sends job to printer, but the printer never prints the job
All,
Hello. I have a Mac running OS X 10.4 Everytime I try to print a document, I can see in the Print Queue menu where it says sending job to printer, then it says completed. But no lights come on on the printer and no job ever prints. The printer is acting like it is not communicating with my MAC, but my MAC thinks it is connecting to the printer. First I tried on my local printer, then I tried on my network printer and the same thing happened.
I tried uninstalling and reinstalling my printer but that didnt work either. I am planning on checking the CUPS log as well but since the MAC says job completed and didnt give any errors I am thinking that CUPS will not have any errors either.
My next step is to repair disk permissions, then Reset the Printing System.
Anyone else have any ideas? Am I barking up the wrong tree so to speak? I am not sure of the software version but I am thinking its OS X 10.4. Im going up to check nowWe're having JP's issue on a Mac here on our campus as well.
My user is running a 2.0Ghz iMac and printing to a laserjet 8150 via IP Printing. Up until this week everything has worked fine. Now when a document is printed from any program it goes into the queue and then gets moved to the "completed jobs" with no errors reported, but no acknowledgment by the printer and no errors produced.
Same model Macs print to this printer without issue. I tried redirecting to another lj8150 on the next floor of the building and got the same result.
Here's what I've done without success so far:
-Restarted the printer and Mac
-uninstalled/reinstalled the printer
-ensured all Mac and MS Office updates were installed
-reset Mac Print System
-uninstalled printer, reinstalled HP drivers for laserjets, reinstalled printer
At this point I'm ready to start looking system issues, viruses, etc. One thing I caught just before leaving the Mac was a download of limewire filesharing software [and virus hotbed]. So I'll add that to my list of investigations.
All other network functions seem to be operational except the printing.
Maybe you are looking for
-
Third party remittance issue - no documents created
hi All, When I am excuting Third party remittance for an employee I am getting status as: Evaluated! no documents created. When I checked in PCP0, the document is created. After checking the status in PCP0 I am executing 3rd party payroll and below l
-
Trying to download an app, from my computer, onto iphone, but it is grey (not connected) so won't download. Any ideas? Tks
-
Calendar.getTimeInMillis() . How to use it ?
Calendar car = Calendar.getInstance() Now I want it in milisecs. How ?
-
Margin around line sin JTextPane are too big!
i am working on an HTML Editor, i have a rowheader that displays the line numbers of the document. The problem is that they don't line up correctly. This is because of the margins around lines of text in the JTextPane. Is there a way i can get get th
-
Is a referenced document() cached ??
Another question with the XSL document() function: If I reference the same document() many times, is it cached, or does the parser parse it every time I call it? Thomas null