How to insert a .png image to postscript file that with /ASCII85Decode filter /LZWDecode filter.
In linux, I want to develop a customed printer driver.
when print a document, I have get the postscript file send to postscript printer driver, the file content is shown below:
%!PS-Adobe-3.0
%%BoundingBox: 0 0 612 792
%%HiResBoundingBox: 0 0 612.00 792.00
%%Creator: GPL Ghostscript 910 (ps2write)
%%LanguageLevel: 2
%%CreationDate: D:20151103175615+08'00'
%%Pages: 1
%%EndComments
%%BeginProlog
currentfile /ASCII85Decode filter /LZWDecode filter cvx exec
J.'GP1)YJ2:a-L/6rF=&5]f",9VMV4PfsINPg$$lJV;<[.@O%03.smQ('PQ#V^%=ggiP:i9P6m1
&e,,#6QsIUEP1^W4j%>VfmLeP21i['0XteJ5'-rMBI73qYi]MqRS:_)[:!GtMG0%^!tgdCBfAL(
FIC*'*+_5Lbn>92]]a#cSAZ&>A@c2Y\jd2S!P$:g'tTf,7oM*o%:D37/I$S.]\mgscphMRIG413
(Z=Q;")5F8)`Qr"=NfCOoQ)ibUD`CCLE1_#S2=*J!5rCj3Lri1"+f$rI5+n6R8\*imVK6JF'6bb
...
In this file, contains some string in /ASCII85Decode filter /LZWDecode filter, what is meaning of this string, what contents does it contained? And how to generate this string.
And now, I want to edit this postscript file, and add a .png image to print content. How can I do?
Thank you for your help!
