Print PDF report directly to a network printer (dot matrix)
Dear All,
I have a report of PDF output generated from an XML Report..
Can I print this PDF report directly to the network printer (dot matrix), by default, like a normal text report output.
If yes, how can I make this possible...
Please update...
Hi,
Yes u can do that ,first setup the printer on the o/s and refer below documents
Please refer below documents
How To Print XML Publisher PDF Reports Via The Concurrent Manager [ID 338990.1]
How To Print Concurrent Requests in PDF Format [ID 333504.1]
How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
Regards
Similar Messages
-
Printing PDF report directly to printer, not using orarrp utility
The orarrp utility works only with Windows machines and it
requires installation on both the client machines and servers to
support. We need a more general solution.
Adobe has a java application/applet/javabean (and support
classes) to view PDF, and it is easy to write a java driver
which can be used in place of the orarrp utility. However,
Adobe's Java Viewer is extremely slow, does not produce quality
output, and is explicitly not supported by Adobe.
My question then relates to Reports. When the Report server
returns a PDF in the Previewer, I'm expecting the JINITIATOR,
used by Forms, is also used to support the Report frame and
functionality, including eventual printing. If this is the case,
is there not a set of classes, downloaded with Jinitiator, which
support the fonts, and printing of PDF to locally attached
printers?
And if so, shouldn't we, in Java, be able to make use of these
classes and their APIs to print PDF files directly to locally
attached printers without the need for Previewing first?within 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 print a report directly on to a printer on the client machine
Hi,
Could anyone let me know how to print a report directly on to the clients default printer in oracle forms 10g with OAS?.
Regards,
Prasad.Hello,
<p>You can use this Java Bean</p>
Francois -
I was having problems with adware and I beleive that everything might have been reset as the help desk person was working remotely on my computer. Also, when I print to my HP Laser Jet P2035, it prints a blank page after printing the pdf on the first.
Please check the default printer settings that you have set. Do the tickets print as they appear in the print preview?
If you change any settings, do you see a change in the print preview?
Most printing issues are fixed by resetting the print.printer configuration in the about:config page. Please also see [[Fix printing problems in Firefox]]
If this is still printing white pages, please add "escalate" to the Tags on this thread and we can take a closer look. -
Printing a report directly to an printer via the printer's IP Address.
I am looking for how to print a report (either text or pdf) from a PL/SQL procedure, directly to a known IP Address of a printer.
We have a report that is generated through forms as a pdf. The user can then obviously read it and print it to a printer from their machine.
We are trying to implement a Stored procedure that will print that report directly to a know printer's IP Address.
How can this be done?Check out the orarrp utility (Oracle Reports Remote Printing Utility) on Metalink, note 277431.1.
It may be easier in the end to set up printers on the OAS. I guess that client PC's are using network printers, or are the really using printers connected directly to the PC? -
Unable to print PDF reports on laser printer?
Hi
Our requirement is to print the PDF reports directly on the laser printer after submitting through concurrent requests. We have configured the local printer attached to the user, installed printer as network printer on IBM AIX server and configured the printer configuration in ERP instance. Whenever, we print garbage is printing. Then came across this metalink document (How To Print XML Publisher PDF Reports From The Concurrent Manager [ID 338990.1]). According this document, i have downloaded PDF converter 'xpdf' through this link http://www.foolabs.com/xpdf.
As far as i know, extracting the xpdf.tar file itself will install this software. Modified and un-commented this line pasta_pdf.cfg file with 'preprocess=pdftops {infile} {outfile}' command. Still the printer is printing garbage.
How to verify that XPDF is installed properly or not?
RegardsI think that means tool is either not installed or not in path:-
"The Xpdf language support packages include CMap files, text encodings, and various other configuration information necessary or useful for specific character sets. (They do not include any fonts.) Any or all of these can be installed by simply unpacking the tar file and adding a few lines to your xpdfrc configuration file (see the README file inside each package for details).
have you seen what needs to be changed in xpdfrc configuration file?
Thanks,
JD -
Hi Experts,
we want to print a Report directly after clicking on print version. We don't want to first open the pdf file and then click another time on print. Is there any solution?
The best solution would be, that we print automatically the report on our local printer after confirming the filter variables.
Thanks for your help
SebastianThere should be a javascript command, something like window.print, which you could put in the onLoad function of the page.
The problem here is that it doesn't print in the nice PDF version.
Cheers,
Andrew -
Print RDLC Report Directly to Printer with SubReports!
I am currently printing a report directly to the default printer using the code from this link.
http://msdn.AddHandler
ReportViewer1.LocalReport.SubreportProcessing, AddressOf SubreportProcessingEventHandler
and this code:
Public Sub SubreportProcessingEventHandler(ByVal sender As Object, ByVal e As SubreportProcessingEventArgs)
Dim zrpt = e.ReportPath
Select Case zrpt
Case "WOPartsSubReport"
Dim ds1 As New WOPartsSubReportDataSet
Dim da1 As New WOPartsSubReportDataSetTableAdapters.wopartsTableAdapter
da1.Fill(ds1.woparts)
e.DataSources.Add(New ReportDataSource("DataSet1", ds1.Tables("woparts")))
Case "WOLaborSubReport"
Dim ds2 As New WOLaborSubReportDataSet
Dim da2 As New WOLaborSubReportDataSetTableAdapters.wolaborTableAdapter
da2.Fill(ds2.wolabor)
e.DataSources.Add(New ReportDataSource("DataSet1", ds2.Tables("wolabor")))
Case "WOLockoutSubReport"
Dim ds As New WOLockOutSubReportDataSet
Dim da As New WOLockOutSubReportDataSetTableAdapters.wolockTableAdapter
da.Fill(ds.wolock)
e.DataSources.Add(New ReportDataSource("DataSet1", ds.Tables("wolock")))
End Select
End Sub
But now that I am NOT using a reportviewer how can I still get the subreports to work and still print directly to the printer? Where would I put the code to do that?
Thanks,
StacyHi Stacy,
Sorry for the delay.
It’s Christian that I have involved to help on this issue. Maybe the issue requires a more in-depth level of support. Alternatively, you could contact Microsoft Customer Support Services (CSS) via telephone so that a dedicated Support Professional can assist
you in a more efficient manner. Please understand that contacting phone support will be a charged call, but it will be free if this is a product issue. To obtain the phone numbers for specific technology request please take a look at the web site listed below:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
Another option would be creating a thread on our Connect site:
http://connect.microsoft.com/sql.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
Print reports directly in a local printer
Hello buddies,
Well, i wanna know if exists some way to print a reports directly in a local printer when using forms 9i ...
the procedure built-in "PRINT", open a dialog box to choose the printer to send the printscreen... maybe exists a way to make it for the reports...
thx a lot.
Regards,
PradoThis will work for you.
DECLARE
pl_id ParamList ;
Repid Report_Object ;
Rep_Status Varchar2(20) ;
Tag Varchar2(20) ;
BEGIN
:Global.Printer := '\\Pc Name\Printer Name';
-- printer_name is the name of the printer on your local machine
-- The printer should be a whole name like 'HPCOLOR6L'
-- The printer should be shared, and should not have blanks or other special chars
Pl_Id := Get_Parameter_List (Tag) ;
IF NOT Id_Null (Pl_Id) THEN
Destroy_Parameter_List (Pl_Id) ;
END IF ;
Pl_Id := Create_Parameter_List (tag) ;
add_parameter (Pl_Id , 'paramform' , Text_Parameter , 'NO') ;
Repid := Find_Report_Object('rep010_bpass') ; -- name of the report where it should be definded in the report section of the Oracle forms builder
Set_Report_Object_Property(Repid,REPORT_FILENAME,'Report path with report name') ;
Set_Report_Object_Property(Repid,REPORT_EXECUTION_MODE,RUNTIME) ;
Set_Report_Object_Property(Repid,REPORT_COMM_MODE,SYNCHRONOUS) ;
Set_Report_Object_Property(Repid,REPORT_DESTYPE,Printer) ;
Set_Report_Object_Property(Repid,REPORT_DESNAME,Global.Printer ) ;
Set_Report_Object_Property(Repid,REPORT_SERVER,'Report server name') ;
IF Rep_Status = 'FINISHED' THEN
NULL ;
ELSE
MESSAGE ('Error Running report ...') ;
MESSAGE ('Error Running report ...') ;
END IF ;
END ; -
Not able to print PDF report from Oracle APPS
adcmctl.sh version 115.17.
We have a network printer HP Laserjet 4250 which is configured on our concurrent manager server of RH Linux OS. We are using HP LASERJET 4250 Postscript driver. We are able to print PDF's directly however through CC manager we are not able to print reports in Proper PDF format. Has anyone faced such an issue with Oracle Apps?user11996936 wrote:
Has anyone faced such an issue with Oracle Apps?Maybe. Maybe not. Ask to the proper forum. Here you are in Peoplesoft forum.
Nicolas. -
Error - Printing a report directly to printer
Hi,
i'm using oracle forms 9i and i'm trying to print a report directly to printer. I using the code above:
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_SERVER,GetReportTnsName);
IF ReportDesType = 'CACHE' THEN
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_DESTYPE,CACHE);
ReportServerJob:=RUN_REPORT_OBJECT(ReportId, PList);
rep_status := report_object_status(ReportServerJob);
IF rep_status=âFINISHEDâ THEN
JobId := substr(ReportServerJob,length(GetReportTnsName)+2,length(ReportServerJob));
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'||JobId||'?server='||GetReportTnsName,'_blank');
ELSE
message ('Errorâ);
END IF;
-- logic for sending report directly to printer
ELSIF ReportDesType = 'PRINTER' then
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_DESTYPE,PRINTER);
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_DESNAME,:parameter.p_print);
ReportServerJob:=RUN_REPORT_OBJECT(ReportId, PList);
rep_status := report_object_status(ReportServerJob);
IF rep_status=âFINISHEDâ THEN
message ('Report sent to printer successfully');
ELSE
--handle errors
message ('Errorâ);
END IF;
end if ;
i get this error :
REP-50157: Erro no envio do ficheiro para a impressora lp65. Sair com o código de erro 64
NEED HELP !!
Regards,The printer has to be known on the server where the Reports service runs.
Also, the user who runs the Reports service has to have access to that printer. If you are running on Windows, Reports Service runs as Local system by default. Change that to a real (domain) user, who has access to the printer. -
Orarrp can't print pdf file directly to printer
oracle remote print utility (orarrp) can't print pdf file directly to printer.
we expect orarrp utility can handle ".rrpa" file (i.e. pdf file generated on the application server) by directly print the file to the client's printer, i.e. invoke the acrobat reader on the client side, display the the printer selection dialogue, after confirmation print the pdf file, then the acrobat reader close automatically nicely.
However we are disappointed as the acrobat reader startup and display the pdf file content but does not print and does not close.
After testing the problem several times, there are some findings:-
Finding (A):-
(a) for the success of direct printing of pdf file, a physical path must be provided; we have tried 2 methods:
1) using drag & drop to copy the pdf file directly to the browser
2) open pdf file in the browser directly using browser menu-->File-->Open.
(b) for the failure of direct printing, a virtual path is involved and we have also tried 2 methods:
1) when web.show_document() is used
2) enter the url to the URL bar of the browser,
eg. http://appsvr.com:7777/report/test_printout/APPSVR1094707.rrpa (this is a virtual path/url)
Finding (B):-
(a)when the physical path is used, a temporary pdf file is generated in the same directory where the rrpa file exists in the application server,
e.g. in application server: d:/printout/yyy.pdf is generated for d:/printout/xxx.rrpa when direct print occurs
(b) however when the virtual path is used, there is no such temp "pdf" file generated and direct print failed.
May be when virtual path is used, orarrp utility don't know where to generate the temp "pdf" so direct print doesn't occur.
So, anyone has similar experience or further queries or has solutions, please join.
Thanks for your attention.Hi,
It is really late to give response this post. But still who ever refering to this post for the same issue this solution is useful for achieving same in background:
Even same can be used in smartforms, for getting spool request in PDF format as well which will decrease the size of file when printing in SAP printer.
ct_tline is PDF output:
DATA: lv_pdfsource TYPE xstring.
FIELD-SYMBOLS:<p> TYPE x. " <p> type any.
LOOP AT ct_tline INTO cs_tline.
ASSIGN cs_tline TO <p> CASTING TYPE x.
CONCATENATE lv_pdfsource <p> INTO lv_pdfsource IN BYTE MODE.
ENDLOOP.
* ->Create spool request in PDF format
CALL FUNCTION 'ADS_CREATE_PDF_SPOOLJOB'
EXPORTING
printer = 'LOCL' "Printer name supporting PDF device type
* DEST =
pages = 1
pdf_data = lv_pdfsource "XSTRING internal table
* NAME =
* SUFFIX1 =
* SUFFIX2 =
* COPIES =
* PRIO =
IMMEDIATE_PRINT = 'X'
* AUTO_DELETE =
* TITLELINE =
* RECEIVER =
* DIVISION =
* AUTHORITY =
* LIFETIME = '0'
* IMPORTING
* SPOOLID =
* EXCEPTIONS
* NO_DATA = 1
* NOT_PDF = 2
* WRONG_DEVTYPE = 3
* OPERATION_FAILED = 4
* CANNOT_WRITE_FILE = 5
* DEVICE_MISSING = 6
* NO_SUCH_DEVICE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF. -
How to print PDF report by clicking a button
Hi,
I'm using oracle 10g developer suite. i've developed a form clicking a button calling a PDF report. But i do not want to show PDF report. i want to auto print PDF report by clicking a button.
Plz help me.Just follow the Oracle reports 10g output directly to printer and you will able to print directly
Hope this helps
Hamid
If response is helpful or correct mark it. -
Print PDF file directly to store printer
Hi Gurus,
Having not found a solution, we think we need help from you. We have searched forums and google but have not found adequate solutions.
We are a retailer having different stores. Our main office is using SAP. Each store has its printer and defined in our SAP system. We want to print PDF files directly to store printer using SAP . How should we do that ? We think there are 2 steps:
1) Upload PDF files from network directory into SAP (We done it, no problem)
2) Having now PDF files in internal tables, how should we proceed to print PDF files using store printers?
Please note that we do not want to use CL_GUI_PDFVIEWER since we do not want to display the PDF and having the obligation to choose the print option from dialog and also we do not want to call Adobe OLE object to print
Any answer would be appreciated
Thank you very muchHi,
It is really late to give response this post. But still who ever refering to this post for the same issue this solution is useful for achieving same in background:
Even same can be used in smartforms, for getting spool request in PDF format as well which will decrease the size of file when printing in SAP printer.
ct_tline is PDF output:
DATA: lv_pdfsource TYPE xstring.
FIELD-SYMBOLS:<p> TYPE x. " <p> type any.
LOOP AT ct_tline INTO cs_tline.
ASSIGN cs_tline TO <p> CASTING TYPE x.
CONCATENATE lv_pdfsource <p> INTO lv_pdfsource IN BYTE MODE.
ENDLOOP.
* ->Create spool request in PDF format
CALL FUNCTION 'ADS_CREATE_PDF_SPOOLJOB'
EXPORTING
printer = 'LOCL' "Printer name supporting PDF device type
* DEST =
pages = 1
pdf_data = lv_pdfsource "XSTRING internal table
* NAME =
* SUFFIX1 =
* SUFFIX2 =
* COPIES =
* PRIO =
IMMEDIATE_PRINT = 'X'
* AUTO_DELETE =
* TITLELINE =
* RECEIVER =
* DIVISION =
* AUTHORITY =
* LIFETIME = '0'
* IMPORTING
* SPOOLID =
* EXCEPTIONS
* NO_DATA = 1
* NOT_PDF = 2
* WRONG_DEVTYPE = 3
* OPERATION_FAILED = 4
* CANNOT_WRITE_FILE = 5
* DEVICE_MISSING = 6
* NO_SUCH_DEVICE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF. -
Print a report directly to the printer
I need to print a report directly to the printer in Oracle Forms and Report 11g without a preview in the browser
Hello,
<p>You can use this Java Bean</p>
Francois
Maybe you are looking for
-
How can i configure advance payment to vendors through cash jounal
how can i configure advance payment to vendors through cash jounal pls its urgent for me kindly help me out
-
Signed applet stopped working with 1.4.2_04
We have a signed applet that accesses the file system. After installing 1.4.2_04 it produces this exception java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute) at java.security.AccessControlContext.
-
How to set up my scanner?
I already install the cd in my Mac but still not working. Please help me. Thank you
-
I am doing the « Database Development with JDeveloper » tutorial. In the tutorial we create two SQL scripts that we can run with SQL*PLUS from inside JDEV. The tutorial asks us to use sqlplusw.exe. However I dont have sqlplusw, I only have sqlplus.e
-
Interested in the Nano 6gen...
Hi Forum Friends, Just wanted to know what the music player is like. I love my Ipod Shuffle but need so much more space for my tunes. It is simple to use, I clip it on and can suffle songs easy and move on to the next track easily but I am not sure h