ps2pdf convert does not show right characters.


i have ps file generated software system. has characters è , é converted \350 , \351.

 

when use ps2pdf convert ps file pdf Ł , Ø instead.

 

the file encoded in iso8859-15 encoding.

 

actual name : société financière

ps file : soci\351t\351 financi\350re

pdf file : sociØtØ financiŁre

 

follwoing ps code. please me right characters on pdf.

 

%!ps-adobe-3.0

%%title: stdout

%%creator: idttex 8.00.02.01 copyright (c) 2007 intec telecom systems plc

%%creationdate: thu 22 nov 2012 05:41:33 utc

%%pages: (atend)

%%pageorder: ascend

%%orientation: landscape

%%boundingbox: 0 0 612 791

%%documentmedia: letter 612 791 0 () ()

%%documentneededresources: font courier helvetica-bold helvetica

%%endcomments

%%beginprolog

%%beginresource: procset textcommands

/idttexdict 209 dict def

idttexdict begin

/rna 0 def

/a{/rna exch def}bind def

/df{exch findfont exch scalefont setfont}bind def

/x{/xc exch def}bind def

/r{xc add /xc exch def}bind def

/l{xc exch sub /xc exch def}bind def

/y{/yc exch def}bind def

/u{yc add /yc exch def}bind def

/d{yc exch sub /yc exch def}bind def

/t{xc yc moveto show}bind def

/tr{xc yc moveto rna rotate show rna neg rotate}bind def

/lw{setlinewidth}bind def

/l0{[] 0 setdash}bind def

/l1{currentlinewidth 6 mul currentlinewidth 3 mul 2 array astore currentlinewidth 3 mul setdash}bind def

/l2{currentlinewidth currentlinewidth 2 mul 2 array astore 0 setdash}bind def

/ln{xc yc moveto rlineto stroke}bind def

/rb{xc yc translate rna rotate}bind def

/re{rna neg rotate xc neg yc neg translate}bind def

/ro{

rb 0 0 moveto

1 index 0 lineto

1 index 1 index neg lineto

0 1 index neg lineto

0 0 lineto closepath pop pop

}bind def

/ra{

rb dup 0 moveto

2 index 1 index sub 1 index neg 2 index 90 0 arcn

2 index 1 index sub 2 index neg 2 index add 2 index 0 270 arcn

dup 2 index neg 2 index add 2 index 270 180 arcn

dup neg 1 index 180 90 arcn closepath pop pop

}bind def

/rs{

gsave [{/moveto load}{/lineto load}{/curveto load}

{/closepath load}pathforall]cvx

3 1 roll 2 copy cos mul 3 1 roll sin mul translate

exec fill grestore gsave 1 setgray fill grestore

}bind def

/rf{gsave fill grestore}bind def

/rl{stroke re}bind def

/rn{newpath re}bind def

/sb{.1 .1 scale}bind def

/se{10 10 scale}bind def

/boc{gsave sb}bind def

/eoc{grestore}bind def

/bos{gsave se}bind def

/eos{grestore}bind def

/bod{userdict /start-hook known{userdict begin start-hook end}if}bind def

/bop{

save exch

userdict /bop-hook known{userdict begin bop-hook end}if

pop boc

}bind def

/eop{

eoc

userdict /eop-hook known{userdict begin eop-hook end}if

restore showpage

}bind def

/bls{gsave translate 90 rotate}bind def

/els{grestore}bind def

/bb{boc}bind def

/eb{eoc showpage}bind def

/eod{userdict /end-hook known{userdict begin end-hook end}if}bind def

end

%%endresource

%%endprolog

%%beginsetup

%%includeresource: font courier

%%includeresource: font helvetica-bold

%%includeresource: font helvetica

idttexdict begin

/f0{/helvetica 80 df}bind def

/f1{/helvetica 70 df}bind def

/f2{/helvetica-bold 80 df}bind def

/f3{/courier 80 df}bind def

/f4{/courier 100 df}bind def

/f5{/helvetica-bold 90 df}bind def

/f6{/helvetica-bold 100 df}bind def

/f7{/helvetica-bold 70 df}bind def

/c0{0 0 0 setrgbcolor}bind def

bod

%%endsetup

%%page: 1 1

612 0 bls

0 bop

0 a

