### Install basic build dependencies Source: https://github.com/woglu/pstoedit/blob/main/doc/pstoedit.linux.prerequisites.md Essential packages required for building and running pstoedit. ```bash apt install autoconf apt install libtool apt install pkg-config apt install make apt install g++ apt install ghostscript ``` -------------------------------- ### Install documentation generation dependencies Source: https://github.com/woglu/pstoedit/blob/main/doc/pstoedit.linux.prerequisites.md Packages required for creating the project documentation. ```bash apt install texlive-binaries apt install texlive-latex-base apt install texlive-plain-generic apt install texlive-latex-recommended ``` -------------------------------- ### Install pstoedit on Windows Source: https://github.com/woglu/pstoedit/blob/main/README.md Install the pstoedit binary on Windows using the winget package manager. ```sh winget install pstoedit ``` -------------------------------- ### Install static analysis tools Source: https://github.com/woglu/pstoedit/blob/main/doc/pstoedit.linux.prerequisites.md Optional packages used for static code checking. ```bash apt install cppcheck apt install clang ``` -------------------------------- ### Install optional driver dependencies Source: https://github.com/woglu/pstoedit/blob/main/doc/pstoedit.linux.prerequisites.md Packages required to enable specific optional drivers. ```bash apt install libzip-dev apt install libemf-dev apt install libplot-dev ``` -------------------------------- ### Internet Explorer Applet Parameters Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Configuration examples using the tag for Internet Explorer. ```html or ``` -------------------------------- ### Netscape Navigator Applet Parameters Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Configuration examples for the tag in Netscape Navigator. ```html zoom="yes" or zoom="0.5 1.4" within the tag rotate="-90 45" offset="-100 200" page="3" ``` -------------------------------- ### Install QT GUI dependencies Source: https://github.com/woglu/pstoedit/blob/main/doc/pstoedit.linux.prerequisites.md Package required to enable the QT-based graphical user interface. ```bash apt install qt6-base-dev ``` -------------------------------- ### Build pstoedit from source on Linux Source: https://github.com/woglu/pstoedit/blob/main/README.md Run these commands from the project root directory to build pstoedit using autotools. ```bash sh autogen.sh ./configure make; make install ``` -------------------------------- ### Compile PSDrawing.java Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Compile the PSDrawing source file once using the JDK 1.3 or higher. ```bash javac PSDrawing.java ``` -------------------------------- ### Convert and Compile PostScript to Java Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Convert a PostScript file to a Java class and compile the generated source file. ```bash pstoedit -f java2:myclass myfile.ps myclass.java javac myclass.java ``` -------------------------------- ### Generate and compile pstoedit Java output Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java1/readme_java1.txt Generate a Java class from a PostScript file and compile the resulting source file. ```bash pstoedit -f java:myclass myfile.ps myclass.java javac myclass.java ``` -------------------------------- ### Embed generated Java class in HTML Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java1/readme_java1.txt Create an HTML document using the tag to display the generated Java class. ```html PsDrawing generated by pstoedit This is the applet: ``` -------------------------------- ### Clean build artifacts Source: https://github.com/woglu/pstoedit/blob/main/README.md Use these commands after a full build to remove generated files. ```bash make clean sh rm_generated.sh ``` -------------------------------- ### Cross-Browser Applet Embedding Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Use a combination of and tags to support both Netscape Navigator and Internet Explorer. ```html PSDrawing generated by pstoedit This is the applet: This applet needs support for at least Java 1.2. ``` -------------------------------- ### Compile PsPages and PsDrawing classes Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java1/readme_java1.txt Compile the necessary Java source files required to run code generated by the pstoedit -f java option. ```bash javac PsPages.java javac PsDrawing.java ``` -------------------------------- ### Embed Applet in Internet Explorer Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Use the tag to include the generated applet in an HTML document for Internet Explorer. ```html PSDrawing generated by pstoedit This is the applet: This applet needs support for at least Java 1.2. ``` -------------------------------- ### Embed Applet in Netscape Navigator Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Use the tag to include the generated applet in an HTML document for Netscape browsers. ```html PSDrawing generated by pstoedit This is the applet: This applet needs support for at least Java 1.2. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.
``` -------------------------------- ### Clean build artifacts Source: https://github.com/woglu/pstoedit/blob/main/README.md Use these commands after a full build to remove generated files. ```bash make clean sh rm_generated.sh ``` -------------------------------- ### Cross-Browser Applet Embedding Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Use a combination of and tags to support both Netscape Navigator and Internet Explorer. ```html PSDrawing generated by pstoedit This is the applet: This applet needs support for at least Java 1.2. ``` -------------------------------- ### Compile PsPages and PsDrawing classes Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java1/readme_java1.txt Compile the necessary Java source files required to run code generated by the pstoedit -f java option. ```bash javac PsPages.java javac PsDrawing.java ``` -------------------------------- ### Embed Applet in Internet Explorer Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Use the tag to include the generated applet in an HTML document for Internet Explorer. ```html PSDrawing generated by pstoedit This is the applet: This applet needs support for at least Java 1.2. ``` -------------------------------- ### Embed Applet in Netscape Navigator Source: https://github.com/woglu/pstoedit/blob/main/contrib/java/java2/readme_java2.html Use the tag to include the generated applet in an HTML document for Netscape browsers. ```html PSDrawing generated by pstoedit This is the applet: This applet needs support for at least Java 1.2. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.
This is the applet: