Can anyone pls tell me how to use ghostscript to print files using powerbuilder 10.5
what files I need to add. what version of ghostscript I need to use. different version for vista/xp/win 7.
Assuming that what you're looking for is printing via datawindow’s SaveAs command to PDF...
ll_rc = dw_report.saveas(ls_filename, PDF!, false)
...you'll need Ghostscript installed (available) in two locations:
C:\Program Files (x86)\Sybase\gs
C:\Program Files (x86)\Sybase\Shared\PowerBuilder\gs
The second folder is for the PowerBuilder IDE.
I’m using Ghostscript version 8.7.1. It works fine with PowerBuilder 11/12/12.5 in both Win XP and Win 7 environments.
Not sure about PB10.5 and more recent GS versions. The older Ghostscripts can be found here:
http://downloads.ghostscript.com/public/
Hope this helps.
Related
I have downloaded and installed the iReport 4.5 using te Windows installer. But when I try to start the iReport it shows the splash screen but does not start.
My JRE version is 8.
There's another way if you don't want to have older Java versions installed you can do the following:
1) Download the iReport-5.6.0.zip from https://sourceforge.net/projects/ireport/files/iReport/iReport-5.6.0/
2) Download jre-7u67-windows-x64.tar.gz (the one packed in a tar) from https://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
3) Extract the iReport and in the extracted folder that contains the bin and etc folders throw in the jre. For example if you unpack twice the jre-7u67-windows-x64.tar.gz you end up with a folder named jre1.7.0_67. Put that folder in the iReport-5.6.0 directory:
and then go into the etc folder and edit the file ireport.conf and add the following line into it:
For Windows
jdkhome=".\jre1.7.0_67"
For Linux
jdkhome="./jre1.7.0_67"
Note : jre version may change! according to your download of 1.7
now if you run the ireport_w.exe from the bin folder in the iReport directory it should load just fine.
don't uninstall anything. a system with multiple versions of java works just fine. and you don't need to update your environment varables (e.g. java_home, path, etc..).
yes, ireports 3.6.1 needs java 7 (doesn't work with java 8).
all you have to do is edit C:\Program Files\Jaspersoft\iReport-nb-3.6.1\etc\ireport.conf:
# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
jdkhome="C:/Program Files/Java/jdk1.7.0_45"
on linux (no spaces and standard file paths) its that much easier. keep your java 8 for other interesting projects...
iReport does not work with java 8.
if not yet installed, download and install java 7
find the install dir of your iReport and open the file: ireport.conf
(you will find it here: iReport-x.x.x\etc\ )
change this line:
#jdkhome="/path/to/jdk"
to this (if not this is your java 7 install dir then replace the parameter value between ""s with your installed java 7's path):
jdkhome="C:\Program Files\Java\jdk1.7.0_67"
While ireport does not officially support java8, there is a fairly simple way to make ireport (tested with ireport 5.1) work with Java 8. The problem is actually in netbeans. There is a very simple patch, assuming you don't care about the improved security in Java 8:
http://hg.netbeans.org/jet-main/diff/3238e03c676f/openide.util/src/org/openide/util/WeakListenerImpl.java
I didn't even use the exact netbeans source used by ireport. I just downloaded the latest WeakListenerImpl.java in full from the above repository, and compiled it in the ireport directory with platform9/lib/org-openide-util.jar in the compiler classpath
cd blah/blah/iReport-5.1.0
wget http://hg.netbeans.org/jet-main/raw-file/3238e03c676f/openide.util/src/org/openide/util/WeakListenerImpl.java
javac -d . -cp platform9/lib/org-openide-util.jar WeakListenerImpl.java
zip -r platform9/lib/org-openide-util.jar org
I am avoiding running eclipse just to edit jasper reports as long as I can. The netbeans based ireport is so much lighter weight. Running Eclipse is like using emacs.
I fixed this on my PC,
on my environment
iReport was iReport-5.1.0 ,
both jdk 7 and jdk 8 had been installed.
but iReport did not load
fix:-
1. Find the iReport.conf
//C:\Program Files (x86)\Jaspersoft\iReport-5.1.0\etc
Open it on text editor
copy your jdk installation path
//C:\Program Files (x86)\Java\jdk1.8.0_60
add jdkhome= into the ireport.conf file
jdkhome="C:/Program Files (x86)/Java/jdk1.8.0_60"
Now iReport will work
It works only with JRE 1.7
just download it and extract to your prefered location
and use the following command to open the iReport
ireport --jdkhome Path To JDK Home
With ireport 4.7.1, after setting jdkhome in etc/ireport.conf, ireport.exe doesn't start. No splash, no window.
When I launch ireport_w.exe in a cmd, I get this message:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Solution:
In file etc/ireport.conf, on the line starting with default_options, I have reduced the value of -J-XX:MaxPermSize to 256m instead of 512m
default_options="--branding ireport -J-Xms256m -J-Xmx512m
-J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=256m"
I have installed IReport 5.6 with Java 7: not working
I tried to install Java 6 and added the path to "ireport.conf" file like the attached screenshot and it worked fine :D
So the steps is :
Install IReport 5.6
Install JDK 6
Edit "ireport.conf" file like the below image and Enjoy ;)
I was tired of searching on google how to run iReport with java 8.
I did everything as said on the Internet,But I don't know why they weren't work for me.
Then I Change My Computer JDK Current Version form 1.8 to 1.7 Using Registry Editor.
Now it work fine.
To Change Current Version
Start => Type regedit (Press Enter) => HKEY_LOCAL_MACHINE => SOFTWARE =>
JavaSoft => Java Development Kit => Change Key Value of CurrentVersion From 1.8 to 1.7
For me, the combination of Stuart Gathman's and Raviath's answer in this thread did the trick in Windows Server 2016 for iReport 5.6.0.
In addition, I added a symlink within C:\program files\java\jre7 to jdk8 like this:
cmd /c mklink /d "C:\program files\java\jre7\bin" "C:\Program Files\Java\jdk1.8.0_181\bin"
because iReport was constantly complaining that it could not find java.exe within C:\program files\java\jre7\bin\ - So I served it the available java.exe (in my case V8.181) under the desired path and it swallowed it gladly.
so I am trying to compile openjdk8 from sources, but I am stuck at missing files problem in the end of compilation process...
Here is the software that I use:
Windows 7 SP1 x64
Windows SDK for Windows 7.1
Microsoft .NET Framework 4
Visual Studio 2010 Express Edition
GNU make 3.82 (compiled by myself)
Freetype 2.3 (compiled by myself)
Oracle JDK 1.7 update 71
Direct X 9.0 (August 2009)
Cygwin
Here are the manuals which I was reading from:
Official README
Royvanrijn's build guide
Some other build guide
Build guide using MSYS
With all these guides I am able to let it compile, however during the Building Images - step , I get an error that some files are missing ( and they are indeed missing ) , which makes me think that something has gone wrong during the build...
There are several points where I afraid I might be doing something wrong...
Cygwin
Right now I use cygwin version 2.8. The openjdk configure script requires cygwin version >1.7 but fails to recognize that 2.8 is greater than 1.7 and throws me an error, so i've tweaked the script (made build work like 2 months ago)...
./configure
My configure command looks as follows:
./configure --disable-ccache --with-freetype=/cygdrive/c/freetype
Maybe I need more arguments here to make it work ( note that i've copied self compiled make executable to cygwin bin folder, so that i dont need to provide its location )
Visual Studio C++ 2010 Express
I would rather try Professional Trial version, but it cannot be found anywhere anymore... (except torrents...) I have a strong feeling that Express version is not suitable for openjdk build. I also get that error with missing ammintrin.h file, but it is easily resolved by creating the empty header file in the include folder of Visual Studio installation.
My basic procedure of building is:
Install all the software above
hg clone http://hg.openjdk.java.net/jdk8/jdk8
./get_source.sh
./configure --disable-ccache --with-freetype=/cygdrive/c/freetype`
make clean images
However, here how it ends :
Does anyone have any clue of how to solve this?
I found the proper fix: using the Cygwin installer, downgrade Grep to 2.27, which properly ignores CRLF line endings.
Run the Cygwin setup (e.g. setup-x86_64.exe)
Advance through the setup wizard until you get to the package selection
Choose "Full" from the View drop-down menu
Type "grep" into the search field
Click the icon in the New column until it shows a 2.x version (2.27 as of this writing)
Click Next and then Finish.
I found myself in the same position as you, except in my case I need OpenJDK build to be repeatable, so "run make repeatedly until it finishes" wasn't an acceptable solution.
Through some experimenting, I found the root cause:
grep was failing because the file being processed had Windows line endings (CRLF)
The Windows line endings were due to the fact that the file is generated by a Java app (fixpaths) which emits platform-native line endings
Identifying fixpaths led me to an old OpenJDK e-mail thread, which reported that some users were having the same problem and fixed it by downgrading.
This gave me the idea to try downgrading grep. I did so, and it worked.
So, after couple of days at this task my only approach was to ignore the errors with the missing files and continue extracting files... This resulted in still working jdk image, which i currently use. My guess is that the errors come frome Oracle boot jdk. Since i am compiling an openjdk, it cannot find oracleJDK files in its headers and thus produces errors.
So, if anyone also gets same errors a me, try to ignore the missing files error and continue the images build.
I want use emacs24.5 on my windows10 64bit laptop and I want use https ,but when I download gnuutil32 from sourceforce and add all dlls into emacs installations bin directory .it does not work,somebody can tell me what's wrong?
I started to use emacs-24.3-bin-i386.zip, I had the same problem as you, I copied the gnuutil32 dlls into emacs's bin and it doesn't work.
So I think the dlls may work on mingw32, I download emacs-25.1-x86_64-w64-mingw32.zip, the mingw32 version, and the gnuutil32 dlls as well.
If you use 64bit emacs, you may find alternative 64bit dlls.
I'm trying to build a packaged open web app with mozilla-apk-cli. But when I try it tells me I need to install unzip and zip from Info-zip. But the Info-zip site is beyond dated and the .msi I ran from there doesn't appear to have done anything.
I'm on Windows 8.1 64bit.
How am I expected to do this?
Until #Ozten fixes this, you might want to just get some binaries somewhere else, like gnuwin32 (zip, unzip) and put then somewhere in your PATH.
I'm the author of mozilla-apk-cli. I don't develop on Windows, so I need your help!
1) I'll do some digging, I assumed (wrongly) that Info-zip would install on Windows 8.1 64-bit
2) What is the preferred tool for zip/unzip from the command line on Windows 8.1? Can you point me at it's documentation?
Thanks for your help in improving mozilla-apk-cli.
Also: I've filed https://github.com/mozilla/apk-cli/issues/3
Update: I've documented how to install Info-ZIP. Thanks to Myk and nmaier.
I've tested this fix on Windows 8.1 and was able to build an APK.
I have downloaded and installed the iReport 4.5 using te Windows installer. But when I try to start the iReport it shows the splash screen but does not start.
My JRE version is 8.
There's another way if you don't want to have older Java versions installed you can do the following:
1) Download the iReport-5.6.0.zip from https://sourceforge.net/projects/ireport/files/iReport/iReport-5.6.0/
2) Download jre-7u67-windows-x64.tar.gz (the one packed in a tar) from https://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
3) Extract the iReport and in the extracted folder that contains the bin and etc folders throw in the jre. For example if you unpack twice the jre-7u67-windows-x64.tar.gz you end up with a folder named jre1.7.0_67. Put that folder in the iReport-5.6.0 directory:
and then go into the etc folder and edit the file ireport.conf and add the following line into it:
For Windows
jdkhome=".\jre1.7.0_67"
For Linux
jdkhome="./jre1.7.0_67"
Note : jre version may change! according to your download of 1.7
now if you run the ireport_w.exe from the bin folder in the iReport directory it should load just fine.
don't uninstall anything. a system with multiple versions of java works just fine. and you don't need to update your environment varables (e.g. java_home, path, etc..).
yes, ireports 3.6.1 needs java 7 (doesn't work with java 8).
all you have to do is edit C:\Program Files\Jaspersoft\iReport-nb-3.6.1\etc\ireport.conf:
# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
jdkhome="C:/Program Files/Java/jdk1.7.0_45"
on linux (no spaces and standard file paths) its that much easier. keep your java 8 for other interesting projects...
iReport does not work with java 8.
if not yet installed, download and install java 7
find the install dir of your iReport and open the file: ireport.conf
(you will find it here: iReport-x.x.x\etc\ )
change this line:
#jdkhome="/path/to/jdk"
to this (if not this is your java 7 install dir then replace the parameter value between ""s with your installed java 7's path):
jdkhome="C:\Program Files\Java\jdk1.7.0_67"
While ireport does not officially support java8, there is a fairly simple way to make ireport (tested with ireport 5.1) work with Java 8. The problem is actually in netbeans. There is a very simple patch, assuming you don't care about the improved security in Java 8:
http://hg.netbeans.org/jet-main/diff/3238e03c676f/openide.util/src/org/openide/util/WeakListenerImpl.java
I didn't even use the exact netbeans source used by ireport. I just downloaded the latest WeakListenerImpl.java in full from the above repository, and compiled it in the ireport directory with platform9/lib/org-openide-util.jar in the compiler classpath
cd blah/blah/iReport-5.1.0
wget http://hg.netbeans.org/jet-main/raw-file/3238e03c676f/openide.util/src/org/openide/util/WeakListenerImpl.java
javac -d . -cp platform9/lib/org-openide-util.jar WeakListenerImpl.java
zip -r platform9/lib/org-openide-util.jar org
I am avoiding running eclipse just to edit jasper reports as long as I can. The netbeans based ireport is so much lighter weight. Running Eclipse is like using emacs.
I fixed this on my PC,
on my environment
iReport was iReport-5.1.0 ,
both jdk 7 and jdk 8 had been installed.
but iReport did not load
fix:-
1. Find the iReport.conf
//C:\Program Files (x86)\Jaspersoft\iReport-5.1.0\etc
Open it on text editor
copy your jdk installation path
//C:\Program Files (x86)\Java\jdk1.8.0_60
add jdkhome= into the ireport.conf file
jdkhome="C:/Program Files (x86)/Java/jdk1.8.0_60"
Now iReport will work
It works only with JRE 1.7
just download it and extract to your prefered location
and use the following command to open the iReport
ireport --jdkhome Path To JDK Home
With ireport 4.7.1, after setting jdkhome in etc/ireport.conf, ireport.exe doesn't start. No splash, no window.
When I launch ireport_w.exe in a cmd, I get this message:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Solution:
In file etc/ireport.conf, on the line starting with default_options, I have reduced the value of -J-XX:MaxPermSize to 256m instead of 512m
default_options="--branding ireport -J-Xms256m -J-Xmx512m
-J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-XX:MaxPermSize=256m"
I have installed IReport 5.6 with Java 7: not working
I tried to install Java 6 and added the path to "ireport.conf" file like the attached screenshot and it worked fine :D
So the steps is :
Install IReport 5.6
Install JDK 6
Edit "ireport.conf" file like the below image and Enjoy ;)
I was tired of searching on google how to run iReport with java 8.
I did everything as said on the Internet,But I don't know why they weren't work for me.
Then I Change My Computer JDK Current Version form 1.8 to 1.7 Using Registry Editor.
Now it work fine.
To Change Current Version
Start => Type regedit (Press Enter) => HKEY_LOCAL_MACHINE => SOFTWARE =>
JavaSoft => Java Development Kit => Change Key Value of CurrentVersion From 1.8 to 1.7
For me, the combination of Stuart Gathman's and Raviath's answer in this thread did the trick in Windows Server 2016 for iReport 5.6.0.
In addition, I added a symlink within C:\program files\java\jre7 to jdk8 like this:
cmd /c mklink /d "C:\program files\java\jre7\bin" "C:\Program Files\Java\jdk1.8.0_181\bin"
because iReport was constantly complaining that it could not find java.exe within C:\program files\java\jre7\bin\ - So I served it the available java.exe (in my case V8.181) under the desired path and it swallowed it gladly.