HP3000-L Archives

September 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Wirt Atmar <[log in to unmask]>
Reply To:
Date:
Thu, 6 Sep 2001 12:24:18 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Mark remarks:

> Someone on HP-UX seems to have a GNU solution called recode.  I have not
>  looked for the source, but I would imagine that this would be an easy port:
>
>  From: http://www.hp-eloquence.com/sdb/html/899906321.html
>
>
----------------------------------------------------------------------------
>  ----
>  Title:  Character set conversion for printing on Windows
>  Document:  899906321
>  Author:  Michael Marxmeier
>  Keywords:  recode,windows,printer,charset
>
>
----------------------------------------------------------------------------
>  ----
>
>  To convert your printer output on Windows, you can use the GNU recode tool:
>  GNU `recode' can convert data between character sets and usages. We have
>  compiled GNU recode tool for the Windows platform. You can download it from
>  our from our ftp server at ftp://ftp.marxmeier.com/eloq/misc/.
>  To recode HP Eloquence printer output, you can define a printer (in this
>  example connected to LPT1) like shown below. The ... specifies the path
>  where the recode.exe program is installed.
>
>  PRINTER 1 PIPE "C:\...\Recode.exe -w LPT1: roman8:latin1"
>
>  Gunnar Klevefors ([log in to unmask]) added: To get it to work on a WinNT
>  Workstation [with networked printers using UNC notation] you can't use
>  backslashes. Use a definition like below (this must be a single line):
>  PRINTER 17 PIPE "C:\...\Recode.exe -w //SERVER/Oki521
>                                             roman8:latin1"
>
>  It doesn't make your HTML safe, but it looks like it does the character set
>  translation.

Heck, rather than "port" anything, you could write this program in BASIC in
about three minutes (plus whatever time it took to type in the table) -- and
you could make it do whatever you wanted it to do: translate the Roman8
symbols to ISO-Latin-1 or "HTML safe" sequences (or Swahili). It's only about
five lines of code.

Wirt Atmar

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2