Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is up setting the print tray?

0 views
Skip to first unread message

Kirk Dickinson

unread,
May 28, 1998, 3:00:00 AM5/28/98
to

Why doesn't this code work to change the printer to the Envelope tray???


method pushButton(var eventInfo Event)

var
PrnOptions PrinterOptionInfo
Rpt Report
endvar

PrnOptions.Papersize=PrnEnv10
PrnOptions.Orientation=PrnLandscape
PrnOptions.DefaultSource=PrnEnvelope

if PrinterSetOptions(prnOptions) then
Rpt.print("__Envelope.RSL")
else
errorShow("Could not set printer options.")
endIf

endMethod


0 new messages