Open arcfide opened 12 years ago
A fairly standard approach is to generate something to pipe to the appropriate print command (eg, pipe to lp / lpr / xpp); of course, the command is usually selected via a print dialog This could probably be ANSI text, though I'm not sure.
The print dialog is already in place to support this. LPR is probably what
the original system used, and it seems like the most compatible interface
to use now as well. Everything is in there except the actual call and pipe
to the subprocess lpr. The only thing that has to be assured is that you
send the internationalized data correctly.
Aaron W. Hsu | arcfide@sacrideo.us | http://www.sacrideo.us לֵ֤ב חֲכָמִים֙ בְּבֵ֣ית אֵ֔בֶל וְלֵ֥ב כְּסִילִ֖ים בְּבֵ֥ית שִׂמְחָֽה
dtpad(1) does not have the printer enabled right now.