PS to PDF Conversion : Encrypted contents
My workflow dictates that I convert the input PDF job initially to PS and finally back to PDF. If the input PDF file is secure (it's not encrypted - you will still be able to open the document), the redistillation of PS to PDF fails while using Normalizer 6.0 && 9.0 libraries. If I use Normalizer 505 library, the redistillation succeeds. I have checked with the same generated PS on both Distiller 6.0 && 9.0, and both the versions fail to reconvert as well. I am a little surprised that 6.0 and 9.0 will fail to do something that 505 library manages.
It's a little urgent. Any suggestions?
1) Also, is it possible to have both versions (505 and 9.0) running on the same machine? If not, what are the reasons?
2) I see that on 9.0, GetFontMutex and ReleaseFontMutex callbacks have been added. It's not supported on 6.0. What will be the implications?
That is a fourth and entirely new meaning to "flatten" for us. A plug-in could in theory be written to do this but in the general case working out what elemens are completely hidden by overlap would be very hard. Also, if there is transparency, the hidden elements may participate in colour blending. Very detailed knowledge of 32000-1 and hidden object removal techniques would be needed. Not a task I would undertake!
I think you may be going off on the wrong track. You have a colour problem, and you decide you want to remove hidden elements (which will only affect colour if there is transparency). I would go back to the ORIGINAL problem. Maybe it's your colour settings in printing.
But I should note that converting PDF -> PS -> PDF is officially discouraged as it is considered a poor workflow.
Similar Messages
-
Automated report/ PDF conversion with AppleScript
Hello-
I am attempting to PDF a spreadsheet from Dropbox, and email it to a set list of recipients with AppleScript. Much of this I have been able to figure out, but I am having some issues with the PDF conversion. As you can see below, I am still working on sending the xls file, and have not yet been able to get AppleScript to convert a specific tab of the file to aPDF. I expect scheduling to be handled theough crontab.
Current script is as follows:
tell application "Finder"
set folderPath to folder "Macintosh HD:Users:user:Dropbox:folder:Calculated PO Sheet"
set theFile to first file in folderPath as alias
set fileName to name of theFile
end tell
set theSubject to "Current PO Report" date
set theBody to "See attached."
set theAddress to "recipient email"
set theAttachment to "CALCULATED PO SHEET.xlsx"
set theSender to "sender email"
tell application "Mail"
set theNewMessage to make new outgoing message with properties{subject:theSubject, content:theBody & return & return, visible:true}
tell theNewMessage
set visibile to true
set sender to theSender
make new to recipient at end of to recipients with properties {address:theAddress}
try
make new attachment with properties {file name:theAttachment} at after the last word ofthe last paragraph
set message_attachment to 0
on error errmess -- oops
log errmess -- log the error
set message_attachment to 1
end try
log "message_attachment = " & message_attachment
#send
end tell
end tellHi,
there is a special setup for this requirement. Please see the following support note
Reference
Oracle Reports Output For Indian Languages Like Gujarati, Marathi [ID 980554.1]
Roberto -
HTML to PDF conversion - problems with page-breaks and bookmarks
Hello,
My company is currently considering updating your software (from Acrobat 9 Pro to Acrobat XI Pro) and I’ve been assigned to research its features and make sure that it is a right fit for our goals. Basically we want to automate the whole process as much as possible and we want to create PDF directly from HTML. We’re providing a lot of content in HTML and we need a fast way to transfer it into PDF format. There are however some guidelines:
We want page-breaks in is this kind of documents, and thus - your app needs to be able to interpret HTML and put them where we want to;
We need to have bookmarks in there. Converter must be able to make them based on headlines from HTML source or afterwards, directly in PDF by using some auto-bookmarks feature;
There has to be table of content generated, based on HTML Link Tags if possible. Here’s sample of TOC structure that we have currently:
<A NAME="redirect">sample_text</A>
<A HREF="#redirect">sample_text</A>
Of course we can modify HTML in any way you want us to. The important thing for us is to make it work in PDF without the need to make a lot of manual changes after conversion.
I’ve been messing with Acrobat 9 Pro and reading some documentation that you have provided and I’m convinced that point 3 is not a problem. I’m aware that Acrobat 9 Pro is not having any difficulties with links in document and they work fine in PDF format that has been created from HTML.
Page-breaks on the other hand are bothering me. Your app is apparently ignoring every HTML code that the Internet is advising me to use to force page-break where I want. Honestly - I’ve tested like ten ways to make them and not even one was working. That’s why I’m asking for your help.
Another problematic subject for me is the bookmarks creation. I know that they are not a problem if I’m doing DOC to PDF conversion. Then I’m able to decide what header should be used as a curtain level of bookmarks and everything is working great at the end. However - with direct HTML to PDF conversion - I really don’t know how to generate bookmarks that are based on the source of the input document. Is there any way to make fully working 2 level bookmark tree in this case? Here’s an example of the structure we want at the end:
header1
header2
header2
header1
header1
header2
Could you please help me in finding the solutions? Just like I’ve mentioned - we can modify input HTML in any way, but in the end we would like to achieve our goals as quickly as possible.
Please excuse my English.
I am looking forward to your response,
LucasFrankly - we would like to avoid using Word. We are using it currently but there are long-term plans of improving whole conversion process, eliminate any mid-steps and automate as much as possible even though conversion is not going to be done unattended on a server. Thank you for your response, but I hope that maybe someone else would have any idea?
-
Hi people!
I am trying to enable the pdf conversion on my Content Server (windows).
I installed IBR, same admin and computer as the idc instance.
I installed "PDF Converter" and a distiller engine (afpl ghostcript).
I also installed a new printer on the computer and configured the provider, the file formats, etc ... on Content Server and IBR.
When I check a word document in, I have the following error (no pdf generated) :
(translated from french...)
Failed to check c:/oracle/ucm/server2/vault/~convert/idc/9/essai~1.pdf.tmp.pdf file
'PDFOptimization' has not generated the exit file 'c:/oracle/ucm/server2/vault/~convert/idc/9/essai~1.pdf.tmp.pdf'.
Exception type 'java.lang.Throwable'. [ Details ]
Stack Trace :
Failed to check c:/oracle/ucm/server2/vault/~convert/idc/9/essai~1.pdf.tmp.pdf file <br>'PDFOptimization' has not generated the exit file 'c:/oracle/ucm/server2/vault/~convert/idc/9/essai~1.pdf.tmp.pdf'. <br>!syExceptionType,java.lang.Throwable
java.lang.Throwable
at intradoc.common.IdcLogWriter.doMessageAppend(Unknown Source)
at intradoc.common.Log.addMessage(Unknown Source)
at intradoc.common.Log.errorEx2(Unknown Source)
at intradoc.common.Log.errorEx(Unknown Source)
at docrefinery.agent.Logger.logError(Logger.java:138)
at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:140)
at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
at docrefinery.queue.PreConvertedRefineryQueueMonitor.handleCurrentQueueItem(PreConvertedRefineryQueueMonitor.java:204)
at docrefinery.queue.PreConvertedRefineryQueueMonitor.monitorRefineryPreConverterQueue(PreConvertedRefineryQueueMonitor.java:125)
at docrefinery.queue.PreConvertedRefineryQueueMonitor$1.run(PreConvertedRefineryQueueMonitor.java:93)
at java.lang.Thread.run(Thread.java:595)
Could someone help me ?
thanks,
romain.Hi!
I tried that but I got the following errors in the agent log :
"The step MSOfficeToPostscript did not create a log entry, it may not have set results correctly. Exception type is 'java.lang.Throwable
Runtime error:java.lang.NullPointerException
at docrefinery.data.DocumentConversionsSteps.getStepData(DocumentConversionsSteps.java:43)
at docrefinery.data.ConversionDataManager.getStepData(ConversionDataManager.java:78)
at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:81)
at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:298)
at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:165)
at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:109)
at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:165)
at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:109)
at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
at docrefinery.queue.PreConvertedRefineryQueueMonitor.handleCurrentQueueItem(PreConvertedRefineryQueueMonitor.java:204)
at docrefinery.queue.PreConvertedRefineryQueueMonitor.monitorRefineryPreConverterQueue(PreConvertedRefineryQueueMonitor.java:125)
at docrefinery.queue.PreConvertedRefineryQueueMonitor$1.run(PreConvertedRefineryQueueMonitor.java:93)
at java.lang.Thread.run(Thread.java:595)
AND
"Conversion completed -- Step MSOfficeToPostscript forced conversion failure by conversion engine because of error: 'Unable to convert. Native application reported: '' ActiveX component can't create object'. Exception type is 'java.lang.Throwable'" and the file is not checked in...
Have you an idea ?
Here are the steps I followed to enable PDF conversion :
- Installing component InboundRefinerySupport
- Installing IBR
- Configuring Apache
- Installing PDFConverter.zip
- Installing ghostscript 8.54
- Configuring the distiller engine on "Third-Party Application Settings"
- Installing the printer IDC PDF PRINTER
- Creating the outgoing provider on idc
- Configuring the conversion parameter application/msword to Word
- Configuring the "Primary Web-Viewable Rendition" to "Convert to PDF using third-party applications "
Maybe, I have forgotten something ...
Romain. -
Hello, I have an issue when performing the Spool to PDF conversion. I am using FM CONVERT_ABAPSPOOLJOB_2_PDF to convert an ALV list to a PDF file. When I run my report in the foreground, everything works correctly, the PDF file is attached and then emailed to the appropriate recipient. When I schedule the job to run in the background, the contents of the attachment that is created is truncated on the right side cutting off half of the report (the font is also larger). I am out of ideas on how to solve this issue. Any help would be appreciated.
Hi,
Use this code this work for you
Please reward me if you find this answer is helpful
*& Report YSEND_MAIL_ATTACH
REPORT ysend_mail_attach NO STANDARD PAGE HEADING LINE-COUNT 65(2)
LINE-SIZE 120.
*TABLES/ DATA DECLARATION
TABLES: tsp01,
kna1.
DATA: int_email_receivers LIKE zelift_user_3 OCCURS 0 WITH HEADER LINE.
DATA: int_to_receivers TYPE zeinterface_mail-z_email_to OCCURS 0.
DATA: wa_to_receivers TYPE zeinterface_mail-z_email_to.
DATA: int_mailsend TYPE soos1 OCCURS 0 WITH HEADER LINE.
DATA: printer LIKE pri_params,
mc_valid(1) TYPE c,
p_linsz LIKE sy-linsz VALUE 100,
p_paart LIKE sy-paart VALUE 'X_65_132',
mi_rqident LIKE tsp01-rqident,
mi_bytecount TYPE i,
prg_name LIKE sy-repid,
user_name LIKE sy-uname,
mtab_pdf LIKE tline OCCURS 0 WITH HEADER LINE,
mc_filename LIKE rlgrap-filename,
req_no LIKE tsp01_sp0r-rqid_char,
req_rc LIKE sy-subrc,
nom_char(20),
g_drc_diff.
sending email stuff
DATA: object_hd_change TYPE sood1,
object_type TYPE sood-objtp,
objcont TYPE soli OCCURS 0 WITH HEADER LINE,
objhead TYPE soli OCCURS 0 WITH HEADER LINE,
att_cont TYPE soli OCCURS 0 WITH HEADER LINE,
att_head TYPE soli OCCURS 0 WITH HEADER LINE,
packing_list TYPE soxpl OCCURS 0 WITH HEADER LINE,
receivers TYPE soos1 OCCURS 0 WITH HEADER LINE,
receivers TYPE somlreci1 OCCURS 0 WITH HEADER LINE,
free_recc TYPE soos1 OCCURS 0 WITH HEADER LINE,
object_id_new TYPE soodk,
sent_to_all TYPE sonv-flag,
all_binding_done TYPE sonv-flag,
office_object_key TYPE swotobjid-objkey,
originator_id TYPE soudk,
objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
doc_chng LIKE sodocchgi1,
tab_lines LIKE sy-tabix,
paylist LIKE bapi7004_rl OCCURS 0 WITH HEADER LINE,
p_info LIKE pc407,
pdf_table LIKE tline OCCURS 0 WITH HEADER LINE,
pdf_fsize TYPE i,
pdf_line(134),
spoolid TYPE tsp01-rqident.
***data declaration for sending the mail.
***data declaration for output display.
DATA:BEGIN OF int_kna1 OCCURS 0,
kunnr LIKE kna1-kunnr,
land1 LIKE kna1-land1,
name1 LIKE kna1-name1,
END OF int_kna1.
PARAMETERS p_kunnr LIKE kna1-kunnr.
*start-of-selection
START-OF-SELECTION.
perform display.
*pdf conversion.
PERFORM pdf_conversion.
END-OF-SELECTION.
FORM get_spool_number *
Get the most recent spool created by user/report *
--> F_REPID *
--> F_UNAME *
--> F_RQIDENT *
FORM get_spool_number USING f_repid
f_uname
CHANGING f_rqident.
DATA:
lc_rq2name LIKE tsp01-rq2name.
CONCATENATE f_repid+0(9)
f_uname+0(3)
INTO lc_rq2name.
CONDENSE lc_rq2name.
SELECT * FROM tsp01 WHERE rq2name = lc_rq2name
ORDER BY rqcretime DESCENDING.
f_rqident = tsp01-rqident.
EXIT.
ENDSELECT.
IF sy-subrc NE 0.
CLEAR f_rqident.
ENDIF.
ENDFORM. " get_spool_number
*---getting the spool created by user/report
*& Form PDF_CONVERSION
text
--> p1 text
<-- p2 text
FORM pdf_conversion.
*-- Setup the Print Parmaters
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority = space
copies = '1'
cover_page = space
data_set = space
department = space
destination = space
expiration = '1'
immediately = space
in_archive_parameters = space
in_parameters = space
layout = space
mode = space
new_list_id = 'X'
no_dialog = 'X'
user = sy-uname
IMPORTING
out_parameters = printer
valid = mc_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
*-- Make sure that a printer destination has been set up
*-- If this is not done the PDF function module ABENDS
IF printer-pdest = space.
printer-pdest = 'LOCL'.
ENDIF.
*-- Explicitly set line width, and output format so that
*-- the PDF conversion comes out OK
printer-linsz = p_linsz.
printer-linct = sy-linct.
printer-paart = p_paart.
printer-prrel = ' '.
prg_name = 'YSEND_MAIL_ATTACH'.
user_name = sy-uname.
SUBMIT yidoc12 TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS printer
WITH p_kunnr = p_kunnr
AND RETURN.
PERFORM get_spool_number USING prg_name user_name
CHANGING mi_rqident.
IF sy-subrc = 0.
IF sendmail = 'X'.
req_no = mi_rqident.
PERFORM spool_pdf_conversion.
PERFORM sendmail.
ENDIF.
ENDIF.
req_no = mi_rqident.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = req_no
IMPORTING
RC = req_rc
status = req_rc.
IF req_rc <> 0.
IF req_rc = 0.
LEAVE PROGRAM.
ENDIF.
ENDFORM. " PDF_CONVERSION
*****pdf conversion----
*& Form SPOOL_PDF_CONVERSION
text
--> p1 text
<-- p2 text
FORM spool_pdf_conversion.
spoolid = req_no.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = spoolid
no_dialog = space
dst_device = printer-pdest
IMPORTING
pdf_bytecount = pdf_fsize
TABLES
pdf = pdf_table
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.
ENDFORM. " FILE_UPLOAD
********converting the spool job to pdf******************************
*sending the mail as an attachment using the fm
*& Form SENDMAIL
text
--> p1 text
<-- p2 text
FORM sendmail.
DATA : BEGIN OF lt_pdflns OCCURS 0.
INCLUDE STRUCTURE solisti1.
DATA : END OF lt_pdflns.
DATA: l_ind,
l_nom_key_o LIKE oijnomi-nomtk.
General header data.
MOVE: sy-langu TO object_hd_change-objla,
'Ext.email' TO object_hd_change-objnam,
'C' TO object_hd_change-objsns,
'TXT' TO object_hd_change-file_ext,
'REQUIRED OUTPUT' TO object_hd_change-objdes.
Body of the message itself (255).
MOVE ' REPORT TESTING' TO objcont-line.
APPEND objcont.
CONCATENATE 'Time: ' sy-uzeit0(2) ':' sy-uzeit2(2) ':' sy-uzeit+4(2)
INTO objcont-line.
APPEND objcont.
MOVE: 'RAW' TO object_type.
LOOP AT pdf_table.
lt_pdflns = pdf_table.
APPEND lt_pdflns.
CLEAR lt_pdflns.
ENDLOOP.
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
line_width_src = 134
line_width_dst = 255
TABLES
content_in = lt_pdflns
content_out = objbin
EXCEPTIONS
err_line_width_src_too_long = 1 "content_out
err_line_width_dst_too_long = 2
err_conv_failed = 3
OTHERS = 4.
DESCRIBE TABLE objbin LINES tab_lines.
*get the mail ids for sending the emails.
Fill email receivers
IF int_email_receivers[] IS INITIAL.
CALL FUNCTION 'ZEI_GET_INTERFACE_MAILIDS'
EXPORTING
program_name = 'ZER02230_TSPPRA'
interface = 'TS_TMJ_REJ'
key = 'NOMTK'
value = 'FAILURE_RECEIVERS'
DIRECTION =
NOTES =
IMPORTING
to_mail_recivers = int_to_receivers
CC_MAIL_RECIVERS = int_cc_receivers
EXCEPTIONS
no_data_found = 1
OTHERS = 2
Appending Email addresses if found.
IF NOT int_to_receivers[] IS INITIAL.
LOOP AT int_to_receivers INTO wa_to_receivers.
MOVE wa_to_receivers TO int_mailsend-recextnam .
int_mailsend-recesc = 'U'.
int_mailsend-sndart = 'INT'.
int_mailsend-sndpri = '1'.
APPEND int_mailsend.
ENDLOOP.
ENDIF.
ELSE.
LOOP AT int_email_receivers.
CONCATENATE int_email_receivers '@exchange.aramco.com.sa' INTO
int_mailsend-recextnam.
int_mailsend-recesc = 'U'.
int_mailsend-sndart = 'INT'.
int_mailsend-sndpri = '1'..
APPEND int_mailsend.
ENDLOOP.
ENDIF.
**************end of the getting emails for sending the mails
DESCRIBE TABLE objbin LINES tab_lines.
MOVE: "'X' TO packing_list-TRANSF_BIN,
'1' TO packing_list-head_start,
'1' TO packing_list-head_num,
'1' TO packing_list-body_start,
tab_lines TO packing_list-body_num,
'RAW' TO packing_list-objtp,
'Attachment' TO packing_list-objnam,
'PDF' TO packing_list-file_ext.
packing_list-objlen = tab_lines * 255.
CONCATENATE 'REPORT TESTING' '--'
sy-datum4(2) '/' sy-datum6(2) '/' sy-datum+0(4)
sy-uzeit0(2) ':' sy-uzeit2(2) ':' sy-uzeit+4(2)
INTO packing_list-objdes.
APPEND packing_list.
objhead = 'testing the email for pdf'.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = object_hd_change
object_type = object_type
IMPORTING
object_id_new = object_id_new
sent_to_all = sent_to_all
all_binding_done = all_binding_done
office_object_key = office_object_key
originator_id = originator_id
TABLES
objcont = objcont
objhead = objhead
receivers = int_mailsend
packing_list = packing_list
att_cont = objbin
att_head = att_head
EXCEPTIONS
active_user_not_exist = 1
communication_failure = 2
component_not_available = 3
folder_not_exist = 4
folder_no_authorization = 5
forwarder_not_exist = 6
note_not_exist = 7
object_not_exist = 8
object_not_sent = 9
object_no_authorization = 10
object_type_not_exist = 11
operation_no_authorization = 12
owner_not_exist = 13
parameter_error = 14
substitute_not_active = 15
substitute_not_defined = 16
system_failure = 17
too_much_receivers = 18
user_not_exist = 19
originator_not_exist = 20
x_error = 21
OTHERS = 22.
IF sy-subrc EQ 0.
COMMIT WORK.
ELSE.
MESSAGE i014(ze9) WITH 'Email was not sent to the Recipients'.
ENDIF.
ENDFORM. " SENDMAIL
************sending mail as an attachment
*for displaying
form display.
endform.
*for displaying -
Control of PDF conversion from CIS application?
Hi,
Presently we are able to check-in a file from our java application and the Stellent automatically converts the submitted file into PDF. Now the client wants to have control on the PDF conversion. When the user submits a file from the java application, it should not get converted as and when he submits. we need to provide a button by clicking on the button the pdf conversion should start. My questions are:
1) Can we have control on the conversion?
2) Can we stop Stellent not to convert the file on check-in?
3) Using the document id can we convert the native file to pdf?
Please let us know...
if there is any documentation available please guide me.
Server details:
CS : 10GR3
Ghost Script : 8.63
Open Office 3.1
Thanks in advance,
Prasad V.The new (10g) IBR is SOA enabled, so you can call services to convert documents on the fly, including documents not stored in content server. There are also sample components delivered with IBR that provide insight around the conversion process. The short answer is you can do about anything you like now. The answer you didn't want to get here is that it may be more complicated than a forum post can explain. Start by exploring the various services and the example components and come back with more questions.
As for CIS, I'm not sure how that fits against the new IBR architecture, sorry. -
Serious security concern: PDF dropped encryption & unable to re-encrypt. Get error 18
Hi,
I am really hoping that someone can help since this is a serious security issue for us.
We had a document encrypted with a password (required to open it). However, along the way of several rounds of comments and reviews (which includes adding blank pages for lengthy comments), somewhere along the line, the PDF "dropped encryption." It has recently been noted that the PDF opens without password. So, I tried to re-encrypt but it gives the following error: "The document could not be saved. There was a problem reading this document (18)." Considering that there could be a disk I/O issue, I have copied this file to different disks and yet the error remains.
Is there any way, regardless of how user-unfriendly it might be, to encrypt this file? Adding password to the file outside of PDF (e.g. zipping/compressing it with password) is not an option. I am on Acrobat 10.1.7 on MS Windows 7 Professional.
Please help!
Thanks,
SunyIf you applied a user password (required for opening the file) but didn't also set an author password (required to change permissions) then anyone who opens the file in Acrobat can easily remove the encryption, as once past the initial prompt they have total control.
Unlike with an author password, the user password on a PDF file encrypts the entire file stream; so any bit-level corruption during save or transfer cannot remove it - the encrypted stream would be altered (damaging the file contents) but it would not suddenly become plain; any more than a random bit change would turn English into French.
You could try a low-level Preflight repair, but once a file has been corrupted it's very unlikely that you can continue to work with it. One option would be to export the annotations to a datafile (via the options menu on the Comments Panel), re-create the underlying document from source, then re-import the annotations. -
Smart form: Spool to PDF Conversion more than 100 pages.
Hi folks,
I have an issue with Function Module (FM) CONVERT_ABAPSPOOLJOB_2_PDF when the report to be converted has more than 100 pages.....i have explained this scenario as below
We have been using the FM CONVERT_ABAPSPOOLJOB_2_PDF to convert ABAP report to PDF file and then send this via mail using FM SO_DOCUMENT_SEND_API1.....
PDF conversion using FM CONVERT_ABAPSPOOLJOB_2_PDF works well if the number of report pages is less than 100....i.e the table pdf of the FM will contain the output as expected.....
If the report has more than 100 pages, the the FM CONVERT_ABAPSPOOLJOB_2_PDF will schedule the conversion job as a background job and returns with a SY-subrc eq 0 and the table parameter pdf will ne empty.
Could you suggest me a woorkaround in this situtaion...i.e how do I then get the output of the background job
And any process to convert Spool to PDF if having more than 100 pages.
Thanks in Advance............Pb,
If the report has more than 100 pages, the the FM CONVERT_ABAPSPOOLJOB_2_PDF will schedule the conversion job as a background job and returns with a SY-subrc eq 0 and the table parameter pdf will ne empty
i would suggest you to if pages are more than 100 than you need to send report output to sp01 with spool request number by using fm job_open..job_close..
than from sp01 you can convert pdf by running RSTXPDFT4 in se38.
hope this would solve your problem.
Amit. -
Acrobat 9 HTML to PDF conversion sets all checkboxes to checked?
When I convert an HTML file that contains checkboxes to PDF using Acrobat 9 Standard or Pro (fully updated) on Windows XP SP3, all of the checkboxes end up checked in the resulting PDF. I've looked in settings menus but can't find anything that seems to be a relevant option to prevent this from happening. I've attached a simple test case .html file to this post that you can use to repeat the problem.
To convert the file, I right-click on the file in Windows Explorer, and click Convert to Adobe PDF. I've tried "printing" the document to the Adobe PDF printer, but that introduces other issues and is not really an acceptable solution.
Has anyone encountered this before, and/or have ideas how to fix it?Input elements have no such inheritance on the checked attribute. Furthermore, the input elements in my test case are not grouped together. They are each encapsulated within separate list item elements, and so no inheritance should take place after the first input element.
Just for grins, I changed the order of the elements (moved the checked one below the unchecked one), but that did not make any difference in the Acrobat 9 HTML to PDF conversion.
I did test this with Acrobat 8 Standard, and the HTML to PDF conversion preserved the correct checked status of the input elements. It looks to me like this is a bug that was introduced in Acrobat 9. -
Need help about PDF conversion
I have red words in a text box using publisher. How come the text show up as black after PDF conversion in Adobe?
Hi,
I have windows 8. I am using Microsoft publisher 2013. I want to make a postcard. I made a text box and my text in the box are red. Then I click save as to convert to a PDF file. It works. It opens on Adobe but the text in the text box are black and not red. What can I do to retain the original colors? -
PDF conversion with PDF2ID; Hypertext not working when exported back to pdf.
I have done a PDF conversion with PDF2ID, however Hypertext is not working when I exported it back to pdf. I am using the PDF2ID plug-in program to redo all the product booklets for our company as the hypertext did not work when downloaded to any smart phone. All that appeared were blank placeholders in each booklet index page.
According to the PDF2ID people the program plug-in recovers all URLs static and dynamic and bookmarks and local links and suggested I check with Adobe ID5 for help, but Adobe says my $1,000 ID5 is no longer supported and that I should go to the forums.....so here I am.
This is the first time I've even opened my ID5, so I'm a bit lost. Now I need to improve the quality of the PDFs, as we also need to convert all images to TIFF-CMYK in order to have the booklets printed & bound professionally. they tell me ID can do that.
Any help is greatly appreciated.
DavidDaveorne wrote:
they tell me ID can do that.
Ugh...in some companies, that is training.
Don't take this the wrong way David, but of course ID can't do anything. PDF2ID conversions can be sketchy in the hands of the experienced. The same can be said of properly preparing matials for print. As Bob has already alluded, you're in an unfair position there. It's not uncommon for "management" types to just throw some sophisticated tools at a need and expect someone to make it work. In order to do what's being asked of you, you'll have to learn a fair bit about InDesign and production. It's too soon to ask about the output when you haven't learned to manage the input. -
Convert PDF with Arabic content to word /Excel .
I have problem , I plan to buy Adobe acrobat pro for my ORG , The main target to buy it , to convert PDF a Arabic content to word or Excel , I download trial version from Adobe acrobat pro , and when i convert PDF English content it's fine , but when i convert PDF with Arabic content , the result is bad the word become letters and the documents become not readable , Pleas help me cause the main target is convert Arabic PDF to Word .
" the mean problem is when i convert PDF with Arabic content to word the result is bad the document become unreadable .
thanks , wait for replay.HI,
Adobe Acrobat is a special PDF viewer which is technically develop for the whole world to read any PDF file which a user wants to read. It's basic languages are:
English (US)
English (UK)
Arabic
Italian
Japanese
Spanish
German
But when you going to export the PDF file the arabic language will not support.
Regards,
Florence -
Web pages missing from PDF conversion of my website
The top page of my website has an expander list with links to subpages. When I convert my site to PDF, Acrobat skips those subpages. The expander list is closed during PDF conversion, so the links are not visible preventing Acrobat from "seeing" these subpages.
How can I make Acrobat "see" these pages?In WORD try these for comparison: 1. Print to the Adobe PDF printer and 2. Use the Adobe menu to convert to PDF (this is PDF Maker). There are possibly 2 conversion to PDF processes in the file menu. One is equivalent to PDF Maker (Save As Adobe PDF) and the other is the MS conversion to PDF (Save As PDF or XPS).
One additional issue you may run into (since you mentioned page numbers) is a change in formating when creating the PDF. To avoid this change, be sure the Adobe PDF printer is selected in the print menu before editing the DOC file. Another option is to make the Adobe PDF printer the default. -
Smartform to PDF conversion having issue with Russian address
We are having a business situation we are the invoice in English language and the the address of ship-to party and sold-to party in Russian.
The issue we face is.
When the smartform is converted to PDF the Russian specific characters are missing in the PDF output. The same are perfect in the smart form print preview.
we are using CONVERT_OTF function module and we are getting the Russian characters correctly in the table parameter OTF.
We are using "SX_TABLE_LINE_WIDTH_CHANGE" and " SO_DOCUMENT_SEND_API1"
function module to attach and mail the pdf.
In the PDF we are missing the Russian specific characters .
For Example in "Sedláčkova čč" the output is "Sedláčkova " means "čč" is mising
Thanks in advance
Regards
JobyHi,
As described in note 999712 - PDF conversion for Unicode, there is a new unicode PDF converter PDFUC.
It depends on the SAP Version if you have to install the device type or not. You can check also via SPAD -> Full Administration -> Device Types -> Display.
You can pass the device type in the output options. I used:
SSFCTRLOP-no_dialog = 'X'.
SSFCTRLOP-getotf = 'X'.
SSFCTRLOP-langu = 'EN'.
SSFCOMPOP-tdprinter = 'PDFUC'.
If you specify a device other than printer in the control options like SSFCTRLOP-device = 'TELEFAX'., above will not work as
SSFCOMPOP-tdprinter is only evaluated for printer.
You have to check in SCOT -> Settings -> Device Types for Format Conversion.
You can make a general entry or for a specific language:
PDF SAPscript/Smart Forms PDFUC
PDF EN English SAPscript/Smart Forms PDFUC
Let me know if you get this working.
Jeroen. -
Problem in PDF conversion of a Smartform
Hi Experts,
I have Chinese text and english text in the Smartform
When see print preview of Smartfrom the output is perfect
But when i convert the OTF to PDF using CONVERT_OTF FM and send as mail attachment,
The chinese characters are JUNK and conversion don't occur properly.
For english TEXT i use Times new roman font
For Chinese Text i use CNSONG
I have used other FM as well CONVERT_OTF_2_PDF, the results were negative.
Please advise
Regards
Balaji RHello Davide,
We got this solution from SAP active global support.
I suppose it works in some cases only.
Our scenario is when we try to create PDF of the smartform using FM convert_otf and send as mail attachment.
We can able to see chinese chracters when giving the print preview of the form, but during PDF conversion we get Junk chinese characters.
Even if you have multiple languages in your form, SAP proposes to use 'ZPDFUC' as device type.
My question has the solution proposed by you works in all cases?
Please advise.Thanks.
Best regards
Balaji R
Maybe you are looking for
-
No media on Device / Auto Reset
For some reason, this morning i turned on my iPod Touch 64GB, and when I went to select Music, it stated that there is no media available on the device. It gave my the same message for Video, but all my apps & photos were still there. I went into my
-
Conflict between CAT2 and ESS Record Time
Does anyone know how to set up security to allow someone to record time through ESS while prohibiting that person from recording their own time through transaction CAT2 in ECC? Our Payroll Department uses CAT2 to record/correct time for the entire c
-
How to Build Attribute Dimension Dynamically & Load with LCM?
Hi, I'm trying to modify the existing outline at cilent's site. For some reason, when I pulled the outline with extractor, it didnt come out in the format that is compatible with Outline Load Utility. I was told to use LCM so I may still load with mi
-
Canon EF 28-90mm f/4-5.6 lll lens
I am thinking about buying a Canon EF 28-90mm f/4-5.6 lll lens. How compatible is it to the EOS Rebel T3i? Thank you for your time. Solved! Go to Solution.
-
Document feeder not working on new 8610
The document feeder does not work on my new Hp Officejet Pro 8610. This is the first time I have tried it since we purchased it. (The copying function itself works with regard to an original placed on the glass by hand.) On sliding paper into th