How to print the picture in PDF ?
I developed a plug-in(Annot) that dynamically display a picture according some condition in PDF,but the picture cannot be printed. How to print the picture ?
In the print dialog, make sure that Print: Comments (which means
annotations) is on.
Aandi Inston
Similar Messages
-
How to print the picture ?
I developed a plug-in(Annot) that dynamically display a picture according some condition,but the picture cannot be printed. How to print the picture ?
In the print dialog, make sure that Print: Comments (which means
annotations) is on.
Aandi Inston -
pls let me know .........
Hi,
Please go through this link , hope you will get useful stuff from this.
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450
*& Form f9100_save_to_pdf
text
-->P_WS_FORMNAME text
FORM f9100_save_to_pdf using value(ws_formname).
data: i_lines TYPE tline OCCURS 0 WITH HEADER LINE.
data: ws_bin_size type i,
ws_filename type string.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = ws_bin_size
TABLES
otf = i_otf
lines = i_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
IF sy-subrc <> 0.
flg_exit = 'X'.
MESSAGE i050 WITH 'Error converting to PDF format'.
EXIT.
ENDIF.
Get the download path
PERFORM get_download_path CHANGING ws_filename.
if flg_exit = 'X'.
EXIT.
endif.
Download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = ws_bin_size
filename = ws_filename
filetype = 'BIN'
TABLES
data_tab = i_lines
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE i050 WITH 'Error while File download'.
flg_exit = 'X'.
EXIT.
ELSE.
MESSAGE i050 WITH 'File downloaded successfully '.
flg_exit = 'X'.
EXIT.
ENDIF.
regards,
Omkar. -
Print the Pictures documents attached in Notification or in sap
I have created a form and attached in QM02 transaction to print rejection report
we have requirment...we need to print the pictures which attached to notification with the rejection report form
please guide me if some know how to print the pictures with form which attached to notification
Thanks in advanceI have created a form and attached in QM02 transaction to print rejection report
we have requirment...we need to print the pictures which attached to notification with the rejection report form
please guide me if some know how to print the pictures with form which attached to notification
Thanks in advance -
CS6 does not support the picture package plug in. How to print like picture package in CS6?
If I recall, the picture package is in Bridge. Which was removed in CC and newer.
In bridge change the workspace to see the output options. -
How to print bookmark into a PDF File?
Hi community
I have a PDF-File with a few pages and need to have on each page the bookmark printed as a text.
I tried with Javascript, and can print the filename but not yet the bookmarks.
I have following script:
app.addMenuItem({cName:"Print Filename", cParent:"File", nPos:20, cExec:"PrtFN();"});
//Print Filename to Pages
function PrtFN()
for (var p = 0; p < this.numPages; p++)
var fd = this.addField("Print Bookmark", "text", p, [563,519,790,545]);
fd.fillColor=color.white;
fd.textSize=14;
fd.textColor=color.red;
fd.value = (this.documentFileName);
Do someone of you know how to print the bookmarks, something like "fd.value = (this.documentBookmark);" ?
Thanks for helpful answers!It is possible to get a bookmark name from the bookmark object but as noted a reverse lookup for a bookmark to a given page is not fool proof.
You could write a script that walks the bookmark tree and then use execute to go to the page that book mark points too and then fill-in the bookmark name. This assumes all bookmarks perform the go to page/view action and do not run a script or open another PDF. You may also need to account for more than one bookmark pointing to a page. -
How to print the list shown in the finder
I work as a photographer. For my clients I burn the pictures on DVD / CD.
Some of my clients want a indexprint from the folder on the disk.
How can print the list wich is shown in the finder? A screenshot doesn't work because there are often more items in the folder than the screen shows.
A friend told me this isn't possible in OS X. In OS9 this function was available, but removed in OS X.... ?
Regards
Walter
G5 Dual Mac OS X (10.4.8) also Intel ImacHi Walter,
To make a list, choose all (COMMAND + a) in the window than "copy" and "paste" to TextEdit or MS Word, or directly into email.
Also, If you drag a folder or entire volume onto the Print Setup Utility it will print it's contents.
-mj
[email protected] -
I have an Album in iPhoto, that the pictures are sorted manually. When I try to print the pictures in the album, using "contact sheet" it comes out sorted by date. I want it in the order of the Album. How do I do that?
Hello Richard,
in the "Print" dialogue select "Contact Sheet", then press the "Customize" button.
In the Customize view you can rearrange your images by dragging them around.
Just a work-around, but I hope this helps.
Regards
Léonie -
How to print the superscript in smartform
Hi gurus,
Please tell me the procedure how to print the superscript in middle of the text displaying?
when we are displaying the smartform its converted to some special character like & .
please let me know procedure at the earliest
Regards
RajHi thanks for ur patience.
see my requirment was to print TM as superscript for HLL ,already smartstyle is there, and also a character format with superscript is also defined.
then aftet HLL how it prints as superscript.
for HLL we are using another character format and for superscript we are using the another character format.
If posiible send me the code to write in smartforms
Regards
RAj
Points are awarded for useful answers. -
How to print the script in condensed mode
Hi to all,
Pls help me.
How to print the script in condensed mode and particular window only print in the condensed mode.Hi,
Hi
It will remove the blank spaces in front of the variable
and if you use the extension NO-GAPS
It will remove all the blank spaces in the variable field.
DATA: ws_val1 type char12.
ws_val1 = ' 100 123'.
Condense ws_val1.
Write / ws_val1.
Condense ws_val1 no-gaps.
write / ws_val1.
It will give output as
100 123
100123
The CONDENSE statement deletes redundant spaces from a string:
CONDENSE c NO-GAPS.
This statement removes any leading blanks in the field c and replaces other sequences of blanks by exactly one blank. The result is a left-justified sequence of words, each separated by one blank. If the addition NO-GAPS is specified, all blanks are removed.
Please check this link for sample code.
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb33e6358411d1829f0000e829fbfe/content.htm
Regards,
Raj. -
How to print the text in points wise in sap script
hi friends,
how to print the text in points wise in sap script.
ex: if suppose paragraph consists of 15 lines. then according to one sentence or one fullstop (.) it should give point 1. like that...
1. hai how ru.
2. what r u doing.
3.where r u.
like this i want numbering.. waiting for ur replys.
thanks,
kirandeclare a counter
data : cnt type char 4.
print :
cnt = cnt + 1.
&cnt& &text&
cnt = cnt + 1. and so on.
or.
if the data is in an internal table
loop at internal_table.
cnt = cnt + 1.
write form.
in script -&cnt& &text&
endloop.
Edited by: NIKHILKUMAR POOJARI on Nov 17, 2008 11:18 AM -
How to print the text in only last but one page in sapscripts
hiiiiiiiiiii,
explian how to print the text in only last but one page in sapscripts? wher to write the code? plz if possible explain in detail with an example?Hello,
The total no pages is given by &SAPSCRIPT-FORMPAGES& command.
So u can handle the situation in ur form like this
/: if &PAGE& = &SAPSCRIPT-FORMPAGES&
p1 TEXT
/: endif
Try in this way it may help u.
Regards -
How to print the message in 2 lines?
How to print the message in 2 lines?
Here i am having it like this... MESSAGE i000(zm) WITH lv_uname.
here I want to print lv_uname in 2 lines because it lengthy one.
Thanks,
Sridhar.No man, itas not comming..I am using the below logic to print my message:
CONCATENATE text-I01 lv_printdate1 text-I02 INTO lv_printname
SEPARATED BY space.
MESSAGE i002(zm) WITH lv_printname.
its printing in a single line... -
Delivery document how to print the BOM Parent and Child items
Hi,
I have a production BOM. In Delivery document how to print the Parent and Child items Item Code and Qty.At the time
of add a delivery document Inventory stock redused only in Parent Item not child item because child item stock already reduced in issue for production.If you need to print both the BOM Parent and Child items, you have to create your own report. BOM is only for production if it is not Sales type.
Thanks,
Gordon -
How to print the file name in sap
Hi All,
I have requirment like,
there is a folder in my local system, inside that folder there are 10 Excel file like file1.xls,file2.xls..............file10.xls
how to print the file name of all these file in SAp like
file1.xls
file2.xls
file3.xls
file4.xls
file10.xls
Appropriate points will be rewarded.
Thanks in Advance
Arun kumarHi,
Still you are facing any problem with this code expalin the problem with details , otherwise close this thread.
Use Method <b>cl_gui_frontend_services=>directory_list_files</b> to read file names for a given directory
after reading the files then Use FM : <b>RSPO_SX_OUTPUT_TEXTDATA</b> to create spool from internal table data and print the data.
<b>sample code :</b>
data: desktop_dir type string.
data: ifiles type table of string.
data: xfiles type string.
data: count type i.
data: filepath type string.
call method cl_gui_frontend_services=>get_desktop_directory
changing
desktop_directory = desktop_dir .
call method cl_gui_cfw=>flush.
call method cl_gui_frontend_services=>directory_list_files
exporting
directory = desktop_dir
* filter = '*.xls'
files_only = 'X'
* DIRECTORIES_ONLY =
changing
file_table = ifiles
count = count.
DATA : x_name LIKE tsp03d-name,
x_dest LIKE tsp03d-padest VALUE 'LOCL',
x_rows LIKE sxpcklsti1-body_num VALUE 0,
x_startrow LIKE sxpcklsti1-body_start VALUE 1,
x_pages LIKE rspotype-pages VALUE 1,
x_pages_1 TYPE p DECIMALS 2,
x_rqtitle LIKE sxpcklsti1-obj_descr,
x_rqcopies TYPE i VALUE 1,
x_rqowner LIKE trdyse01cm-username,
x_immediate LIKE pri_params-primm VALUE ' ',
x_rqid LIKE tsp01-rqident,
i_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
x_pages = 1.
x_rqowner = sy-uname.
x_dest = 'LOCL'.
x_startrow = 1.
x_rqcopies = 1.
x_immediate = 'X' .
CALL FUNCTION 'RSPO_SX_OUTPUT_TEXTDATA'
EXPORTING
* name = x_name
dest = x_dest
rows = x_rows
startrow = x_startrow
pages = x_pages
rqtitle = x_rqtitle
rqcopies = x_rqcopies
rqowner = x_rqowner
immediately = x_immediate
IMPORTING
rqid = x_rqid
TABLES
text_data = i_contents
EXCEPTIONS
name_missing = 1
name_twice = 2
not_found = 3
illegal_layout = 4
internal_error = 5
size_mismatch = 6
OTHERS = 7.
IF sy-subrc <> 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Appana
*Reward Points for helpful answers
Message was edited by: L Appana
Maybe you are looking for
-
I'm new to this, so bear with me.. I need help locating documentation on how to configure a Server Standard 2012, standalone server, to act as a terminal server. In server 2008, you could have the server as a domain controller, and also host remote d
-
Trying to install Adobe premiere Elements 10 on windows 7
I purchased the Adobe Pemiere Elements 10 and tryed to install it in windows 7. Got the 2nd disk to process it and after "restart the computer" I received a web message "webpage has expired". I tryed again and it said " Oops, resources are down. Now
-
I am wondering how I change the little circle picture that would show up on the device that I airdrop to. It's the one that's has your name under it when someone want to airdrop something to you. I guess it's like my profile picture.
-
I have an airport express (802.11n) which download do I need to get it work on Windows 8.1?
-
SWF poor quality and poor lip sync?
I normally use After Effects and today is my first time experimenting with Flash. I create virtual presenters that are filmed against a green chromakey screen. I use Keylight in AE to key the green and replace it with different backgrounds. These are