How to render "Michpal" files (*.mxd) in debian ?

How to render "Michpal" files (*.mxd) in debian ?

Aviram Jenik aviram at jenik.com
Thu Jul 14 11:53:03 IDT 2011


With a lot of help and assistance from Herouth Maoz, I got this script
to generate printable .ps files from the michpal files that show
multiple paystubs:


#!/bin/sh

iconv -f CSPC862LATINHEBREW -t iso-8859-8 $1 | sed
"s/\x1B\x31\x30\x0D/\x0C/g" | a2ps --lines-per-page=55 --columns=1
--no-header --landscape -o $2


The key is 'iconv', and you may have to play with the encoding.

I'll be shocked if this will actually work for you 'out of the box'
since they seem to change format between versions. But it should give
you a good start.

I wish I had my email thread with Herouth handy - she gave me the exact
steps how to find out the encoding and transform it to something sensible.

Good luck!

- Aviram


On 07/14/2011 05:40 PM, Boris shtrasman wrote:
> Hi,
> 
> I need to render and print "Michpal" paychecks (תלושי שכר),I've tried
> using wine + michpal but it just crashed (the michpal soft).
> 
> How can I render and print the data so it could be counted as a paycheck ?
> 
> p.s.
> 
> I figured out part of the file format (but I can't find what each
> letter represents) using
> http://mirror.hamakor.org.il/archives/linux-il/10-2004/12057.html but
> the data does not look valid (i.e incorrect field names , can't figure
> out what are the sick days etc).
> 
> I've got that the font should be Times New Roman.
> 
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



More information about the Linux-il mailing list