Reports attachement pdf printing after report printing
Oracle : 9.2.0.6
forms 6.0.8 reports
os : linux :
I have a peculear requirement for the inhouse application.
I generate a standard Purchase order report with normal requirements using d2k reports. This report is being printed as soon as the transaction commits and goes to the printer.
The Purchase order comes in 2 pages dependsing on the items and terms and conditions.
I have a standard Pdf doc comp_prof.pdf (which changes regular intervals conists of various comp. info and not related any database activity).
Currently this information is being printed manually after the Purchaae order is being printed.
I tried to incorporated in after report trigger. I was not succesful.
Pl. help what are the various options I have to solve this.
If I convert a PO to mail this doc also should go.
the pdf need to print is not from oracle d2k report. That is pdf is a particular location. The pdf is not getting generated form oracle or any d2k component.
It is a standard any pdf doc consists of 3 page information.
Similar Messages
-
Issue while exporting report in PDF using crystal report XI
Hello,
I am facing issue while exporting a report to PDF through crystal report XI. Reports are generating properly in the crystal report browser but when I am exporting the reports in PDF or trying to get print by clicking on print button, reports not generating properly.
Allignment in the exported PDF reports getting changed and reports margin is also changes. Due to this some part of report is chopped and printed on the next page.
I have deployed my application on IBM WebSphere 6.1 server and I am getting following error which might help to identify this issue.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The response has already been commited.---- Error code:0 Error code name:succeeded
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.crystaldecisions.report.web.component.o.a(Unknown Source)
at com.crystaldecisions.report.web.event.br.a(Unknown Source)
at com.crystaldecisions.report.web.event.w.a(Unknown Source)
at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
at com.crystaldecisions.report.web.event.av.a(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.ibm._jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Caused by: com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write
at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:80)
at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.writeOut(BufferedServletOutputStream.java:438)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBytes(BufferedServletOutputStream.java:344)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flush(BufferedServletOutputStream.java:323)
at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBuffer(BufferedServletOutputStream.java:478)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:452)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:436)
at com.crystaldecisions.report.web.viewer.JSPViewerResponse.flushBuffer(Unknown Source)
... 33 more
Caused by: java.io.IOException: Async IO operation failed, reason: RC: 64 The specified network name is no longer available.
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:203)
... 3 more
Thanks in advance
Alok P.The stack trace is caused by whitespace in your CrystalReportViewer.jsp file. Look up SAP Note 1199025 for the resolution.
It's not related to the PDF formatting issue. There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF. But the latest version helps greatly.
Sincerely,
Ted Ueda -
Printing the file type attachment (PDF) in the report (XMLP) output
Requirement
Data Source: RDF
Layout type: RTF (XML publisher)
Requirement is to print the attachment on the sale order header of data type ‘File’. The attachment file type is PDF. Please refer the below screen shot for details.
Responsibility: Order Management Super User
Path: Orders, Returns - Sales Orders
Open sales order record, and on sales order header form choose: View - Attachments from toolbar (or click on Attachment-icon).
Attachment Data Type
Default attachment data type is defined for each attachment category. This default value can be updated, when attachment is created on a transaction.
If attachment File Type is 'File', print constant text 'See attached document' on the position defined for it on the layout. The attachment file is then printed to the end of the document (last page of the document). This additional page should contain reference to the sales order number being printed.
Is it possible to print the attachment of data type ‘File’ in the XMLP report?Requirement
Data Source: RDF
Layout type: RTF (XML publisher)
Requirement is to print the attachment on the sale order header of data type ‘File’. The attachment file type is PDF. Please refer the below screen shot for details.
Responsibility: Order Management Super User
Path: Orders, Returns - Sales Orders
Open sales order record, and on sales order header form choose: View - Attachments from toolbar (or click on Attachment-icon).
Attachment Data Type
Default attachment data type is defined for each attachment category. This default value can be updated, when attachment is created on a transaction.
If attachment File Type is 'File', print constant text 'See attached document' on the position defined for it on the layout. The attachment file is then printed to the end of the document (last page of the document). This additional page should contain reference to the sales order number being printed.
Is it possible to print the attachment of data type ‘File’ in the XMLP report? -
Report column footer print after report footer
I have a report which has column footer and report footer.
The column footer always print in the bottom of the page and it happens the report has half page then report footer print before column footer.
I would like to know is it possible to have column footer just after last detail line print and report footer print after column footer which is more professinal report format,
Your help and information is great appreciated,
Regards,
Iccsiiccsi wrote:
I would like to know is it possible to have column footer just after last detail line print and report footer print after column footer
It is not possible to change the order in which the footers print.
To achieve what you want, do not use the "column footer" band. Create a dummy report group and use that group's footer, which will always print before the "report footer". -
How to convert report to pdf format after that I want to send on mail
Hi
Guru
What is my requirement . I want put push button on output list of a normal report. When user click on mail push button, mail should go to customer mail id according to customer no i gave input for customer no in selection screen.
For this I need what is function module (Code) for convert a report to pdf format and whats function module for send mail to customer.
Plz help me out
thanks
DurgeshHi ,
I think this is helpful
FM are used to convert pdf file and attachem.
CONVERT_ABAPSPOOLJOB_2_PDF
SO_DOCUMENT_SEND_API1
*& Report ZSPOOLTOPDF2 *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program can be run in background or online and a spool request *
*& will still be created *
REPORT zspooltopdf2.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX,
p_online no-display.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i,
w_spool_nr like sy-spono.
%_print LIKE pri_params.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
If p_online = 'X'.
Processing performed when program calls itself when run online
gd_spool_nr = sy-spono.
EXPORT gd_spool_nr TO MEMORY ID 'SPOOLTOPDF'.
EXIT.
endif.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
ELSE.
gd_spool_nr = sy-spono.
If executed online, it submits a program to perform the write statements
instructing it to create a spool request, this could be another program
which just performs the write statements and then exports sy-spono
to memory. But in this example it calls itself passing X to parameter
p_online, which takes it down an alternative procesing path.
submit ZSPOOLTOPDF2
with p_online = 'X'
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
ENDIF.
Get spool id from program called above
IMPORT gd_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
FORM get_job_details *
FORM get_job_details.
Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
FORM send_email *
--> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM. -
Cannot load the report on PDF format after running report
Hi,
I try to use Web.show_document to run the report thru form. After that, the PDF file cannot be shown on browser (IE5.0) but the PDF file is generated successful and if use Acrobat to open it, it work.
An error as 'An error occurred trying to load this document'. (The Acrobat reader is loaded)
Thanks for your help in advance.
nullHello,
I have found a similar problem, I think the problem my be with your acrobat settings.
On Acrobat 5. open an existing pdf file. Then on the menu go to Edit\Preferences\General. => A new screen should pop-up, click on 'Options' on the left hand side, and then check out your WEB OPTIONS. I tend to untick the 'Display PDF in Browser' and leave the others ticked.
I hope this helps. -
Attaching PDFs to Mail Through Print Dialog
When using the PDF pulldown in the print dialog to email a preview PDF, Microsoft Word names the file "Microsoft Word - xxx.pdf. Is there a way to change this name while in Mail? Otherwise I need to save the PDF to the desktop, attach, then throw away the PDF.
ThanksI've never found a way to do it. AFAIK, plastering "Microsoft Word" to the front of your filename (when printing) is a "feature" you can't change. The Windows version of Office does this too (you see it when viewing documents in a Windows print queue), but most Windows PDF creation tools ignores it.
MS Office for Mac is the only program I'm aware of that does this. Our OpenOffice.org users don't have this problem.
Sorry,
- WG
PowerMac G5 Mac OS X (10.4.8) -
SSRS 2012: Report Header PrintOnFirstPage-problem after report migration from SSRS 2008
Hi ,
I developed my report using VS 2008 IDE and the report header property "PrintOnFirstPage" is set to False.
The content of the header are some textboxes and lines that should show only on page number > 1.
This works fine in VS 2008 IDE in preview mode as well as with reports rendered by SSRS 2008 report server.
Recently I migrate&convert the same report to SSRS 2012 I noticed a different rendering behaviour of my report.
So in VS 2010 preview mode, the page headers content (textboxe etc.) is not visible on first page but the headers space did not colapse as it does in VS 2008 IDE preview mode.
I checked all the report properties but unable to find a solution to my problem.
I was able to reprduce the same behaviour by creating a new report using VS2010 IDE.
Any ideas are greatly appreciated
Thanks
BodoHi BodoHH,
I have tested on my local enviorment and can't reproduce the issue, the issue can be caused by many factors, it can be caused by the properties setting and can also caused by the visual studio, Detais information below for your reference:
As you mentioned that you have check all the report properties, please also check the tablix,Page Header,report body properties to see if the size are the same with that in the SSRS2008.
Please open this rdl report in the report builder to see if the print layout is correct, if it works fine, the issue can be caused by the visual studio.
Please also try to upload the rdl report to report manager to check the layout.
Please also provide the snaphot of the layout in VS2010 to let us better analysis about the issue.
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
Crystal Report as PDF without Crystal Report Viewer
Hi,
i have a question to a Crystal Report document. The situation is, that i have a document in InfoView. If i open the Crystal document, it will be launch the Crystal Report viewer in the IE. The next step is to use the export function, to create a PDF Document.
Now, i would like to open a PDF Document directly, without the Crystal Report Viewer. How can i configuration that?
Thanks for help.You could always schedule the report to PDF format, then when you clicked to view the Latest Instance, it would come up in PDF format.
-
Issues in exporting SSRS report to PDF format in Report Server - Blank spaces are deleted
Hi Gurus,
I have a problem in exporting SSRS report to PDF format. It deletes all the blank spaces when I use bullet in a Text box and try to export to PDF formt in Report Server . For example
• Project submitted to the TRC
Result in PDF format:
• ProjectsubmittedtotheTRC
I also noted that when I try to export to PDF in Visual Stuio 2005 (Business Intelligence development studio), it does not delete any blank spaces and shows the correct aligned Data in PDF format.
Please help me as it is frustrating a lot
I would highly appreciate for your quick responseWas there ever a solution found for this as i have the same issue.
When bullet point is entered in a field all the spaces are removed when exported to PDF
i tried exporting to excel and it does not remove spaces, however this is no use to me as it needs to be in PDF
Using IE 7 (Don't think the browser has anything to do with it as this happened via a subscription)
Didn't know SSRS had specific Service Packs, i though they came as patches to SQL Server (SQL Server is on Service Pack 3)
This should be easy to replicate all you need to do is copy text containing a bullet point into a sql server database field and then add this field to a report export to pdf and the spaces are gone
Thanks in advance,
Mark Brunton
brunzire -
P3005 error message PCL XL error IllegalMediaSource extra sheet printed after every print job
We have a networked P3005 with a stepped back PCL5e driver working for three Word 2003 people and one Word 2007 person. Out of the blue the Word 2007 person began getting an extra sheet of paper after every print job with the error message PCL XL error Warning: IllegalMediaSource. We had gotten a version of this error before, which is why I stepped back the driver to PCL5e.
Anyone have any thoughts? Please??I have not had any problems since I read a post from someone to turn the printer off unplug the power cord from it and wait a little bit. Plugged it back in, turned it on and it has been working. I am using Vista 32 bit. I'm not sure this is what you are wanting on the driver. I found this HPC14106 .GPD 3.25.2010
Thanks -
PP Breakdown Notification Print After Viewing Print Preview
Hi All,
I am creating Breakdown Notification from IW21 and want to take its printout from IW22 After looking its Preview .But when we go for Print preview the Print Button is Deactivated .When I go for Print in the Pop-up I can select the Print ,Then i can take the printout i.e before seeing the Preview.
So hope I am clear in Question , I want the Print should activated in the Preview Screen..
Someone suggest of how to about it .
Regards,
SriramHi ,
I am having SAP_ALL Authorization,So that would not be the problem ..
Can u suggest some other solution .............
Regards,
Sriram -
JavaScript Printed After Reports Causing IE GUI Delays
I am seeing the following code output after a report region. I assume this is output when a page has a report that has a row selector column on it. However in my application it is possible that a use will want to retrieve and see 1-999 rows in a report. When the 500-999 rows are retrieved, this little block of code will create 3 arrays. The arrays have the same lengths as the number of rows retrieved. And then has sequential code output to setup initial values. (see below)
In FireFox this is fine as the code runs quickly. However in IE this code can cause the page to stall for a good 3 or more seconds depending on the machine (the page loads cleanly and fully however the IE GUI will not respond).
I am wondering, if there is any way to mitigate this problem as it would appear I have no control over it. My reports aslo do not use the row highlighting provided by APEX so I don't need it to output anyways.
</htmldb:R64163813204487568>
</div>
<script type="text/javascript">
<!--
var rowStyle = new Array(500);
var rowActive = new Array(500);
var rowStyleHover = new Array(500);
rowStyle[1]='';
rowStyleHover[1]='';
rowActive[1]='N';
rowStyle[2]='';
rowStyleHover[2]='';
rowActive[2]='N';
rowStyle[3]='';
rowStyleHover[3]='';
rowActive[3]='N';
rowStyle[4]='';
rowStyleHover[4]='';
rowActive[4]='N';
rowStyle[5]='';
rowStyleHover[5]='';
rowActive[5]='N';
rowStyle[6]='';
rowStyleHover[6]='';
rowActive[6]='N';
rowStyle[7]='';
rowStyleHover[7]='';
rowActive[7]='N';
rowStyle[8]='';
rowStyleHover[8]='';
rowActive[8]='N';
function checkAll(masterCheckbox) {
if (masterCheckbox.checked) {
for (var i = 0; i<document.wwv_flow.f01.length; i++) {
if (document.wwv_flow.f01.checked==false) {
document.wwv_flow.f01[i].checked=true;
highlight_row(document.wwv_flow.f01[i],i);
} else {
rowsNotChecked=0;
for (var i = 0; i<document.wwv_flow.f01.length; i++) {
if (document.wwv_flow.f01[i].checked!=true) {
rowsNotChecked=rowsNotChecked+1;
if (rowsNotChecked==0) {
for (var i = 0; i<document.wwv_flow.f01.length; i++) {
if (document.wwv_flow.f01[i].checked==true) {
document.wwv_flow.f01[i].checked=false;
highlight_row(document.wwv_flow.f01[i],i);
function highlight_row(checkBoxElemement,currentRowNum) {
if(checkBoxElemement.checked==true) {
for( var i = 0; i < checkBoxElemement.parentNode.parentNode.childNodes.length; i++ ) {
if (checkBoxElemement.parentNode.parentNode.childNodes[i].tagName=='TD') {
if(rowActive=='Y') {
rowStyle[currentRowNum] = rowStyleHover[currentRowNum];
} else {
rowStyle[currentRowNum] = checkBoxElemement.parentNode.parentNode.childNodes[i].style.backgroundColor;
checkBoxElemement.parentNode.parentNode.childNodes[i].style.backgroundColor = '';
rowStyleHover[currentRowNum] = '';
} else {
for( var i = 0; i < checkBoxElemement.parentNode.parentNode.childNodes.length; i++ ) {
if (checkBoxElemement.parentNode.parentNode.childNodes[i].tagName=='TD') {
checkBoxElemement.parentNode.parentNode.childNodes[i].style.backgroundColor = rowStyle[currentRowNum];
rowStyleHover[currentRowNum] = rowStyle[currentRowNum];
document.wwv_flow.x02.checked=false;
// -->
</script>Well, I found MY problem. It was a center tag. I had <center></center> around my Flash movie. So I put it in a table and now it's works. I looked over your code, but I don't see a center tag so maybe this won't help you. You did help me to fix mine so if I can help in any way let me know.
Update: I noticed that you centered your data cell, maybe you could try centering the whole table. -
Boxes are not printing after taking print out
Dear All,
i have developed a script ,which contains some rows and columns.To display rows and columns i have used BOX command.In print preview all boxes are coming properly,but if i take Print out(Even in PDF view also) some boxes are not printing.What would be the problem here?
with regards
NareshHi friend,
There must be some problem in printer settings
or
Try reducing the size of the box and see because of the size also printer may avoid the boxes.
Just try these both i think either one of the both must be a problem.
Still did not get the desired output please revert back to me. I will help you.
Thanks,
Sri Hari -
Canon IRC 3200--cannot print after adding printer to Mac 10.5.4
I have searched and read all the relevant topics but still I have problem printing to the irc3200. I have a Mac (Leopard) with Parallels (running Windows XP.) I installed PCL5e on the Window side and can print with no problem. On the Mac side, I initially used the "Appletalk" to install and can print, but as some of you know, using the Appletalk limits the "print menu" that you can see on the Mac. So I deleted the Appletalk printers, installed the Canon PS 1.81 driver and added the printer with queue name LP. I added the printer successfully, was able to see the "Special features" tab, but every time I print, it will say "Printer in use. Waiting for Print job to finish" and the job will just sit in queue forever. I then added the printer again with queue name "Direct" but the same message occurs when I try to print.
I would very much appreciate any advice. Thank you.If you used the More Printers > Canon IP (PS) option to add the printer queue, then this will use LPR/LPD protocol. With the error you are getting, you may find that the LPD service has been disabled on the copier. Note that Windows will default to Port 9100 (RAW) for its protocol, so that explains why that would work.
You can open the Remote UI page for the iRC3220 by typing its ip address into your web browser. With the home page open, select the Additional Functions tab. You may be prompted for the iRC3200 system administrator ID and password. Enter this if you know it or contact your IT if you don't.
When the Additional Functions options appear, select Custom Settings. On the right hand pane, under Network Settings select LPD Settings. Ensure 'Use LPD' is enabled. If it isn't, check it then OK the change. You will have to restart the machine for the service to start working.
The other thing to check is that the imagePASS print controller option is not fitted to the iRC3200. This is a white rectangular metal box that would be hanging on the back of the copier. If you have this, you will not see all the options I mentioned above. Instead you will see the home page for the imagePASS (probably the C1). If you have the imagePASS, then you cannot use the Canon PS driver. You will need to use the PS driver for the imagePASS-C1.
HTH
PaHu
Maybe you are looking for
-
Creative Cloud will not load Photoshop CC
get this error 16 everytime I try to lauch Photoshop CC on my mac. I have the creative cloud and never had a problem with any of the apps until today. I have followed all the threads and uninstalled CC and wen back into Adobe Application Manager to
-
When I updated iTunes on window 7 I lost my desktop, after I restartedit. It is all black. How do I get my desktop back?
-
Sync contacts fails since switch to new pc with Windows 7 and live mail
Since switch to new pc with Windows 7 and live mail synchronisation of contacts fails. On old pc with Vista and Outlook Express there were no problems.
-
Authorization for Report Painter
Hi, we have a report in report painter with Company Code selection. May I know how to restrict the company code selection such that userA will see only company codeA data? i see there's an authorization group. may i know how to use the authorization
-
How to keep the layers effects when merging the layers to save a Tif?
I am loosing all my layers effects when I merge all the layers together to save the image in the tif format! How to avoid this lost? Can someone help me? this is very urgent! I have to give the file to the printer for my solo exhibition on tomorrow m