×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

postscript help

postscript help

postscript help

(OP)
Hi,
i was looking for help with postscript. i have 2 issues i need to insert a jpeg into an existing postscript file? 2 How to re-use an existing image defined in postscript on several pages without calling the entire image again. (example a logo on several pages) always same image in same location once perpage).
Tom please help!!

Thanks,
Dan
current image code does not work; should put image on 10 pages
%!PS-Adobe-3.1
%%Title: Example PostScript File
%%Creator: sample file
0 0 moveto
1 1 10 {
/Id exch def
/myDict 2 dict begin
gsave
/Width 304 def
/Height 235 def
Width Height scale
/DeviceRGB setcolorspace
<< /ImageType 1
/Width Width
/Height Height
/ImageMatrix [Width 0 0 0 Height sub 0 Height]
/BitsPerComponent 8
/Decode [0 1 0 1 0 1]
/DataSource (c:\\temp\\sample.jpg /F) (r) file
/DCTDecode filter>> image
grestore
/str 10 string def
10 10 moveto
/ArialMT 10 selectfont Id str cvs show
showpage
grestore
end
} for
%%EOF % show results

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close