f5

c0 3432 x 5491 y()t

f6

317 r 177 d()t

f2

177 x 146 d(invoice ica: 14176 soci\351t\351 financi\350re)t

5627 r(invoice #)t

f0

342 r(: 129990000000046)t

f2

177 x 80 d(abc)t

5627 r(customer vat #)t

f0

622 r(: 123456)t

f2

177 x 80 d(paris, )t

5627 r(currency)t

f0

351 r(: usd)t

f2

177 x 80 d(france)t

5627 r(billing cycle date)t

f0

676 r(: nov 08 2012)t

f2

676 l 240 d(page: )t

f0

240 r(1 of  2)t

f5

2662 l 247 d(billing activity detail)t

177 x 95 d l0 4 lw 7554 0 ln

14 d 7554 0 ln

f2

4135 r 97 d(quantity/)t

177 x 94 d(event code)t

567 r(event description)t

2305 r(affiliate)t

366 r(uom)t

942 r(amount)t

1152 r(rate)t

921 r(charge)t

812 r(total charge)t

177 x 36 d 7554 0 ln

14 d 7554 0 ln

157 d(activity ica: )t

f0

498 r(14176  )t

f2

267 r(name: )t

f0

267 r(soci\351t\351 financi\350re)t

f2

177 x 80 d(collection method: )t

f0

742 r(clearing)t

f2

1894 r(billable ica: )t

f0

494 r(14176)t

f2

177 x 160 d(service code: )t

f0

556 r(kq  )t

f2

160 r(name: )t

f0

267 r(kq)t

f1

177 x 75 d(2be56457)t

567 r(luo total cards @ quarter end)t

2737 r(q)t

1061 r(100)t

965 r(20.00)t

926 r(2,000.00)t

1026 r(2,000.00)t

f2

177 x 103 d(total service: )t

f0

676 r(kq kq)t

5541 r(2,000.00)t

1026 r(2,000.00)t

f2

177 x 160 d(total collection method: )t

f0

1085 r(clearing)t

5132 r(2,000.00)t

1026 r(2,000.00)t

f2

177 x 154 d(total customer: )t

f0

765 r(14176 soci\351t\351 financi\350re)t

5452 r(2,000.00)t

1026 r(2,000.00)t

f2

177 x 166 d(total invoice: )t

6217 r(2,000.00)t

1026 r(2,000.00)t

eop

els

%%page: 2 2

612 0 bls

1 bop

0 a

f5

c0 3432 x 5491 y()t

f6

317 r 177 d()t

f2

177 x 146 d(invoice ica: 14176 soci\351t\351 financi\350re)t

5627 r(invoice #)t

f0

342 r(: 129990000000046)t

f2

177 x 80 d(abc)t

5627 r(customer vat #)t

f0

622 r(: 123456)t

f2

177 x 80 d(paris, )t

5627 r(currency)t

f0

351 r(: usd)t

f2

177 x 80 d(france)t

5627 r(billing cycle date)t

f0

676 r(: nov 08 2012)t

f2

676 l 240 d(page: )t

f0

240 r(2 of  2)t

f5

3007 x 247 d(billing activity summary)t

177 x 95 d l0 4 lw 7554 0 ln

14 d 7554 0 ln

f2

77 d(service code)t

567 r(service description)t

6074 r(charge)t

425 r(total charge)t

177 x 37 d 7554 0 ln

14 d 7554 0 ln

156 d(activity ica: )t

f0

498 r(14176  )t

f2

267 r(name: )t

f0

267 r(soci\351t\351 financi\350re)t

f1

177 x 76 d(kq)t

567 r(kq)t

6077 r(2,000.00)t

638 r(2,000.00)t

f2

177 x 157 d(total customer: )t

f0

765 r(14176 soci\351t\351 financi\350re)t

5840 r(2,000.00)t

638 r(2,000.00)t

f2

177 x 240 d(total invoice: )t

6605 r(2,000.00)t

638 r(2,000.00)t

eop

els

%%trailer

eod

end

%%pages: 2

%%eof

you should of course realize pstopdf is not adobe product , should not expect support on adobe forum.

 

what happens if try use adobe acrobat distiller on postscript file?

 

          - dov



More discussions in PostScript Programming


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

Thread: Wine can't find the cd