[SUGGESTION] switching trays in printjob

Kurt Pfeifle k1pfeifle at gmx.net
Fri Sep 7 09:03:32 PDT 2007


Kurt Pfeifle wrote:

>> %%BeginSetup
> [....]
>> %%IncludeFeature: *PageSize A4
>> } stopped cleartomark
>> %%IncludeFeature: *InputSlot Tray3
>> } stopped cleartomark
>> %%EndSetup
> 
> [....]
> 
>> %%Page: 2 2
>> %%PageBoundingBox: 12 12 583 830
>> %%BeginPageSetup
>> %%IncludeFeature: *InputSlot Tray4
>> } stopped cleartomark
>> %%EndPageSetup
> 
> [....]
> 
>> As far as I'm able to read PS, I can see that the actual PS file 
>> contains the tray switching instructions, 
> 
> Yes.

Uhmmm.... actually, no. It does *not* contain valid code to switch
the trays, AFAICS. It pretends to, but it doesn't work like that.

It contains "empty" code only. It should look similar to this:

  %%BeginSetup
  [....]
  %%IncludeFeature: *PageRegion A4
  << /PageSize A4 [595 842] /ImageBBox null >> setpagedevice
  } stopped cleartomark
  %%IncludeFeature: *InputSlot Tray3
  << /MediaPosition 3 >> setpagedevice
  } stopped cleartomark
  %%EndSetup

  [....]

  %%Page: 2 2
  %%PageBoundingBox: 12 12 583 830
  %%BeginPageSetup
  %%IncludeFeature: *InputSlot Tray4
  << /MediaPosition 4 >> setpagedevice
  } stopped cleartomark
  %%EndPageSetup


But before you go and submit a bug report, wait if Mike and/or Helge
chime in to comment (they are the resident PostScript gurus here :-)

-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany




More information about the cups mailing list