Shadow generation in the PDF Language.
I am working on an application that needs to create PDF files from vector-based imagery.
There appears to be an extension to the language (which may be Mac-specific) that allows
paths to have drop-shadows; however, I can find no discussion of this feature anywhere.
I have checked the PDF reference, the addendums and waded through countless web
pages trying to find more information.
I can create files on the Mac which use the extension through Quartz 2D. Please forgive
my ignorance in some of these matters, but I believe the relevant data from the PDF file is
the following (much is culled for simple viewing):
6 0 obj
<< /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] /ColorSpace << /Cs2 8 0 R
/Cs1 7 0 R >> /ExtGState << /Gs1 20 0 R >> /Font << /F1.0 13 0 R >> /XObject
<< /Im2 11 0 R /Im4 16 0 R /Im3 14 0 R /Im5 18 0 R /Im1 9 0 R >> /Properties
<< /Pl1 21 0 R /Pl2 22 0 R >> >>
endobj
21 0 obj
<< /Type /PropertyList /Style << /Type /Style /Subtype /Shadow /Offset [ 10.22150
-17.19072 ] /Radius 7.543859 /ColorSpace 8 0 R /Color [ 1 0 0 1 ] >> >>
endobj
I am guessing this "/Shadow" and its parameters control a vector-based shadow.
This is clearly not Mac-specific. Viewers, even on the PC, recognize this and render
the file appropriately.
Although the example above is condensed, essentiallly it is drawing a filled rectangle
which has a red shadow beneath it.
Can someone give me some information on this feature, or at least point me in the right
direction to using any API to manufacture it?
Thanks,
Phil
Thank you for the prompt reply.
So the values for Offset and Radius are communicated to some other object in the file
that renders the shadow from that? They can be changed textually (yes, I am aware that
isn't recommended), but trivially changing say the "10.22150" to "40.22150" does translate
the shadow appropriately.
I could post a more complete example; however, I am pretty sure the PDF content operations
are encoded. This file is the result of a "Save as PDF" from the generic Print dialog in Mac
OS X and I don't think I have detailed control over that process.
It sounds like I need to learn more about the PDF content operators and how to use them
to manufacture something like a shadow. I didn't realize they were that powerful. I am
guessing it is doing some sort of filtering with the intensity of the effect being handled through
"Radius".
Phil
Similar Messages
-
How to find the pdf language?
Hi,
My plugin application written in VC++ using acrobat SDK 7 now need to support the japanese document.How can I find the languages present in the given document programatically.
Any help would be appreicated...
Thanks in advance..
SindhA PDF doesn’t necessary have a language. If there is a primary language, it can be found in the Lang key in the Catalog dictionary.
However, you may have a multi-lingual document, where languages are specified via tagging in the structure tree. -
Transparent shadow crossing over the image in pdf output
Hi Folks,
In recent days, we are frequently facing problem in using of tiff format image in InDesign. In pdf output, there is some transparent shadow crossing over the image. The problem occurs in ps to pdf as well as export pdf settings. The issue was not happened for the past 5 years.
If it is a reproducible error, we could find the root cause of the problem. But the same issue does not occur if we create the pdf again. Please see below the differences in viewing of actual image & problematic image and suggest how to resolve this and why it happens.
Issue 1:
Actual view of image shown in left side; Corrupted view of image shown in right side
Issue 2:
Issue 3:
Now I have suggested my team to convert all tiff images to psd image format. I really don't know whether it helps. All I need is to know the root cause of the issue. Anybody please suggest would be really helpful.@Tyson:
In Issue 2, horizontal green color shading is crossing above the play/pause icon in right hand side of the image.
In Issue 3, I have displayed the screenshot of the image placed in InDesign to show the original view of the image. But the problem shows in right hand side that is pdf output view. You can see the horizontal green color shading in 1st image and light grey color shading (at the top of "NO" text) in 2nd image.
Actual & Effective PPi of top of the image --> 597
Actual & Eff. PPI of bottom of the image --> 477
PS to pdf creation:
Crops & bleeds ON, Composite CMYK color output, Image data: All, Postscript: Level3, Data format: Binary, Printer profile: Document CYMK-US. web coated
If you need more details, I'm ready to give you. Please let me know. -
How to place stamp that will change position depending on language version of the PDF
Hi there,
For all of our publications (several types of instruction guides), we are trying to find a solution to place two small black stripes (about 8 mm) at the foot of each PDF. These black stripes have to define what language and what model you have in your hands. After cutting the paper at the printer, only 2 mm of those bars will remain visible. On the left half of the PDF we want to place a language bar indicating what language the publication is. The position for that bar will be unique (English = 10 mm from left border of page; French = 8 mm from left border; and so on until 20 languages).
And another bar will have to be place on the right half of the page, indicating what model it is. This position will be again unique.
We know it's possible inserting stamps on a final PDF. But the key for this job is being able to place them at the exact position. And also creating stamps that can be selected by the operator depending on the languages and models we will send to print (let say we created final PDF for the model B, in German; so the operator can open final PDF in ACrobat, stamp the whole document with the stamp "German", and then once more with the stamp "model B").
Does anybody have a tip how to approach this?
Thanks a lot!Have you considered using the watermark tool to add this information instead of a stamp? You could store all the watermarks in separate files and control the exact placment.
-
Setting the reading language in PDF programmatically
Hi, I have searched the forums and didn't find a reliable post on how to set the reading language for accessibility in a PDF document programmatically. Maybe using a pdfmark or specifying XMP metadata or postscript code, javascript or any other way. Any ideas will be appreciated.
Thanks, this looks very promising. I am using FrameMaker and the FDK. Is
there a way to specify the
Lang key using pdfmark or XMP? I could also embed postscript code if I
knew what the correct code would
be. I don't know much about PDF/PS and any help will be appreciated. -
Content generation error. [Error: Failed to Export the PDF file.]
Hi;
Everytime i try to update an article within a folio in DPS folio builder i get this error :
Content generation error.
[Error: Failed to Export the PDF file.]
My colleague next to me is running exactly the same set up and doesnt get the error. in fact his update anf sideloading is fast as lightning.
the ONLY difference is that im running v28 tools and he is on v27, however wehave another colleague running v28 and his updates work perfectly.
Any ideas lovely community?
ScottHi Bob;
Have tried that one. And again on your suggestion....no luck.
Scott -
"Content generation error. Failed to Export the PDF file"
Building a multi-folio in InDesign 6 Folio Builder V30. Received "Content generation error. Failed to Export the PDF file" on several of the spreads. I have tried reducing the original pdf files sizes, but that did not help.
Any suggestions on other possible causes or way to fix.?
thanks
Christopher Huber
MMNI'm very new to DPS so I hope the following description makes some kind of sense.
My magazine is in the process of doing trial runs for an iPad edition. I'm setting some templates up for us to work off so the process from magazine to iPad will run a lot smoother month to month.
So far I've set up some dummy stock pages in an InDesign CS6 document, currently 15 pages long.
All images are linked and all fonts have paragraph styles applied to them.
I'm at the stage I want to check the document on my iPad to test run font sizes and their legibility.
We have successfully been able to export the document as a jpg file but we really need the PDF format. When attempting this we get the above message.
Sonia. -
hi there, i'm trying to change a PDF document written in arabic to Word document, the problem is (( i can't find the arabic language in adobe )) the question is how to install the arabic language
<moved from Downloading, Installing, Setting Up to Creating, Editing & Exporting PDFs>
-
PDF is converting the Thai Language characters into Junk Characters
Hi,
While converting the SAP Script form to PDF, it is converting the Thai Language characters into Junk Characters. But it is showing correctly if we issue it to a printer. Also it is showing correctly in print preview.
Urgent Help is needed.
Thanks,
srini.Cross post:
Re: PDF is converting the Thai Language characters into Junk Characters -
Hi,
I installed end November last year on my new iMac the CS6 Master Collection. The language and country ist german. All menus and titles are correct. In Safari (8.0.2) PDFs are shown with Acrobat instead of the preview. When I want to save the PDF the pop-up window where to save the file is in english instead of german. How can I set it to be displayed in german?
All menu-items are german, clicking the floppy-symbol will open the shown window. The list-items on the left side are in german but all labels, buttons and titles are english.If you are printing to physical printer from Safari : Use Reader print button from Reader toolbar
If you want to save a PDF from Safari to your local : Use Reader Save button from the Reader toolbar.
PS: if you have PDF in read mode the hover the mouse at the bottom of the page and the floating Reader toolbar will appear.
Please let me know if this solves your issue. -
Is the Greek language available to the: EXPORT FROM PDF?
Is the Greek language available to the EXPORT FROM PDF?
The files that are exported require the fonts to be on your system. Acrobat can not extract fonts, but uses system fonts. If you do not have the fonts one your system, you will probably have substitute fonts that may look crazy. Why not just try it?
-
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
R12 : System Failed to generate the PDF Document.
I am trying to create a PO thru auto create but I hit inquire > View Document , I encountered an error: System Failed to generate the PDF Document. Please contact your system administrator. We just updgrade our instance from 11.5.2.10 to r12.1.2. Any thoughts?
Thanks,
LeoPlease see if these docs help.
System Fails To Generate PDF Document After Clicking "PDF Document" On Supplier Notification When Different Languages Are Used [ID 1078546.1]
PO Email From Tools>Communicate At Same Time of Approval Corrupts PDF File Transmits As .HTML & System Failed to Generate PDF [ID 1287488.1]
Thanks,
Hussein -
Cannot open the pdf when using the xml publisher to generate rtf report
Hello Everyone,
I followed the below link to generate a pdf using xml publisher in OAF.
http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework
When i try to save the pdf and open it, i get the below error:
Adobe Reader could not open the pdf because it is either not a supported file type or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decoded).
Below is the code in CO.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am= (OAApplicationModule)pageContext.getApplicationModule(webBean);
String event = pageContext.getParameter("event");
if("GenerateReport".equals(event))
// Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
try {
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition = "attachment;filename=EmpReport.pdf";
response.setHeader("Content-Disposition",contentDisposition);
response.setContentType("application/pdf");
// Get the Data XML File as the XMLNode
XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
// System.out.println(outputStream.toString());//Testing the output by printing the contents in the outputstream.
ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
// System.out.println("language is "+pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage());
// System.out.println("country is "+pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().geCountry());
//Generate the PDF Report.
TemplateHelper.processTemplate(
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
// APP_NAME,
"PER",
// TEMPLATE_CODE,
"Emp_Template",
// ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
"English",
// ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
"United States",
inputStream,
TemplateHelper.OUTPUT_TYPE_PDF,
null,
pdfFile);
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
response.setContentLength(b.length);
os.write(b, 0, b.length);
os.flush();
os.close();
pdfFile.flush();
pdfFile.close();
catch(Exception e)
response.setContentType("application/pdf");
throw new OAException(e.getMessage(), OAException.ERROR);
pageContext.setDocumentRendered(false);
Any suggestions on this would be great!
Thanks
KumarBelow is the code. Can you change so that that the output can be seen in HTML? I checked the language, country etc and they are fine.
super.processFormRequest(pageContext, webBean);
OAApplicationModule am= (OAApplicationModule)pageContext.getApplicationModule(webBean);
String event = pageContext.getParameter("event");
if("GenerateReport".equals(event))
// Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
try {
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition = "attachment;filename=PrintPage.pdf";
response.setHeader("Content-Disposition",contentDisposition);
response.setContentType("application/pdf");
// Get the Data XML File as the XMLNode
XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
// xmlNode.print(outputStream);
// System.out.println(outputStream.toString());//Testing the output by printing the contents in the outputstream.
ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
// System.out.println("language is "+pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage());
// System.out.println("country is "+pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().geCountry());
//Generate the PDF Report.
TemplateHelper.processTemplate(
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
// APP_NAME,
"PER",
// TEMPLATE_CODE,
"Emp_Template",
// ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
"en",
// ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
"US",
inputStream,
TemplateHelper.OUTPUT_TYPE_PDF,
null,
pdfFile);
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
response.setContentLength(b.length);
os.write(b, 0, b.length);
os.flush();
os.close();
pdfFile.flush();
pdfFile.close();
catch(Exception e)
response.setContentType("text/html");
throw new OAException(e.getMessage(), OAException.ERROR);
pageContext.setDocumentRendered(true);
Thanks -
Three different members of Adobe Support have unfortunately been unable to resolve this problem so I am pinning all of my hopes on my fellow users! Please Help!
I have been sent a PDF by my client (created via their previous agency) which when opened in Reader (not Acrobat) enables me to edit the existing text (in the existing fonts, granted only Helvetica) and re-save it as a hi-res PDF.
I have tried virtually everything to get this to work without success, I can create 'editable fields' but this deletes the existing text and inserts a blank box over the top which I can type into with the default 'Times'.
What will ultimately happen is that I will design the documents in English and then they will be uploaded to an ftp for download at various offices around the world. Therefore they need to translate what we have written but retain the same document design.
I know this is possible because I have the PDF in front of me, I also know that PDFs in essence weren't designed to be editable but apparently it is now achievable and very useful if I can get the blasted thing to work
Very many thanks, your opinions will be most appreciated!
Regards
AdamskidogWell, everything in those PDFs were form fields. You can make form fields in Acrobat - and then you can right-click on 'em and change their appearance, whether or not they'll accept rich text input, whether or not they'll scroll, and so on. It could also be done in LiveCycle Designer, for what it's worth. I wrote a now-obsolete post about this in response to yours before Mike showed up with this video.
Probably most of your work on your designs in InDesign would need to be trashed; you'd need to rebuild the whole thing in Acrobat or LiveCycle. I have to say that, unless your targeted documents are extremely simple, that this is one of the worst document translation workflows I've ever seen in the last fifteen years. It might work - I'm trying to keep an open mind, here - but if you have any non-Latin-script languages in your target list, or if print reproduction is what you're after, or if you're expecting tracking revisions to the translations to be anything but a nightmare, I would suggest that you test this method inside and out before progressing any further.
Maybe you are looking for
-
how can i print out a full sheet of labels using the same contact info numerous times, mailing labels
-
Keyboard letter/number keys not working; Function keys OK
The function keys on my Bluetooth AND USB keyboard work, but none of the letters or numbers work, so I can't log-in in the appropriate field. I can move the icon with the mouse, (Bluetooth or USB) I've tried 2 keyboards, one USB the other Bluetooth,
-
Xtra characters & line in XML file
I have a file with several errors in our xml file created by Oracle, it is adding an extra character in the strings and created a second line for that string, which we have not been able to fix(see example) any ideas would be appreciated. name = "BOX
-
i just upgraded my pc to windows 7 and itunes to 10.4.1, but i can't see the menu items at the top left of itunes. they are there, because if i move my mouse over the area where they should be, i see and can select from the drop down menus. this pr
-
Hello My macbook and now I am trying to sync my iphone on a PC and i was wondering if i do that, will it delete all my contacts, Fotos, Apps and so specially if i want to put music on it`... I know the music is gone if i do that but will the contacts