Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postscript Cover Page

Status
Not open for further replies.

tpercy

Programmer
Oct 3, 2002
19
US
I have a demo.ps file that prints out demo on all documents. I would like to add code to print out a cover page that prints the username before each document. Can someone help with an example of the code needed. Thanks.
 
PostScript doesn't interact with the OS that way. Keep in mind that PostScript is device independent, and is primarily meant to be interpreted by "output devices", such as printers and high-end print production machines. Such devices have no concept of "username".

The typical way to handle this is to write a program in a "typical" language such as Visual Basic or C++ that gathers all of the custom data you want, such as username, and then emits a PostScript program which includes that data.



Thomas D. Greer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top