Skip to main content
Known Participant
December 2, 2017
Question

Header Lost in Post Script File in Page Number 2

  • December 2, 2017
  • 2 replies
  • 389 views

Hi All,

I am using the following Line in PS file for Page 1 and 2.

I need that while printing 1st page to be printed from Tray1 and next pages from Tray2 Onwards

For Page 1 i am using

%%Page: 1 1

<</Duplex false>> setpagedevice

<</Duplex false /PageSize  [595 842] /Tumble false>> statusdict begin 0 setpapertray end

For Page>1 I am using

%%Page: 2 2

<</Duplex true/PageSize [595 842] /Tumble false>> statusdict begin 2 setpapertray end

%%PageOrientation: Portrait

My Problem is that I could not see the Header Portions in Page two. It cuts away using the above lines.

Here is my PS file

Dropbox - 1000244289.ps

Kindly Guide

Thanks

This topic has been closed for replies.

2 replies

Legend
December 4, 2017

You shouldn't be using the two different methods of tray selection. I suspect that setpapertray completely overrides your setpagedevice options with whatever page size it is hard coded to assume. This is basically an obsolete call.

code_boxAuthor
Known Participant
December 2, 2017

Pls See File Here

Dropbox - 1000244234.ps

Kindly Guide