Help With PDF Viewing
Hi there,
Right now I am creating a website for my company. There are many different forms that our customers use daily that I want to make available to them via the website. I have the pdf file that I need in the general web folder and am linking directly to them. I also made them open in a new window.
<li><a href="../TaxExemptionCerfiticate.pdf" target="_blank">Tax Exempt Certificate</a><br /></li>
Can anyone see anything wrong with this code? Or have any better ideas for me?
Thanks in advance!
I am obviously a bit frazzled by this, I didn't even properly explain the problem! When I click on the link (which is attached to the pdf file), it opens in a new window/tab fine but the pdf itself doesn't appear and I get blank black that turns blank white if you click it. Has anyone else had issues with this?
Thanks!
Similar Messages
-
We are currently evaluating LiveCycle ES to potentially convert numerous Pro/E 3D drawings to PDF. Unfortunately, I am having a difficult time finding the proper resources to help achieve this. What we would like the process to do is:
1) Take a Pro/E file, and apply a forms template
2) Add an "Exploded View" animation for the 3D drawing (such as what can be generated by Adobe 3D Reviewer)
3) Expose the "Bill of Material" to the template fields
4) Save the generated PDF to a defined folder
5) Perform these steps for a "watched folder" for when new drawings are submitted
In LiveCycle Workbench, I have been able to read a Pro/E file and apply our template. But I cannot find information on how to achieve the other steps.
Could somebody please point me to specific resources and/or samples that would help with this? Any help would be very appreciated.
Thanks!Thanks for your reply.
If I'm understanding you correctly, option 1 probably won't work for this situation, because we're working with existing ProE drawings -- hundreds, if not thousands, of them. So, they don't want to go back and add the exploded view. Unless you're saying that we could use javaScript to generate the exploded view and BOM from the ProE files?
Do you know of an example (or other resource) that describes either of the options you outlined? Could you explain a little more?
Thanks again! -
pLEASE HELP WITH CONVERTING A PDF REPORT TO A WORD DOC WHERE i CAN MAKE CHANGES AND PRINT A NEW REPORT.
Hi Christine,
It looks like you have a subscription to our ExportPDF service. Follow the steps in our Getting Started Guide to convert your PDF to Word: http://forums.adobe.com/docs/DOC-2412
You should be able to edit your file in Word after the conversion.
-David -
Hello,
I am trying to automate a couple of specific tasks with pdf files but I am having some trouble. At my job we are printing files to pdf but afterwards we must go back and edit the pdf files. Basically what we need to do is this (in order):
1) Rotate the first 'one to three' pages. The first page(s) need to be rotated counterclockwise but it can be 1-3 pages that need this. All we know is that they always appear first. These pages are very similiar in content so I was thinking about making the program search for a keyword common to those pages then rotate it if it finds that keyword. That way we can ensure that its only rotating the pages which need to be rotated.
2) The last 3 pages of the document need to be moved to the top. These documents vary in number of pages so I cant just tell the program to move certain pages numbers to the top. All we know is that its always the last 3 pages of any document that need to be moved to the top. Also, just for clarification is another way to reorder pages in Acrobat besides dragging them with the mouse?
Any input would be greatly appreciated.
Thanks
FazalBoth of these could be implemented using JavaScript, perhaps using a batch sequence. #2 is easy, and #1 may or may not be possible/reliable based on the actual content of the document.
For #1, a script is able to loop through the words on a page to search for one or more words. If found, it can look at the position of the word on the page, and if it meets the position criteria, use the setPageRotations document method to rotate the page.
For #2, just use the movePage document method to move the last three pages.
If you need help with the code, consider posting in the Acrobat Scripting forum. Include more information for #1 if you do. -
Help with PDF Javascript calculation involving checkboxes
Hello Everyone,
I have a PDF Form, and need help with a calculation.
For the sake of simplicity, Lets say I have 5 fields. FSA1 and FSA2 are checkboxes. TotalClaimed1 and TotalClaimed2 are text fields which allow only a numerical input.
The last box, FSA_Total, should add the value from TotalClaimed1 if FSA1 is checked, and it should also add the value from TotalClaimed2 if FSA2 is checked.
The code is malfunctioning, however. Something is causing it to add to the total every time the box is checked. Its almost like the checking off of the box is what causes the addition.
It seems like the code is being read as "When the box is checked, add the value to the total", so each time the box gets checked, it adds to the total again.
and it should be "IF the box is checked, add the value to the total" so if there is a value in the field, and the box is checked, that value is passed on to the total; and if the box is not checked, the value is ignored.
Can anyone spot what might be causing this? Code is below.
var claim1 = parseInt(this.getField('TotalClaimed1').value),
claim2 = parseInt(this.getField('TotalClaimed2').value),
fsabox = parseInt(this.getField('FSA_Total').value);
if (this.getField('FSA1').value == 'Yes') {
fsabox += claim1;
if (this.getField('FSA2').value == 'Yes') {
fsabox += claim2;
event.value = fsabox;
Thanks
Thisguy1234This is a custom calculation script for FSA_Total, correct? The code is working correctly, it's just not what you want. Assuming this is a custom calculation script in the FSA_Total field, it should be something like:
var sum = 0;
var claim1 = parseInt(getField('TotalClaimed1').value, 10),
claim2 = parseInt(getField('TotalClaimed2').value, 10),
// Add field values if corresponding check boxes are selected
if (getField('FSA1').value !== "Off") {
sum += claim1;
if (getField('FSA2').value !== "Off") {
sum += claim2;
// Set this field value
event.value = sum;
Why are you using parseInt, exactly? -
I am beyond frustrated here so I hope someone can help me!!!! Ii have Adobe 8 Standard and I can't find the PDF/X-1a in my distiller. I need this particular preset to upload a book cover. The website won't accept any other format. The only thing I have in my distiller is PDF/A-1b.
Does anyone know where I can get the correct distiller? Everyone I know with Adobe 8 has the PDF/X-1a in their options and they don't remember having to do anything special to get it.Assuming you have Acrobat installed, it would not hurt to verify compliance after the document is created. With the doc open (on my vesion 9) Advanced > Print Production > Preflight > PDF/X Compliance > Verify compliance with PDF/X-1a hit analyze
Note that a document must have a Title in the Title box under Document > Properties (ctrl+d) to pass X-1a and, for whatever reason, analyze and fix cannot add this.
And I'm far from the resident expert here.. -
Need Help with Crystal viewer and ActiveX
Hi !!
I have a problem that i cant seem to be able to solve. I had alot of help from the forum but i think i got everything mixtup now...
From my addon i can print with CrystalReport Viewer or i cant print a Crystal report directly to my default printer, so thats good and working well. The problem is with Crystal Viewer that drags on the SBO screen and stays on the task bar.
It is strongly recommended to use an Activex to display my Crystal Viewer report. I tried so many differrent ways allways ending up with class id errors, or private class errors.
My report is called c:\report.rpt
My Working CrystalViewer form is called 'frmCRV'
Can some one help me thru this last step... I tried with the Activex sample in SDK but i think i dont have to use the Tree function ??? am i right ??
I'm running on SBO 2005 SP1 PL3
Crystal Report .net V10 and .net for code.
Thanks you all for your patience.Hi Again !
I can now open a form with an Activex part but i cant pass my CrystalViewer in it. Always says specified cast not valid.
Thanks -
Would love some help with this one.. I am new so please bare with me. This app just reads contents of a txt file. What I am trying to add is the ability to display an image inside the program frame with scrolls bars.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
public class Viewer extends JFrame
private JMenuBar menuBar;
private JMenu fileMenu;
private JMenu fontMenu;
private JMenuItem newItem;
private JMenuItem openItem;
private JMenuItem saveItem;
private JMenuItem saveAsItem;
private JMenuItem exitItem;
private JRadioButtonMenuItem monoItem;
private JRadioButtonMenuItem serifItem;
private JRadioButtonMenuItem sansSerifItem;
private JCheckBoxMenuItem italicItem;
private JCheckBoxMenuItem boldItem;
private String filename;
private JTextArea editorText;
private JLabel label;
private final int NUM_LINES = 20;
private final int NUM_CHARS = 40;
public Viewer()
setTitle("Viewer");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
editorText = new JTextArea(NUM_LINES, NUM_CHARS);
editorText.setLineWrap(true);
editorText.setWrapStyleWord(true);
JScrollPane scrollPane = new JScrollPane(editorText);
add(scrollPane);
buildMenuBar();
pack();
setVisible(true);
private void buildMenuBar()
buildFileMenu();
buildFontMenu();
menuBar = new JMenuBar();
menuBar.add(fileMenu);
menuBar.add(fontMenu);
setJMenuBar(menuBar);
private void buildFileMenu()
newItem = new JMenuItem("New");
newItem.setMnemonic(KeyEvent.VK_N);
newItem.addActionListener(new NewListener());
openItem = new JMenuItem("Open");
openItem.setMnemonic(KeyEvent.VK_O);
openItem.addActionListener(new OpenListener());
saveItem = new JMenuItem("Save");
saveItem.setMnemonic(KeyEvent.VK_S);
saveItem.addActionListener(new SaveListener());
saveAsItem = new JMenuItem("Save As");
saveAsItem.setMnemonic(KeyEvent.VK_A);
saveAsItem.addActionListener(new SaveListener());
exitItem = new JMenuItem("Exit");
exitItem.setMnemonic(KeyEvent.VK_X);
exitItem.addActionListener(new ExitListener());
fileMenu = new JMenu("File");
fileMenu.setMnemonic(KeyEvent.VK_F);
fileMenu.add(newItem);
fileMenu.add(openItem);
fileMenu.addSeparator();
fileMenu.add(saveItem);
fileMenu.add(saveAsItem);
fileMenu.addSeparator();
fileMenu.add(exitItem);
private void buildFontMenu()
monoItem = new JRadioButtonMenuItem("Monospaced");
monoItem.addActionListener(new FontListener());
serifItem = new JRadioButtonMenuItem("Serif");
serifItem.addActionListener(new FontListener());
sansSerifItem =
new JRadioButtonMenuItem("SansSerif", true);
sansSerifItem.addActionListener(new FontListener());
ButtonGroup group = new ButtonGroup();
group.add(monoItem);
group.add(serifItem);
group.add(sansSerifItem);
italicItem = new JCheckBoxMenuItem("Italic");
italicItem.addActionListener(new FontListener());
boldItem = new JCheckBoxMenuItem("Bold");
boldItem.addActionListener(new FontListener());
fontMenu = new JMenu("Font");
fontMenu.setMnemonic(KeyEvent.VK_T);
fontMenu.add(monoItem);
fontMenu.add(serifItem);
fontMenu.add(sansSerifItem);
fontMenu.addSeparator();
fontMenu.add(italicItem);
fontMenu.add(boldItem);
private class NewListener implements ActionListener
public void actionPerformed(ActionEvent e)
editorText.setText("");
filename = null;
private class OpenListener implements ActionListener
public void actionPerformed(ActionEvent e)
int chooserStatus;
JFileChooser chooser = new JFileChooser();
chooserStatus = chooser.showOpenDialog(null);
if (chooserStatus == JFileChooser.APPROVE_OPTION)
File selectedFile = chooser.getSelectedFile();
filename = selectedFile.getPath();
if (!openFile(filename))
JOptionPane.showMessageDialog(null,
"Error reading " +
filename, "Error",
JOptionPane.ERROR_MESSAGE);
private boolean openFile(String filename)
boolean success;
String inputLine, editorString = "";
FileReader freader;
BufferedReader inputFile;
label = new JLabel();
add(label);
try
freader = new FileReader(filename);
inputFile = new BufferedReader(freader);
inputLine = inputFile.readLine();
while (inputLine != null)
editorString = editorString +
inputLine + "\n";
inputLine = inputFile.readLine();
editorText.setText(editorString);
inputFile.close();
success = true;
catch (IOException e)
success = false;
return success;
private class SaveListener implements ActionListener
public void actionPerformed(ActionEvent e)
int chooserStatus;
if (e.getActionCommand() == "Save As" ||
filename == null)
JFileChooser chooser = new JFileChooser();
chooserStatus = chooser.showSaveDialog(null);
if (chooserStatus == JFileChooser.APPROVE_OPTION)
File selectedFile =
chooser.getSelectedFile();
filename = selectedFile.getPath();
if (!saveFile(filename))
JOptionPane.showMessageDialog(null,
"Error saving " +
filename,
"Error",
JOptionPane.ERROR_MESSAGE);
private boolean saveFile(String filename)
boolean success;
String editorString;
FileWriter fwriter;
PrintWriter outputFile;
try
fwriter = new FileWriter(filename);
outputFile = new PrintWriter(fwriter);
editorString = editorText.getText();
outputFile.print(editorString);
outputFile.close();
success = true;
catch (IOException e)
success = false;
return success;
private class ExitListener implements ActionListener
public void actionPerformed(ActionEvent e)
System.exit(0);
private class FontListener implements ActionListener
public void actionPerformed(ActionEvent e)
Font textFont = editorText.getFont();
String fontName = textFont.getName();
int fontSize = textFont.getSize();
int fontStyle = Font.PLAIN;
if (monoItem.isSelected())
fontName = "Monospaced";
else if (serifItem.isSelected())
fontName = "Serif";
else if (sansSerifItem.isSelected())
fontName = "SansSerif";
if (italicItem.isSelected())
fontStyle += Font.ITALIC;
if (boldItem.isSelected())
fontStyle += Font.BOLD;
editorText.setFont(new Font(fontName,
fontStyle, fontSize));
public static void main(String[] args)
Viewer ve = new Viewer();
}I tried using JLabel() but I cant seem to make it work. Whenever i browse and select a .jpg it displays "�������t���o\�[��+�p��B3�+�p��B3�"In the future, Swing related questions should be posted in the Swing forum.
Whenever i browse and select a .jpg it displays "�������t���o\�[��+�p��B3�+�p��B3�" You can read in a jpg file and treat it like a text file.
Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html]How to Use Icons for the proper way to read images. -
Help with Live View - Links Not Working
Hello,
I am having a problem with Live View. It had been working just fine, until recently. Now, when I load a site stored locally, the page looks normal and links highlight when I cursor over them, but when I click them no navigation takes place. I just remain on the index page. The site does test fine in IE8, Chrome, Firefox and used to test fine in Live View. The same happens with all my sites. No changes have been made to my system. Maybe I changed a setting unknowingly? Is there some type of setting that I am missing perhaps? Any help would be appreciated.
JasonDid you close and restart DW to see if that helps?
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Post Author: Lee XI
CA Forum: General
Hello all. I'm currently using CR XI (not server) and downloaded the Viewer yesterday to test on a spare pc. Reason for this is I want others to be able to view and set parameters I designed in the report(s). However, when you open the Viewer, no parameters that I set up are showing. (IE: date, State, Customer, etc) When I am in CR XI and I hit refresh it brings up all the parameters that should be available to the end users to adjust the report manually.The reason I'm trying to go this route is that our company is small and running CR server is out of the budget. Should the viewer allow for prompted params for those using the CR Viewer or not? I do not want to waste time with this if the Viewer cannot or will not allow end users to select a date range or state, or other params I want them to? I do not want to purchase another CR XI version because I do not want these users to have design access to the reports. I simply want them to be able to select certain params that I have set up for them. Thanks in advance! LeePost Author: DRCL
CA Forum: General
I have discovered another issue with the viewer also.
If a report is designed/saved in LANDSCAPE mode, but the recipient opens in the viewer and the printer default is PORTRAIT, then it automatically prints in Portrait. It scales to fit to the page.
If the user overrides the default and changes it to LANDSCAPE, it still prints in Portrait.
Any ideas on this or the linked OLE issues would be much appreciated. -
Hi all.
So I been working on this project for school, I am making a database and after the user enters a specific entry a PDF will open up in Adobe Reader.
Now that PDF file has hyperlinks that open other PDF files. Now here is where I have my problem.
When I click the hyperlink, a new browser window shows up and shows me the pdf file but for some reason parts of it appear blank. Now if I were to open that same exact file on Adobe Reader I can see it just fine.
The browser that opens up is Mozilla Firefox btw. Any reason on why certain parts will be blank when it open ups in firefox but look perfectly fine if I were to open it on Adobe Reader?
Also this is separate but is there a way to make it so that when you click the hyperlink, the pdf file is opened in a new Adobe Reader window?
Thanks in advance.Most likely because Firefox has its own PDF viewer plugin which is quite buggy, and is unfortunately used by default.
You can set up Adobe Reader as the viewer by following these instructions: http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html -
Problem with PDF viewing Colors not showing correctly (or black and white)
My iMac and my Macbook are both not showing the pictures in a PDF correctly. My collegue who uses a Macbook has no issues.
Im using version 10.7.5 on my macs.
I have tried using the standard ' Preview' as wel as two different free PDF vieuwers from the Appstore.
Also the sender of the document has no issues as wel with the PDF document she made with Indesign.
I'm sure it has to do with my computers, but where do I have to look?
Thanks for helping.
Anything that might be helpfull.Since InDesign documents are truly PDF compliant I would, were I you, use a truly PDF compliant viewer - Adobe Reader.
To learn how Preview can really screw up a PDF document (and this is just a simple form) see -> http://khkonsulting.com/2013/06/preview-app-killer-of-pdf-files/.
Clinton -
Livecycle design 8 Help with PDF forms
I am new to Livecycle 8. I have created a simple PDF form in Livecycle 8 which was orignally an excel form. I set it up with a submit button to submit by email to a designated person. The form is housed on an internal web site for viewers with adobe reader to open and fill out and then submit by email. The goal is for the designated receiver to receive the the same PDF form with the information filled out by the previous viewer. I was successful with the form being emailed to the designated person as long as the peson submitting the form was using adobe professional. If the viewer only has adobe reader, the form would not submit to the designated receiver. Please help?
Reader does not allow a local save of the form and data by default. To be able to add the attachment o an email message a local save must occur. You can Reader Extend your form to allow for this. Open th eform in Acrobat Pro. Under the Advanced menu choose the "Extend Features in Adobe Reader". Follow the wizard and save the result PDF as a different name ....I like to put RE in the name so I know it is Reader Extended. Try the new file.
paul -
Hey there!
I have two issues with online form data collection and am completely stumped. It's a real struggle to find useful documentation for Acrobat forms!
#1 - I have created a form uploaded it to Acrobat.com, and have been able to collect test form data. In the local responses portfolio, I'm able to use the 'Update' button to bring the latest form data into the portfolio. But I would like to have a colleague be responsible for monitoring the form data and we're running into problems. He's able to open the portfolio and has full access, however the 'Update' button is greyed out so he is unable to bring in new form data. We've already updated his 'Acrobat.com' username/password in Acrobat preferences to match mine, but still no luck. Any help?
#2 - Some computers are having issues with electronic submission. My best guess is that this is to do with Acrobat versions, as the issues all seem to come from computers where the form is completed using Acrobat Reader 8. The form was created with Pro 9, and form submission works for both Pro 9 and also Reader 9. Is there something I can do here? (And yes I know that it's a free upgrade to 9, but 8 is still in the official build for our organisation and I don't really have time to wait for them to complete an upgrade!)
Thanks in advance for any help you can give.
JarrodHello Paul,
Thank you for your reply.
I use Ipower for my hosting. I see they use sendmail and the path on the server is - /usr/sbin/sendmail. Would this work?
The way I would like this to work would be:
1) I e-mail the PDF form to the client
2) Client opens and fills in the form
3) They hit submit and the form information eventually gets e-mailed to my business e-mail
I chose to use the HTTP method instead of e-mail because the PDF form says it can not be saved and if the client uses an internet beased e-mail like Yahoo it gets kind of messy.
But, does the HTTP delivery method make it more difficult since this is not embedded in a website?
Sorry, I did not realise this would be as involved as it is. Your help would be greatly appreciated. -
Hello,
I am using Live Cycle for the first time. I have designed a PDF form that my clients will fill out and then send back to me.
I have a website and thought submitting the form via http would be best but am having a problem with knowing the correct URL an then the server authentication.
When I try to submit now I get an authorization error.
Here is the URL I used in LiveCycle - http://watchmymvp.com/profilesubmissions
This is to a folder a created on the server.
How do I set this up?
ThanksHello Paul,
Thank you for your reply.
I use Ipower for my hosting. I see they use sendmail and the path on the server is - /usr/sbin/sendmail. Would this work?
The way I would like this to work would be:
1) I e-mail the PDF form to the client
2) Client opens and fills in the form
3) They hit submit and the form information eventually gets e-mailed to my business e-mail
I chose to use the HTTP method instead of e-mail because the PDF form says it can not be saved and if the client uses an internet beased e-mail like Yahoo it gets kind of messy.
But, does the HTTP delivery method make it more difficult since this is not embedded in a website?
Sorry, I did not realise this would be as involved as it is. Your help would be greatly appreciated.
Maybe you are looking for
-
Is Apple going to fix the problem that iPad Air has with connecting to the server?
Less than a month ago I purchased a 32GB iPad Air, and for the majority of the time I have struggled with server connection. Finally I charged up my old iPad1 and got right on the server so after all the troubleshooting I did with my router I realize
-
How to generate custom report with PDF output?(Payables)
Hi All, we are using some custom reports in payables modual production server the reports are working fine . my question is i need creat same reports in test server i have done following activities. 1. copied rdf file from prod server and pasted into
-
Using values to create a scatter plot in a character array
Ok, I am fairly new to the language and i am working ona program that will first, get the users input of how many values and the x and y of each value, it will store it into a 2d array and also have the x-squared value and X*Y value. I have all the e
-
XI IDOC ORDERS04 create sales order update VBKD_BSARK
Hello I have created a sales order interface from an external partner who sends a file (Purchase order), XI reads and transfers to R/3 via IDOC ORDERS04 to create the sales order. this works fine, but i need the purchase order type field VBKD-BSARK
-
iPhoto is not showing photos stored in albums in the last week, and when I add recent photos, they don't show, or show as black. What's happening ? I show an incompatible upgrade available for OSX Maveriks, which I have not yet installed.