Hi list, last year Joerg Dietze suggested to use Ghostscript for graphical print from Arachne. This was working, however, only for West European charset ISO-8859-1.
Now Christopher Suchecki from Poland found a way how the postscript files produced by Arachne (hot key Alt + P) can be converted into proper postscript files for East European languages. If the Arachne ps output is glued together with a prologue file containing the correct font information it will be readable and printable to any printer through Ghostscript. The following is a modification of Joerg's instructions from April 2001. 1. Get a DOS version of Ghostscript supporting East European fonts ----------------------------------- GS for DOS is being compiled by Piotr Strzelczyk from Poland. Available for download - the latest version is 7.05: 1. ftp://sunsite.icm.edu.pl/pub/GUST/contrib/PS-supp 2. ftp://ftp.gust.org.pl/TeX/GUST/contrib/PS-supp/ 3. Author's FTP - rather slow, even in Poland ftp://ftp.eps.gda.pl/gsX.XX/gsXXXYYY.zip Piotr is in communication with Alladin to make MS-DOS port back to main distro. Download the fonts from DOS or Linux version of GS (later than 6.0) Install Ghostscript and test it with East European PS or PDF files. Put the parameters necessary for printing to your local printer to a parameter file in Arachne directory (a parameter file is necessary because otherwise the command line will become too long for DOS). You mayy want to choose the file name after the printer model, eg. hplj.par. Here is an example for printing to HP laserjet: -Ii:/appl/gs/;i:/appl/gs/ps_view/;i:/appl/gs/fonts/ -q -sDEVICE=ljet4 -sPAPERSIZE=a4 -r400 -dBATCH -dNOPAUSE The first parameter -I contains the path for Ghostscript binary, scripts and fonts. You will have to modify it according to your installation. The parameter -r can be used to optimize the resolution on your printer. 2. Get the prologue file ------------------------ The file is 4.5 kb written by Radim Gelner <[EMAIL PROTECTED]> I have posted it on my website: http://www.volny.cz/lange/latin2.ps copy it to Arachne directory. 3. Modify Arachne files ------------------------ a) Add the following to the file "ps.ah" in \arachne\system\gui directory: --------------------------------- <TABLE CELLSPACING=1 BORDER FRAME="void"> <TD BGCOLOR=SILVER ALIGN=RIGHT> <FONT 3D=2><B>Print via Ghostscript</B></FONT> <A HREF="arachne:back"><IMG SRC="file://pidizrus.ikn" HEIGHT=16 WIDTH=16 BORDER=0> <TR><TD BGCOLOR=SILVER><FONT COLOR=BLACK> <FORM ACTION="file://printgs.dgi"> <TABLE CELLSPACING=0 CELLPADDING=0> <TD><INPUT TYPE=RADIO NAME="" VALUE="">Latin 1 <TD><INPUT TYPE=RADIO NAME="" VALUE="m:\latin2.ps" CHECKED>Latin 2 <TD ALIGN=RIGHT><INPUT TYPE=SUBMIT VALUE="Print"> </TABLE> </TABLE> <BR> b) Add the following line to mime.cfg: ------------------------------------- file/printgs.dgi |call gsara.bat _4prt.ps hplj.par $s c) Create the following script file "gsara.bat" and place it in \arachne\ directory ------------------------------------------------- @echo off rem>output.ps if not "%3"=="" if exist %3 type %3>output.ps type %1>>output.ps if exist %2 i:\appl\gs\gs @%2 output.ps Regards Christof Lange
