Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8385631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:43:16+00:00 2026-06-09T17:43:16+00:00

i have a c# application in which i want to insert a message in

  • 0

i have a c# application in which i want to insert a message in postscript file, so i created a form like

%%BeginResource: form myfrm
/myfrm 
<<
/FormType 1
/BBox [ 0 0 771 618] def
/Matrix [1 0 0 1 0 0] def
/PaintProc{pop
..........
}
>> /Form defineresource pop
%%EndResource

when i insert in page in page
like this

newpath
gsave
3800 5025 translate
3221.875 2575 scale
myfrm execform
grestore
closepath

it gives me error when i view in ghostview. Any suggestion what i am doing wrong , previously what i was doing was create an image from text and insert in as EPS form it is working great but ps file size was increased.and also if possible can i insert a textbox in postscript.

after edit :-

/myfrm 
<<
/FormType 1
/BBox [ 0 0 771 618] 
/Matrix [1 0 0 1 0 0] 
/PaintProc{pop
0 0 moveto
(my name is ali) show
}
>> def

.....
.....
.....
newpath
gsave
3800 5025 translate
3221.875 2575 scale
myfrm execform
grestore
closepath 

but no text is shown

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:43:17+00:00Added an answer on June 9, 2026 at 5:43 pm

    This PostScript code works for me:

    %!
    /C60 {/Courier findfont 60 scalefont setfont 30 700 moveto} def
    
    /myfrm
       <<
         /Matrix [ 2 3 .1  2 0 0 ]  
         /PaintProc
            {
               /Helvetica findfont 24 scalefont setfont
               10 10 moveto
               (Your name is Haider) show
            }
         /BBox [ 0 0 450 100]
         /FormType 1
      >> def
    
    C60 (Page 1) show myfrm execform showpage
    C60 (Page 2) show myfrm execform showpage
    C60 (Page 3) show myfrm execform showpage
    

    Is this what you’re looking for?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have created an application which we want to run in a 64 bit
I have an application in which there is a form which I want to
In my application, I have a FormView which allows Insert's and Update's. I want
I want to place one txt file (which have insert statements) of size 273
I have an application in which I want to authenticate a user from a
I have a server application which I want to protect from being stopped by
I have an iPhone application which in which I want to perform a method
I have written an application in which I want to convert a .jpg image
I have developed the application in which i want to set the background color
I have a scientific application for which I want to input initial values at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.