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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing PS files

Status
Not open for further replies.

jmcq

Technical User
May 10, 2002
2
IE
When printing PS files, is there any way to fit more than one written page onto a printed page? For example tiling 4 pages onto one.
 
Yes, you would use the /BeginPage and /EndPage arguments to setpagedevice.

Here's a sample of how to do 2-up. Yes, sorry, you do need to know PostScript programming to build this and/or modify it.

<< /BeginPage
{ 612 0 translate 90 rotate
18 18 translate
.618 dup scale
2 mod 1 eq
{ 612 0 translate } if
[ 0 0 612 792 ] dup
rectstroke rectclip
} bind

/EndPage
{ 0 ne
{ false }
{ 2 mod 1 eq }
ifelse
} bind
>> setpagedevice
 
The best way I find is by getting hold of ghostview: files gs704w32.exe and gsv43w.exe on
when you've installed them, you can display you ps file. Install a HP laserjet printer (with postscript) such as &quot;HP laserjet 4/4m postscript&quot; and set it to print to file.

Then while displaying you first ps file on ghostview you can select the HP printer to print to file which allows you to produce 2-up or 4-up printing and then display the new ps file on ghostview and print a hard copy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top