You are correct , it didn't work but at least I have a better starting point. iconv failes to parse the text using the provided encodings :
@[email protected] @J,�iconv: illegal input sequence at position 22 the first few lines I get are (hd) so I'm not sure it is the dos encoding : 00000000 40 57 4e 40 56 39 2e 30 30 2e 30 30 36 32 0a 40 |@[email protected]. @| 00000010 01 4a 2c 00 00 aa c0 ff ff 40 02 01 00 00 00 32 |.J,[email protected]| 00000020 19 00 00 40 06 01 00 00 00 01 40 05 06 01 00 00 |...@......@.....| 00000030 00 05 01 aa 00 00 00 8c 0a 00 00 00 00 00 00 54 |...............T| 00000040 69 6d 65 73 20 4e 65 77 20 52 6f 6d 61 6e 00 00 |imes New Roman..| 00000050 02 00 00 02 da 2a 00 00 c9 de ff ff a0 2b 00 00 |.....*.......+..| 00000060 80 d1 ff ff 00 ee f2 f8 eb fa 20 ee e9 eb f4 ec |.......... .....| 00000070 20 32 30 30 30 20 ec e7 e9 f9 e5 e1 20 f9 eb f8 | 2000 ...... ...| 00000080 2c 20 e8 ec 27 20 30 33 2d 35 36 31 39 34 37 35 |, ..' 03-5619475| But I'm still searching for a workaround On Thu, Jul 14, 2011 at 11:53, Aviram Jenik <[email protected]> wrote: > 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 > > [email protected] > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >
_______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
