Skip to main content
Participant
May 19, 2017
Question

Not able to get any output

  • May 19, 2017
  • 1 reply
  • 498 views

Hello everyone ,

For Postscript V3.0 drivers as I have customized driver  as per our requirement  to select input tray as “Tray 2” for page 1 (Printer model :- APEOSPORT-V C5575),

I checked document on XEROX website http://www.office.xerox.com/support/dctips/dc05cc0359.pdf(Page7)  as mentioned below,

And per shown above I programmed to send the output to tray-2 for first page .But unfortunately I couldn’t get any output from tray-2 ,but rest of the pages came from other trays where input tray’s default setting has been done .

Could you please validate if following PS code which has been sent to printer is correct to take input from tray-2.

==================================

%%Page: 1 1

%%PageBoundingBox: 0 0 595 842

%%PageOrientation: Portrait

%%BeginPageSetup

/#copies 1 def

mark {

<</MediaPosition (2)>> setpagedevice

} stopped cleartomark

/strspage save def

true setstrokeadjust

0 lj 0 lc 10 ml

%%EndPageSetup

strspage restore

showpage

%%PageTrailer

%%Page: 2 2

%%PageBoundingBox: 0 0 595 842

%%PageOrientation: Portrait

%%BeginPageSetup

/#copies 1 def

==================================

Many thanks in advance.

Regards,

Mukund

This topic has been closed for replies.

1 reply

Participating Frequently
May 22, 2017

Try /MediaPosition 2

(2) is a string and it should  be an integer.

Participant
May 23, 2017

First of all ,Thanks for your response.

Initially I had thought the same and looked to remove the bracket ,but it is being written by standard application and for other printers it usually works.I can only change variable in it like tray number , I can't change standard settings of the application which is proprietary of some other company.

Any other suggestions please let me know.

Regards,

Mukund

Participating Frequently
May 23, 2017

%mark {

<</MediaPosition (2)>> setpagedevice

%} stopped cleartomark

The stopped is catching your error, if you remove it as shown above with the comment = %

the code errors. Just try changing (2) to 2.