aboutsummaryrefslogtreecommitdiffstats
path: root/plpprint/prolog.ps.in
diff options
context:
space:
mode:
Diffstat (limited to 'plpprint/prolog.ps.in')
-rw-r--r--plpprint/prolog.ps.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/plpprint/prolog.ps.in b/plpprint/prolog.ps.in
index 4321eaf..a2e9b52 100644
--- a/plpprint/prolog.ps.in
+++ b/plpprint/prolog.ps.in
@@ -156,4 +156,21 @@ putinterval def
grestore
end
}bind def
+/I{
+ 7 dict begin
+ /rows exch def
+ /cols exch def
+ twips /ury exch def
+ twips /urx exch def
+ twips /lly exch def
+ twips /llx exch def
+ /ibuf cols string def
+ gsave
+ llx top lly sub translate
+ urx llx sub lly ury sub scale
+ cols rows 8 [cols 0 0 rows neg 0 rows]
+ {currentfile ibuf readhexstring pop} image
+ grestore
+ end
+}bind def
%%EndResource