Comment 8 for bug 307471

Revision history for this message
Scott Balneaves (sbalneav) wrote :

I'm going to be digging into this today. For the record, and by way of documentation, here's the *minimum* amount of postscript needed to print out one page on an "Middle" and one page on a "Lower" input slot. You might need to adjust the IncludeFeature lines depending on your InputSlots defined in your printer's PPD.

%!PS-Adobe-3.0
%%Pages: 2
%%BoundingBox: (atend)

%%BeginSetup
%
[{
%%IncludeFeature: *InputSlot Middle
} stopped cleartomark
%%EndSetup

%%Page: 1 1
%%PageOrientation: Portrait
%%PageBoundingBox: 0 0 612 792
%%BeginPageSetup
%
%%EndPageSetup

%Letterhead
/Helvetica-Bold findfont
18 scalefont
setfont
newpath
20 650 moveto
(Letterhead) show
closepath

showpage
%%PageTrailer

%%Page: 2 2
%%PageOrientation: Portrait
%%PageBoundingBox: 0 0 612 792
%%BeginPageSetup
%
[{
%%IncludeFeature: *InputSlot Lower
} stopped cleartomark
%%EndPageSetup

%Letterhead
/Helvetica-Bold findfont
18 scalefont
setfont
newpath
20 650 moveto
(Plain) show
closepath

showpage
%%PageTrailer

%%Trailer
%%BoundingBox: 0 0 612 792
%%Orientation: Portrait
%%Pages: 2
%%EOF