Specifications
A-4
Guide to Printers and Printing
The calculation of wJ begins by pushing the value of _Q, the paper size override for the
input paper source, onto the stack. The value of _Q is defined as %IwQ. As formatted by
the lsvirprt command, wQ is defined as follows:
Paper or Envelope Size For the Paper Source Selected By the –O
and –u Flag Values (Refer to the s0, s1, s2, s3, and s4
attributes)
wQ =
%?%GWu%{0}%=%t%Gs0%e%GWu%{1}%=%t%Gs1%e%GWu%{2}%=%t%Gs2%e%GWu%{3}%
=%t%Gs3%e%Gs4%;%d
%? <IF>
%GWu PUSH: (Calculate value for paper source based on
_O and _u.)
%{0} PUSH: (Integer Constant 0)
%= PUSH: (pop2 = pop1 ?)
%t <THEN>
%Gs0 PUSH: (PAPER SIZE for manual paper feed)
%e <ELSE>
%GWu PUSH: (Calculate value for paper source based on
_O and _u.)
%{1} PUSH: (Integer Constant 1)
%= PUSH: (pop2 = pop1 ?)
%t <THEN>
%Gs1 PUSH: (PAPER SIZE for tray 1 (upper))
%e <ELSE>
%GWu PUSH: (Calculate value for paper source based on
_O and _u.)
%{2} PUSH: (Integer Constant 2)
%= PUSH: (pop2 = pop1 ?)
%t <THEN>
%Gs2 PUSH: (PAPER SIZE for tray 2 (lower))
%e <ELSE>
%GWu PUSH: (Calculate value for paper source based on
_O and _u.)
%{3} PUSH: (Integer Constant 3)
%= PUSH: (pop2 = pop1 ?)
%t <THEN>
%Gs3 PUSH: (ENVELOPE SIZE for envelope feeder)
%e <ELSE>
%Gs4 PUSH: (ENVELOPE SIZE for manual envelope feed)
%; <END>
%d POP –> ASCII String –> OUTPUT
The calculation of wQ begins by pushing the value of Wu, onto the stack. As formatted by
the lsvirprt command, the value of Wu is defined as follows:
Calculate value for paper source based on _O and _u.
Wu =
%?%CO%t%?%G_O%{1}%=%t%?%Cu%t%?%G_u%{2}%>%t%{4}%e%{0}%;%e%{0}%;%e%
G_u%;%e%G_u%;%d