Re(3): Joining pcl and jpg in Gimp.
* From: Gary Dale <garydale@rogers.com>
* Date: Fri, 29 Jun 2012 21:07:31 -0400
> Have you tried OpenPCL Viewer?
peter@dalton:~/Downloads$ java -jar openpclviewer-installer.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.10)
at javax.swing.plaf.basic.BasicLookAndFeel.initialize(libgcj.so.10)
at javax.swing.UIManager.setLookAndFeel(libgcj.so.10)
at javax.swing.UIManager.<clinit>(libgcj.so.10)
at java.lang.Class.initializeClass(libgcj.so.10)
at com.izforge.izpack.installer.GUIInstaller.loadLookAndFeel(Unknown Source)
at com.izforge.izpack.installer.GUIInstaller.<init>(Unknown Source)
at java.lang.Class.newInstance(libgcj.so.10)
at com.izforge.izpack.installer.Installer.main(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: cannot open shared object file: No such file or directory
at java.lang.Runtime._load(libgcj.so.10)
at java.lang.Runtime.loadLibrary(libgcj.so.10)
at java.lang.System.loadLibrary(libgcj.so.10)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.10)
at java.lang.Class.initializeClass(libgcj.so.10)
at java.lang.Class.forName(libgcj.so.10)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.10)
...8 more
Appears that AWT toolkit or something containing that must be installed.
* From: <noelamac@gmail.com>
* Date: Sat, 30 Jun 2012 09:28:43 +0000 (UTC)
> ... use a tool to convert the pcl file into something more
> manageable, like PostScript or PDF. ... GhostPDL (binary
> is "pspcl6") ...
peter@dalton:~/ghostpdl-9.05$ make pcl
cd ./gs/tiff && ./configure --disable-jbig
checking build system type... i686-pc-linux-gnu
...
make[2]: Entering directory `/home/peter/ghostpdl-9.05/main'
gcc -O2 -Wall -Wundef -Wstrict-prototypes -Wmissing-declarations -Wmissing-proto
types -Wpointer-arith -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-com
mon @HAVE_MKSTEMP@ @HAVE_SSE2@ @HAVE_BSWAP32@ @HAVE_BYTESWAP_H@ @HAVE_SYS_TIME_H
@ -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long" -DPCL_INCLUDED -I../gs
/base -o ./obj/aux/genconf ../gs/base/genconf.c
gcc: @HAVE_MKSTEMP@: No such file or directory
gcc: @HAVE_SSE2@: No such file or directory
gcc: @HAVE_BSWAP32@: No such file or directory
gcc: @HAVE_BYTESWAP_H@: No such file or directory
gcc: @HAVE_SYS_TIME_H@: No such file or directory
make[2]: *** [obj/aux/genconf] Error 1
make[2]: Leaving directory `/home/peter/ghostpdl-9.05/main'
make[1]: *** [pdl-product] Error 2
make[1]: Leaving directory `/home/peter/ghostpdl-9.05/main'
make: *** [pcl] Error 2
Thoroughly opaque to me.
At that point I chose to position the drawing on the printer
output by binary search (euphemism for trial and error).
Then print the drawing. Then scan it with Gimp. Inelegant
but done.
A skilled draughtsman of a century ago would have put my
efforts to shame by a factor of 10 or 100!
Thanks for the ideas, ... Peter E.
-- 3456789 123456789 123456789 123456789 123456789 123456789 123456789
Telephone 1 360 639 0202. Bcc: peter at easthope.ca
"http://carnot.yi.org/ " "http://members.shaw.ca/peasthope/index.html#Itinerary "
Reply to: