Suddenly PDF files write: %1 er ikke et gyldigt win 32 program. What shall I do
Suddenly PDF files write: %1 er ikke et gyldigt win 32 program. What shall I do
Hi ib%201991,
Are you receiving that error when you try to create PDF files? Or when you open or try to install Acrobat? If you're getting that error when you try to open Acrobat, it could be that one of the application files is damaged, and you'll need to reinstall Acrobat.
Best,
Sara
Similar Messages
-
I have a pdf File tht I want to convert to a word program. how do I do that?
I have a pdf file that I want to convert to a word program. How do I do that?
Hi Patrick,
You have subscribed for this service yesterday, uaually it would take 24 hrs to get this service activated. I can see that your service is now up and running.
Kindly check the below mentioned article on how to get started with ExportPDF:
http://forums.adobe.com/docs/DOC-2412
Let me know if you have any issue while accessing the service,
Regards,
~Pranav -
I just downloaded Adobe to convert PDF file. Failed to convert on the first Document. What do I do
You need to provide exact info. What system? What document? What settings? what errors?
Mylenium -
PDF file write to application server
Hi All,
I want to write PDF file to application server while downloading its writing but in this manner
%PDF-1.6#%####
108 0 obj#<</First 17/Length 108/Filter/FlateDecode/N 3/Type/ObjStm>>stream
xڲT0P04Q07W05#2,#ll##K#J*#R#C####Sbq#[^##GjNYjIfr##SN##kr~Jf#~xf#c^q&##Ҧ##agG#a####X###T##XR### ##b#
Please let me know where i am doing wrong.
Please see below my code .
(the scenario is when i download the pdf file i want to write the same file in to app server )
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams "
ls_header = ls_waste
lt_item = gt_rkpf
aufnr = lv_aufnr
importing
/1bcdwb/formoutput = fp_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
concatenate 'D:\temp\PROCESSORDER_' ls_waste-rsnum '.PDF' into lv_file.
pr_file = lv_file.
open dataset pr_file for output in binary mode."text mode encoding NON-UNICODE.
if sy-subrc 0.
exit.
endif.
transfer fp_formoutput-pdf to pr_file.
close dataset pr_file.
clear :fp_formoutput-pdf,lv_file.
Please any one help me thanks,
Thanks,
KumarYou can't tranfer the whole PDF data with just one transfer statement, instead you have to loop that table and transfer the data to the file until you reach the last row.
open dataset pr_file for output in binary mode."text mode encoding NON-UNICODE.
if sy-subrc 0.
exit.
endif.
loop at fp_formoutput-pdf *****************
transfer fp_formoutput-pdf to pr_file.
endloop.
close dataset pr_file.
clear :fp_formoutput-pdf,lv_file. -
PDF files refuse to open, I get an error message saying there was a problem pre viewing the document. Any thoughts?
moved from Downloading, Installing, Setting Up to Creating, Editing & Exporting PDFs
-
I edited my original question above to provide all the info that I can think of. It is very frustrating to no longer be able to directly print from a website except for PDF files. I can do a work around by copying a web page to Microsoft Word and then printing it but I don't understand why I lost a basic function. David Pollock
See this: <br />
http://kb.mozillazine.org/Problems_printing_web_pages -
I cannot edit a PDF file. When I try it redirects me to payment screen and I have already paid for this! I would like to talk to someone per phone. You have easily taken my money and I would like support.
"Adobe dc program"???
Such does not exist; at least not from Adobe.
As has been asked - What, specifically, was subscribed to? It is identified on the receipt Adobe provides for each subscription account one opens.
Be well... -
Hi,
I am using Mavericks and my MacBook is MacBook Pro with Retina Mid 2012.
And I made a little silly mistake, I deleted db folder, which is this:
/var/db/volinfo.database
Luckily, the files in Trash have not been deleted (I am not sure). because the trash stops me from emptying the trash.
However, I cannot go into Users and Groups Preferences folder in system preferences app.
And also, every time I tried to move back the db folder into the right place with Put Back Option,
it will go into Finder's username and password, asking me to enter my information. But it "shakes" back at me as if it is rejecting my account.
What shall I do now?jkskye wrote:
it will go into Finder's username and password, asking me to enter my information. But it "shakes" back at me as if it is rejecting my account.
Are you running an administer account? 1) If you delete that file, it is automatically recreated. 2) You would still be able to empty your trash. What is the error message you are receiving?
Open Terminal. Post the output of the following command:
cat /private/var/db/volinfo.database -
PREVIEW 3.0.9 SUDDENLY STOPPED RENDERING PDF FILES PROPERLY. How to fix?
I have been using Preview to open PDF files on the MacBook Pro since I bought it a little less than a year ago. Then just the other day, I opened a PDF file and it looked horrible. The color was missing. Part of the text was missing. Some of the text was present and in the right place. (I had not made any recent changes to my self. No software or hardware added or removed recently.)
I am fairly certain that the problem is with Preview or some other Apple program or utility that works with it. I sent by e-mail the PDF file to my wife's PC. I then opened the PDF file in the Adobe Reader on her machine that it was rendered perfectly.
One other thing: In my frustration I went to the Adobe site and downloaded Adobe PDF reader for Mac. And I think installed it. But when I try to open a PDF file, Preview opens it, regardless of whatever else I do. Even if I have Preview closed and Adobe PDF reader for Mac open, Preview jumps in and opens the PDF file. And it looks horrible.
So, in summary, what I'd like to do:
1) Get Preview running properly again; and
2) Learn how to control what program opens PDF files.
Thanks gang!
REG CROWDER
<Edited by Moderator>Hi Reg,
Is this happening with all PDF files, or just this one that you mentioned in your post?
2) Learn how to control what program opens PDF files.
There's a few different ways to do this.
1. Open Adobe Reader and simply drag-n-drop the PDF file onto the Adobe Reader icon that appears in the Dock
2. Right-click (or hold the ctrl key and click on a single button mouse/trackpad) the PDF file and choose Open With... > Adobe Reader
3. Select the PDF file, then press command+i to bring up the information window and change the default application towards the bottom of that window.
Edit: Probably unrelated, but are you still on 10.4.10 as mentioned in your profile tag line? 10.4.11 is the latest version of Tiger available. -
Save as pdf deleted bookmarks when combining pdf-files
Hello,
when I save several books each to a pdf-file with save as pdf (or printing to .ps and converting afterwards), the bookmarks are deleted when I combine the pdf-files with Acrobat. Only one bookmark for the 1st. file exists in the new pdf-file.
The reference of the bookmarks in the original generated file is e.g. "g3.619626".
These references are not anymore available in the combined files.
I've tried several settings before saving as pdf but nothing helped.
Ther are no problems of combining ordinary pdf-files with bookmarks if they are generated by other programs then Framemaker.
I need to combine files as well within a book, as "save to pdf" is not able, to generate one file with different pages sizes. I then need to generate a separate pdf-file of the pages with the for e.g. bigger page size and combine it afterwards.
In that project I'm working there will over all something between 1000 and 1500 pages from maybe 10 books with hunderts of bookmarks plus additionally separete pfd files to combine. So it's not an option to treat every bookmark before combining the pdf-files.
My system is FM11.02.384 / Acrobat Pro 11.0.3 / Windows 7 64 BitNever having had a need to do it, and Adobe documentation for Acrobat being what it is, I can't tell if AcroPro is supposed to be able to merge bookmarks when merging PDFs. It would be an unsurprising feature, and you do say it works on PDFs generated by means other than FM.
Here's a hack that might work, if the variable-page-size rendering turns out to be out of reach. You can batch* this.
Open each component PDF and re-save it with some otherwise harmless optimization (or even none). This will probably cause AcroPro to re-write the internal structures of each PDF, which might then be amenable to merged bookmarks when you re-open them for merging.
* We do a similar thing for a slightly different problem. We have a software-in-a-box XML publishing app that, at just some seats, is generating PDFs that are tagged for byte serving (fast web view), but are not in fact encoded for it. This causes AcroReader plugin and entire browser crashes for web end users. The s/w vendor can't even tell us where the option is for controlling that feature, because they get the PDF gen code from some other 3rd party. So we routinely batch process all generated PDFs, with, oddly enough, NO "commands" selected. The re-save alone fixes it. -
Convert tline into pdf file document in Java
Dear ALL,
I built a RFC FM to convert smartform into tline which including PDF data.
the Code:
Converting to PDF Format
DATA l_lines TYPE TABLE OF tline WITH HEADER LINE.
* DATA l_lines1 TYPE TABLE OF solix_tab WITH HEADER LINE.
DATA l_docs TYPE TABLE OF docs.
DATA len TYPE i.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
IMPORTING
bin_filesize = len
TABLES
otf = job_output_info-otfdata[]
doctab_archive = l_docs[]
lines = l_lines[] "this inner table include pdf file data
EXCEPTIONS
err_conv_not_possible? = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
*CALL METHOD cl_gui_frontend_services=>gui_download
* EXPORTING
* bin_filesize = len
* filename = 'c:\pdf.pdf'
* filetype = 'BIN'
* CHANGING
* data_tab = l_lines[]"i_objbin[]
* EXCEPTIONS
* OTHERS = 1.
"If i want to save it in my PC ,call this FM CALL METHOD cl_gui_frontend_services=>gui_download.
But i dont want to do it.I want to pass the parameter l_lines[] to java(web) by RFC, and convert to pdf file and show in java(web).
thanks
FreddyHi,
Update:
I have tested this and here is some code:
SAP:(I got the OTF from CALL FUNCTION 'PRINT_TEXT')
FORM get_pdf_data
USING
tdname TYPE thead-tdname
CHANGING
it_tline TYPE text_line_tab
bin_file TYPE xstring .
DATA: st_thead TYPE thead .
DATA: it_lines TYPE tline_tab .
st_thead-tdobject = 'TEXT' .
st_thead-tdname = tdname .
st_thead-tdid = 'ST' .
st_thead-tdspras = 'E' .
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = st_thead-tdid
language = st_thead-tdspras
name = st_thead-tdname
object = st_thead-tdobject
IMPORTING
header = st_thead
TABLES
lines = it_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc NE 0 .
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 .
ENDIF.
DATA: it_otfdata TYPE otf_t_itcoo .
DATA: st_options TYPE itcpo.
st_options-tdgetotf = abap_true .
CALL FUNCTION 'PRINT_TEXT'
EXPORTING
dialog = abap_false
header = st_thead
OPTIONS = st_options
TABLES
lines = it_lines
otfdata = it_otfdata
EXCEPTIONS
canceled = 1
device = 2
form = 3
OPTIONS = 4
unclosed = 5
unknown = 6
format = 7
textformat = 8
communication = 9
bad_pageformat_for_print = 10
OTHERS = 11.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
DATA: it_otfdata_m TYPE otf_t_itcoo .
* "Merge pdf output demo"
APPEND LINES OF it_otfdata TO it_otfdata_m .
* DATA: bin_file TYPE xstring .
DATA: it_lines_dummy TYPE tline_tab .
DATA: bin_filesize TYPE i .
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_file = bin_file
bin_filesize = bin_filesize
TABLES
otf = it_otfdata_m
lines = it_lines_dummy
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
ENDFORM. " GET_PDF_DATA
Java:
final byte[] byteArray = function.getExportParameterList().getByteArray("BIN_FILE");
final Path path = Paths.get("My.pdf");
Files.write(path, byteArray, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.CREATE);
regards.
Another update:
Using in HttpServlet:
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.sap.conn.jco.JCoDestination;
import com.sap.conn.jco.JCoDestinationManager;
import com.sap.conn.jco.JCoException;
import com.sap.conn.jco.JCoFunction;
import com.sap.conn.jco.JCoRepository;
import com.sap.conn.jco.ext.Environment;
import destinations.MyDestination;
public class MyServlet extends HttpServlet {
@Override
protected void doGet(final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse) throws ServletException, IOException {
httpServletResponse.setContentType("application/pdf");
httpServletResponse.setStatus(HttpServletResponse.SC_OK);
final ServletOutputStream servletOutputStream = httpServletResponse.getOutputStream();
servletOutputStream.write(getPDF());
servletOutputStream.flush();
servletOutputStream.close();
private byte[] getPDF() {
try {
Environment.registerDestinationDataProvider(new MyDestination());
final JCoDestination destination = JCoDestinationManager.getDestination(destinations.Id.sapdev2.name());
final JCoRepository repository = destination.getRepository();
final JCoFunction function = repository.getFunction("Y_R_EITAN_TESTS_03");
function.execute(destination);
final byte[] byteArray = function.getExportParameterList().getByteArray("BIN_FILE");
return byteArray;
} catch (final JCoException exception) {
exception.printStackTrace();
return null; -
Unable to open a saved/ downloaded pdf file
Hi
I get the following error when trying to open pdf file that was downloaded and saved through a java program.
Adobe Reader could not open 'export.pdf' because it is either not a supported file type or because the file has been damaged. (for eg. it was sent as email attachment and was not correctly decoded.
Any solution or suggestion to this error will be greatly appreciated.
Thanks in advance
RevathiSince you don't tell us anything about your code, we can only guess.
Here are common solutions:
- Don't use any of those types when handling your data: char, char[], String, Reader, Writer.
- Make sure that you really understand what read(byte[]) does and when it returns. (Hint: when ignore its return value or call it outside a loop, then you don't understand it). -
Hi every body,
I have a report, i want to open the report in PDF file inside the R3,
I know how to download to my PC, but i need to open it automatically by PDF.
BR,
AliAli:
This one really got me going after looking at Rich's Hielman's post. Unfortunately, I am not on a 7.00 unicode system, rather 4.6C.
I started looking at this from the perspective of a smartform. My original idea was to generate the pdf file write it to the file system and then call it using an html viewer in a dialog page.
I subsequently found a better approach, at least for smartforms and sapcript using the fm 'HR_IT_DISPLAY_WITH_PDF'.
This fm takes an otf table from the smartform and does all the work for you. Enjoy
REPORT z_render_spool_as_pdf .
DATA: ls_control_param TYPE ssfctrlop.
DATA: ls_composer_param TYPE ssfcompop.
ls_control_param-device = space.
ls_control_param-getotf = 'X'.
ls_control_param-getotf = 'X'.
ls_control_param-no_dialog = 'X'.
DATA: l_document_output_info TYPE ssfcrespd,
l_job_output_info TYPE ssfcrescl,
l_job_output_options TYPE ssfcresop.
* Subsitute your smartform name below:
CALL FUNCTION '/1BCDWB/SF00000034'
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
control_parameters = ls_control_param
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS =
* USER_SETTINGS = 'X'
IMPORTING
document_output_info = l_document_output_info
job_output_info = l_job_output_info
job_output_options = l_job_output_options
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'HR_IT_DISPLAY_WITH_PDF'
TABLES
otf_table = l_job_output_info-otfdata. -
PDF file won't open with double click
Mac OSX 10.6.8/Acrobat 10.1.3.
Suddenly pdf files won't open with a double click, I now have to open Acrobat and file>open.
Also, once they're open, they won't close by clicking the red close dot, I now have to go to file>close.
Very frustrating!Even reinstalling doesn't work with the standard Creative Suite installer. Except for the double-click bug, Acrobat doens't respond to dock-tasks either, like <right-mouse-click> on dock icon and select <quit>.
In this version of Acrobat, the repair function doen't seem to exist anymore. Sadly....
So the problem keeps existing, even with the laterst 10.1.4 version.
==========================
OSX 10.8 - Acrobat Pro X 10.1.4 -
Need Help ASAP my State tax form is in a PDF file and the attachment in my email says Please wait
Need Help ASAP my State tax form is in a PDF file and the attachment in my email says Please wait...
I tried downloading updates like it said to but it still will not display the document. How do I print the PDF file ASAPCan you give us a LOT more info?
What email client? What version of Reader (I can only assume you even have Reader at this point)?
Please wait? I'm sure it says more than that, right?
Have you tried simply saving the PDF (it IS a PDF correct?) to your desktop and opening it from there?
Did you get this form from the IRS or did it come from somewhere else? If the IRS again, what version of Reader?
Help us help you.
Maybe you are looking for
-
Can't see my bill...since October!!
I have called countless times to support. First they say I don't have a login...ummm how did I log in then. It shows my name and lets me pay my bill but I dont' have a login... In their records, the name is right the address is right etc. On the webs
-
Installing both Oracle 9iDB and Developer6i
I'm trying to install both Oracle 9i Database and Developer 6i but it doesn't work! The Database works fine but the Forms Builder, for example, doesn't want to connect to the database I've created when installing the Database 9i. I get the following
-
App store Glitch Not installing apps
I tried installing a new app, a free one, bit it's glitching. I go to the app store, search for Any game but when I press free, it does this weird thing where the free button moves and then all I can see I half the install button. I tried pressing th
-
How can I use oracle function to decode the encode value
Hi everybody, If the data is encode value how can I decode this value
-
Can someone else track my iPhone?
If someone has my iPhone mobile number, can they track where my iPhone is located? Or do they need to know the serial number and my account pass words? Thank you for your assistance in advance