Hoe can i print pdf report(created from jasper report) without preview
<%@ include file="jsp_connect_db.jsp" %>
<%
//==============================================
//Report Exporting
//==============================================
File reportFile = new File(application.getRealPath("rno0700.jasper"));
Map parameters = new HashMap();
parameters.put("pcourt_running", request.getParameter("pcourt_running"));
parameters.put("ppost_running", request.getParameter("ppost_running"));
parameters.put("ppost_seq", request.getParameter("ppost_seq"));
//parameters.put("ppost_status", request.getParameter("ppost_status"));
//parameters.put("pnotice_type_id", request.getParameter("pnotice_type_id"));
parameters.put("pnotice_date", request.getParameter("pnotice_date"));
parameters.put("BaseDir", reportFile.getParentFile().getPath());
byte[] bytes = JasperRunManager.runReportToPdf(
reportFile.getPath(),
parameters,
conn
//JasperPrint jasperPrint = JasperManager.fillReport(reportFile.getPath(),
//parameters,conn);
response.setContentType("application/pdf");
response.setContentLength(bytes.length);
ServletOutputStream ouputStream = response.getOutputStream();
ouputStream.write(bytes, 0, bytes.length);
ouputStream.flush();
ouputStream.close();
//==============================================
//==============================================
%>
Hi,
check this link,this might help you to solve your problem
/people/thomas.jung3/blog/2005/04/28/setting-up-an-adobe-writer-for-abap-output
Regards
Kiran Sure
Similar Messages
-
PDF file created from Oracle Report is attached wrongly
Hi,
Please help. It is very urgent.
I am using Oracle Developer 10gR2, Oracle Report 10.1.2 on Windows 2000.
I would like to attach the PDF file created by Oracle Report to the Notification sent from Workflow.
I use the following package procedure in my Workflow.
procedure Create_File_Attachment (document_id in varchar2, display_type in varchar2, document in out blob, document_type in out varchar2)
is
l_itemtype varchar2(100);
l_itemkey varchar2(100);
l_output_directory varchar2(30);
l_filename varchar2(255);
src_loc bfile;
bdoc blob;
src_offset number := 1;
dst_offset number := 1;
amount number;
begin
l_itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
l_itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
l_output_directory := 'USR_TMP_DIR';
l_filename := Wf_Engine.GetItemAttrText(l_itemtype, l_itemkey, 'ATR_FILENAME');
src_loc := bfilename(l_output_directory,l_filename);
dbms_lob.createTemporary(bdoc, FALSE, dbms_lob.call);
dbms_lob.fileopen(src_loc, dbms_lob.file_readonly);
dbms_lob.loadblobfromfile(bdoc,src_loc,dbms_lob.lobmaxsize,src_offset,dst_offset);
dbms_lob.fileclose(src_loc);
amount := dbms_lob.getLength(bdoc);
dbms_lob.copy(document,bdoc,amount,1,1);
document_type := 'application/pdf; name=attach.pdf';
end Create_File_Attachment;Oracle Report created the PDF file correctly (original.pdf).
I tried to attach the PDF into my Workflow.
I can see the file is attached (attach.pdf), but it cannot be opened.
The Adobe shows : 'A drawing error occured.' each time I open the attachment.
I compare the original.pdf and the attach.pdf
However, there is one specific difference
- in original.pdf, the line started with '.' (single period)
in attach.pdf, the line is started with '..' (two periods)
Thus the attachment cannot be opened.
After I delete the period, it can be opened.
Question:
- Has someone ever succeed in attaching the PDF created from Report?
- Are the codes above is wrong?
- Or perhaps the DBMS_LOB.LOADBLOBFROMFILE always double the single period on front of the line?
- Is there any solution on this?
Note:
I have succeed in attaching PDF files unless the PDF created by the Report.
Sorry for the long post.
Please help. It is very urgent.
Any help is appreciated.
Many thanks,
BuntoroThe code looks absolutely good. I have the same code working in my system. Only difference is I use TRUE and DBMS_LOB.Session for the BLOB I use to read from the BFILE.
I can suggest one more way to handle to binary attachments if you are on Oracle 9i DB are later versions.
procedure attach_document (p_document_id in varchar2,
p_display_type in varchar2,
p_document in out nocopy clob,
p_document_type in out nocopy varchar2)
is
l_nid number;
l_directory varchar2(100);
l_filename varchar2(100);
l_content_type varchar2(100);
l_src_offset binary_integer := 1;
l_dst_offset binary_integer := 1;
l_err_msg varchar2(100);
l_amount number;
l_bfile BFILE;
l_blob BLOB;
l_clob CLOB;
file_not_found exception;
pragma EXCEPTION_INIT(file_not_found, -22288);
begin
l_nid := to_number(p_document_id);
l_directory := trim(wf_notification.GetAttrText(l_nid, 'ATTR_DIRECTORY'));
l_filename := trim(wf_notification.GetAttrText(l_nid, 'ATTR_FILENAME'));
l_content_type := trim(wf_notification.GetAttrText(l_nid, 'ATTR_CONTENT_TYPE'));
l_bfile := BFILENAME(l_directory, l_filename);
dbms_lob.createtemporary(l_blob, true, dbms_lob.Session);
dbms_lob.createtemporary(l_clob, true, dbms_lob.Session);
begin
dbms_lob.FileOpen(l_bfile, dbms_lob.File_Readonly);
exception
when file_not_found then
l_err_msg := to_char(sqlcode)||' - Attachment File "'||l_filename||'" is not found.';
raise_application_error(-20002, l_err_msg);
end;
dbms_lob.LoadBLOBFromFile(l_blob, l_bfile, dbms_lob.LobMaxSize, l_src_offset, l_dst_offset);
dbms_lob.FileClose(l_bfile);
-- Encode the BLOB content to BASE64 and attach to notification
wf_mail_util.EncodeBLOB(l_blob, l_clob);
l_amount := dbms_lob.GetLength(l_clob);
dbms_lob.Copy(p_document, l_clob, l_amount, 1, 1);
-- Mention an appropriate Content Type so that Notification System
-- understands the attachment content
p_document_type := l_content_type||'; encoding=base64; name='||l_filename;
end attach_document;Here I read the BLOB from the filesystem and base64 encode it before giving it to the Mailer. Please note that this is a PLSQLCLOB based attachment as against PLSQLBLOB that you are using.
Thanks - Vijay -
PDF file created from Oracle Report is created wrongly using dbms_lob
Hi,
Please help. It is very urgent.
I am using Oracle Developer 10gR2, Oracle Report 10.1.2 on Windows 2000.
I would like to attach the PDF file created by Oracle Report to the Notification sent from Workflow.
I use the following package procedure in my Workflow.
procedure Create_File_Attachment (document_id in varchar2, display_type in varchar2,
document in out blob, document_type in out varchar2)
is
l_itemtype varchar2(100);
l_itemkey varchar2(100);
l_output_directory varchar2(30);
l_filename varchar2(255);
src_loc bfile;
bdoc blob;
src_offset number := 1;
dst_offset number := 1;
amount number;
begin
l_itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
l_itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
l_output_directory := 'USR_TMP_DIR';
l_filename := Wf_Engine.GetItemAttrText(l_itemtype, l_itemkey, 'ATR_FILENAME');
src_loc := bfilename(l_output_directory,l_filename);
dbms_lob.createTemporary(bdoc, FALSE, dbms_lob.call);
dbms_lob.fileopen(src_loc, dbms_lob.file_readonly);
dbms_lob.loadblobfromfile(bdoc,src_loc,dbms_lob.lobmaxsize,src_offset,dst_offset);
dbms_lob.fileclose(src_loc);
amount := dbms_lob.getLength(bdoc);
dbms_lob.copy(document,bdoc,amount,1,1);
document_type := 'application/pdf; name=attach.pdf';
end Create_File_Attachment;Oracle Report created the PDF file correctly (original.pdf).
I tried to attach the PDF into my Workflow.
I can see the file is attached (attach.pdf), but it cannot be opened.
The Adobe shows : 'A drawing error occured.' each time I open the attachment.
I compare the original.pdf and the attach.pdf
However, there is one specific difference
- in original.pdf, the line started with '.' (single period)
in attach.pdf, the line is started with '..' (two periods)
Thus the attachment cannot be opened.
After I delete the period, it can be opened.
Question:
- Has someone ever succeed in attaching the PDF created from Report?
- Are the codes above is wrong?
- Or perhaps the DBMS_LOB.LOADBLOBFROMFILE always double the single period on front of the line?
- Is there any solution on this?
Note:
I have succeed in attaching PDF files unless the PDF created by the Report.
Sorry for the long post.
Please help. It is very urgent.
Any help is appreciated.
Many thanks,
BuntoroHi,
Please help. It is very urgent.
I am using Oracle Developer 10gR2, Oracle Report 10.1.2 on Windows 2000.
I would like to attach the PDF file created by Oracle Report to the Notification sent from Workflow.
I use the following package procedure in my Workflow.
procedure Create_File_Attachment (document_id in varchar2, display_type in varchar2,
document in out blob, document_type in out varchar2)
is
l_itemtype varchar2(100);
l_itemkey varchar2(100);
l_output_directory varchar2(30);
l_filename varchar2(255);
src_loc bfile;
bdoc blob;
src_offset number := 1;
dst_offset number := 1;
amount number;
begin
l_itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
l_itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
l_output_directory := 'USR_TMP_DIR';
l_filename := Wf_Engine.GetItemAttrText(l_itemtype, l_itemkey, 'ATR_FILENAME');
src_loc := bfilename(l_output_directory,l_filename);
dbms_lob.createTemporary(bdoc, FALSE, dbms_lob.call);
dbms_lob.fileopen(src_loc, dbms_lob.file_readonly);
dbms_lob.loadblobfromfile(bdoc,src_loc,dbms_lob.lobmaxsize,src_offset,dst_offset);
dbms_lob.fileclose(src_loc);
amount := dbms_lob.getLength(bdoc);
dbms_lob.copy(document,bdoc,amount,1,1);
document_type := 'application/pdf; name=attach.pdf';
end Create_File_Attachment;Oracle Report created the PDF file correctly (original.pdf).
I tried to attach the PDF into my Workflow.
I can see the file is attached (attach.pdf), but it cannot be opened.
The Adobe shows : 'A drawing error occured.' each time I open the attachment.
I compare the original.pdf and the attach.pdf
However, there is one specific difference
- in original.pdf, the line started with '.' (single period)
in attach.pdf, the line is started with '..' (two periods)
Thus the attachment cannot be opened.
After I delete the period, it can be opened.
Question:
- Has someone ever succeed in attaching the PDF created from Report?
- Are the codes above is wrong?
- Or perhaps the DBMS_LOB.LOADBLOBFROMFILE always double the single period on front of the line?
- Is there any solution on this?
Note:
I have succeed in attaching PDF files unless the PDF created by the Report.
Sorry for the long post.
Please help. It is very urgent.
Any help is appreciated.
Many thanks,
Buntoro -
Can't Print PDF files exported from Pages
I spent all weekend creating a 25 page document - exported it to PDF and it won't print at all. Sent it to 50 customers before I discovered the problem
I used the same fonts and template last year in a document in Version 1 of Pages and had no problems.
I can print directly from Pages and also no problems printing if I export to Word but not PDF which is of course the format I require!
I checked the security setting in Acrobat and none are set so it sould be fine!
Help!?!Can you open and print the the file in Preview? I found Acrobat Reader a little flakey with X and deleted it from my system. I use Preview for everything.
Instead of the export feature have you tried printing to pdf? See if it makes any difference.
Kurt -
It used to be (in Chrome) that I could view a .pdf attachment in gmail and from there print. Now in Firefox, when I view a .pdf attachment the print option is there and the print dialogue box comes up when I click it, but once I hit "OK" nothing comes out of the printer. I can print emails and other items, so it's not a printer connectivity problem or a problem with the print setup in Firefox. The only items affected are .pdf attachments in my gmail account. I've tried switching .pdf readers and turning off Protected Mode in Adobe. Please help!
What PDF reader r u use and what version is it?
-
Problem with printing pdf file created from Illustrator
Hello,
In a drawing I created with Illustrator 10.0.3 I covered part of a circle with a white rectangle (to make it disappear). I saved it as pdf. When printing the pdf (under Linux with a HP printer), the covered part reappeared. However the pdf-file is how it should be. Anybody knows what the problem is?No, it is not set to overprint. Also, I have to add that the printing results were not consistent. Sometimes it covered and sometimes it did not.
-
Mavericks CPU can't open pdf files created on Yosemite
I've looked around for this issue, but I haven't seen any questions similar to mine.
My wife and I have identical MacBook Pros. Hers is running Mavericks, while I've updated mine to Yosemite.
By chance, we realized that if I email her files created on my laptop, she can't open them. I've sent her Pages files, and the same files converted to PDF. So, either on Preview or Pages, she cannot open those files I've sent her.
I know that the easy answer is "update your wife's laptop to Yosemite," but I'm rather curious whether there's a bug in the system that hasn't been discovered. Besides, my wife is quite happy with Mavericks, and that's fine by me.
Any help or suggestion in this regard will be greatly appreciated.
Regards,
BKI just tested opening a Pages v5.5.1 file on Yosemite and Exporting it to a PDF file. Then I copied the PDF and Pages files over to another Mac running Mavericks and I was able to open and view the PDF file. I can't open the actual Pages file in Mavericks created in Yosemite because the Pages app is a different version in Mavericks (v5.2.2) and not compatible with the Yosemite version. But, PDFs definitely work fine and I can also open/view the same PDF file on a Mac running Mountain Lion. So, Preview in Mavericks and Mountain Lion, for me, open and view PDF files created from Yosemite/Pages without issue.
Have you tried opening your PDF file on another Mac running Mavericks?
You might try reinstalling Mavericks on top of itself. Maybe Preview in Mavericks is somehow corrupt. On the Mavericks Mac, you can redownload/reinstall Mavericks from the App Store using the same Apple ID that originally downloaded it. Or restart the Mavericks Mac into the Recovery HD (Command+R) and Reinstall OS X from there. Back up before you do the reinstall. The reinstall won't harm any data or apps. It just installs the OS over itself. -
I have a MacBook Pro and can't print pdf files or word documents using my HP Wireless Photosmart Printer. It will print files from the internet. Any suggestions or ideas will be greatly appreciated. Thank you.
Hello, SoonerAnesthetist.
Thank you for visiting Apple Support Communities.
Here is an article that I would recommend going through when experiencing this issue.
OS X Mavericks: Solve printing problems
http://support.apple.com/kb/PH14142
Cheers,
Jason H. -
Can't print pdf files from my imac
can't print pdf files from my imac.
macs don't come with acrobat reader by default
when one get a mac and open a pdf file the build in program called preview opens it
most of us stick with preview because acrobat reader is a rather dangerous program to install
http://www.cvedetails.com/vulnerability-list/vendor_id-53/product_id-497/cvsssco remin-6/cvssscoremax-6.99/Adobe-Acrobat-Reader.html
more
https://www.google.com/search?sourceid=opera-portal&q=acrobat+reader+exploits&cl ient=opera-portal&channel=portal#hl=en&client=opera-portal&hs=lqn&channel=portal &sclient=psy-ab&q=list+of+acrobat+reader+exploits&oq=list+of+acrobat+reader+expl oits&gs_l=serp.3...8463.9471.0.9773.8.7.0.0.0.1.162.508.6j1.7.0.les%3B..0.0...1c .1.5.psy-ab.4Tc73RiiXXA&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&bvm=bv.43148975,d .bGE&fp=cab576d3b9062d9c&biw=1825&bih=748
after adobe flash and oracle Java the adobe acrobat reader is the most open door for hackers into ones system
if you type preview in spotlight(the icon which looks like a spyglass) or in the launch's seach you can get to the preview app -
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. -
Can not print PDF from any application (acrobat 5.0)
"Distiller failed to start up due to an internal error."
It has been years since I have used my old Mac OS 9.2You can use the OS 9 app PrintToPDF http://www.jwwalker.com/pages/pdf.html to create PDF files from other apps files.
Cheers, Tom -
How to print PDF file content from ABAP in background?
Hi,
Is it possible to print PDF file content from ABAP in background?
I have some PDF content which I need to print it, these PDF files are generated outside the SAP.
Please have you any suggestions?
Thank you
Tomas<b><u>Solution:</u></b><br>
<br>
The target output device must support PDF print, this is only one limitation.<br>
<br>
REPORT z_print_pdf.
TYPE-POOLS: abap, srmgs.
PARAMETERS: p_prnds LIKE tsp01-rqdest OBLIGATORY DEFAULT 'LOCL',
p_fname TYPE file_table-filename OBLIGATORY LOWER CASE,
p_ncopi TYPE rspocopies OBLIGATORY DEFAULT '1',
p_immed AS CHECKBOX.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
DATA: lv_rc TYPE i,
lv_filter TYPE string.
DATA: lt_files TYPE filetable.
FIELD-SYMBOLS: <fs_file> LIKE LINE OF lt_files.
CONCATENATE 'PDF (*.pdf)|*.pdf|' cl_gui_frontend_services=>filetype_all INTO lv_filter.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
file_filter = lv_filter
CHANGING
file_table = lt_files
rc = lv_rc
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0 AND lv_rc EQ 0.
MESSAGE 'Error' TYPE 'E' DISPLAY LIKE 'S'.
ENDIF.
READ TABLE lt_files ASSIGNING <fs_file> INDEX 1.
IF sy-subrc EQ 0.
p_fname = <fs_file>-filename.
ENDIF.
AT SELECTION-SCREEN.
DATA: lv_name TYPE string,
lv_result TYPE boolean.
lv_name = p_fname.
CALL METHOD cl_gui_frontend_services=>file_exist
EXPORTING
file = lv_name
RECEIVING
result = lv_result
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
MESSAGE 'Bad file!' TYPE 'E' DISPLAY LIKE 'S'.
ENDIF.
IF lv_result NE abap_true.
MESSAGE 'Bad file!' TYPE 'E' DISPLAY LIKE 'S'.
ENDIF.
START-OF-SELECTION.
END-OF-SELECTION.
PERFORM process.
FORM process.
DATA: lv_name TYPE string,
lv_size TYPE i,
lv_data TYPE xstring,
lv_retcode TYPE i.
DATA: lt_file TYPE srmgs_bin_content.
lv_name = p_fname.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = lv_name
filetype = 'BIN'
IMPORTING
filelength = lv_size
CHANGING
data_tab = lt_file
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
MESSAGE 'Read file error!' TYPE 'E' DISPLAY LIKE 'S'.
ENDIF.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = lv_size
IMPORTING
buffer = lv_data
TABLES
binary_tab = lt_file
EXCEPTIONS
failed = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE 'Binary conversion error!' TYPE 'E' DISPLAY LIKE 'S'.
ENDIF.
PERFORM print USING p_prnds lv_data CHANGING lv_retcode.
IF lv_retcode EQ 0.
WRITE: / 'Print OK' COLOR COL_POSITIVE.
ELSE.
WRITE: / 'Print ERROR' COLOR COL_NEGATIVE.
ENDIF.
ENDFORM. " PROCESS
FORM print USING iv_prndst TYPE rspopname
iv_content TYPE xstring
CHANGING ev_retcode TYPE i.
DATA: lv_handle TYPE sy-tabix,
lv_spoolid TYPE rspoid,
lv_partname TYPE adspart,
lv_globaldir TYPE text1024,
lv_dstfile TYPE text1024,
lv_filesize TYPE i,
lv_pages TYPE i.
CLEAR: ev_retcode.
CALL FUNCTION 'ADS_SR_OPEN'
EXPORTING
dest = iv_prndst
doctype = 'ADSP'
copies = p_ncopi
immediate_print = p_immed
auto_delete = 'X'
IMPORTING
handle = lv_handle
spoolid = lv_spoolid
partname = lv_partname
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
ev_retcode = 4.
RETURN.
ENDIF.
CALL FUNCTION 'ADS_GET_PATH'
IMPORTING
ads_path = lv_globaldir.
CONCATENATE lv_globaldir '/' lv_partname '.pdf' INTO lv_dstfile.
OPEN DATASET lv_dstfile FOR OUTPUT IN BINARY MODE.
IF sy-subrc NE 0.
ev_retcode = 4.
RETURN.
ENDIF.
TRANSFER iv_content TO lv_dstfile.
IF sy-subrc NE 0.
ev_retcode = 4.
RETURN.
ENDIF.
CLOSE DATASET lv_dstfile.
IF sy-subrc NE 0.
ev_retcode = 4.
RETURN.
ENDIF.
CALL FUNCTION 'ZBAP_RM_PDF_GET_PAGES'
EXPORTING
iv_content = iv_content
IMPORTING
ev_pages = lv_pages.
lv_filesize = XSTRLEN( iv_content ).
CALL FUNCTION 'ADS_SR_CONFIRM'
EXPORTING
handle = lv_handle
partname = lv_partname
size = lv_filesize
pages = lv_pages
no_pdf = ' '
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
ev_retcode = 4.
RETURN.
ENDIF.
CALL FUNCTION 'ADS_SR_CLOSE'
EXPORTING
handle = lv_handle
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
ev_retcode = 4.
RETURN.
ENDIF.
ENDFORM. " PRINT -
How can I print out my contacts from my ipad
HHow can I print out my contacts from my iPad or iPhone?
Hi Ken, there is an app, Contact Sheet (http://itunes.com/apps/appiota/contactsheet) that will not only print your contacts, it can also print the pictures! This app can be used to back up, share, or extract information from your contacts. You can select which contacts to use by creating a group and you can choose which fields to include. So, for example, if you were creating a phone list to distribute to your bowling group, you could just include names and phone numbers and not include address or other information that people may not want shared. It can even be used to send group emails and group text messages. Please check it out!
-
I can't print PDF docs since Reader XI update
Help!!!!!!! I can't print PDF documents since updating to Reader XI. Had no problems before this update. I have read other users posting and tried one "fix" that was suggested suggesting user try to print docs as "image," but that choice was not active to select. I can't print even older PDFs that are on file in my computer. Please advise - this is interfering with my business. Thanks. I get an error message indicating "no pages selected to print" even though it defaulted to Print All. I selected by one page, pages 1-5, etc. with no success. Windows 7 system.
Pat, that did not fix the problem. I still get the messages that the document cannot be printed and that no pages are selected; the print dialogue box shows that “all” pages are selected. I get the message even if I manually select “pages 1-7” etc. I tried deleting Adobe and reinstalling it but I get a 1311 message that seteup.exe cannot be located. I tried downloading just the Adobe Reader printer drivers from your site and get a message saying that the download was not successful. Please help.
Mark P. Brewster
The Brewster Law Firm
The Benchmark Building
13526 George Road, Suite 210
San Antonio, Texas 78230
Phone: (210) 437-1232
Fax: (210) 437-1233
The contents of this message are privileged and confidential attorney client communications and work product.If you have received this message in error, please contact me to let me know, and please delete the original message. -
Can't print pdf files after upgrading to Adobe Reader XI
Hi,
I can't print pdf files after recently upgrading to Adobe Reader XI.
Two error messages appear:
1.- Error when starting the application because it couldn't find LXBBGF.DLL. Re-installing the application can solve the problem.
2.- Can not load "LXBBPRP.DLL". Using defaults. Error: 126
I can print other files (word, etc) with the same printer.
Thank you for your adviceHi Pat,
Finally I followed the instructions from another similar discussion on this web site. Unfortunately I can't find it anymore...
I first uninstalled the Adobe Reader XI and then intalled an older version (Adobe Reader X). Now I can print pdf files!!
Thank you anyway for your advice!
Maybe you are looking for
-
I need to send a data disc of photos (no music) to Europe. Can Finder or iPhoto burn a data disc that can be read there?
-
Windows 7 RC 64bit - Working like a champ
Been testing Windows 7 beta since it came out and spend the last few days testing the RC of the 64 bit version. I compared it to a Vista 64 install on the same machine Asus P5q q9550@ 3.7 and 8 gigs ram. It's about 5-10 percent faster based on my te
-
How many airport express can be supported by software remote at one time.
how many airport express can be supported by software remote at one time? I mean remote software can control at one time
-
Pixma MP500 no longer prints duplex
My venerable Canon Pixma 500 has stopped printing duplex since Snow Leopard, the print driver tells me it is 10.30.3.0 which way more advanced than the drivers on the Canon site which were posted in 2009, and I cannot figure out how to tell either wh
-
Does microsoft office 2011 work with lion
does microsoft office 2011 work with lion