Hi Bob,
I'm having some problems with this command - i'm using sesame 1.0.4
i've set up 2 local printers on my PC (same printer) the default is set as a portrait printer.
The "second" printer has been set up in landscape mode & i've called it "landscape"
I've set up a command button to print from the form with the following programing
if file# ="28" then AlternateDefaultPrinter("landscape")
Newpage(825,1150)
Printstring(type,20,35,0,"BARIAL",48,0) Printstring("DEADLINE",600,35,0,"ARIAL",33,0) Printstring(DEADLINE,600,70,0,"ARIAL",33,0) Printstring("INITIATED BY:- ",20,80,0,"ARIAL",16,0) Printstring(INITIATED BY,-1,-1,0,"ARIAL",16,0) Printstring(le2,20,150,0,"ARIAL",30,0) Printstring(customer,30,150,0,"ARIAL",30,0) Printstring(location, -1, -1,0,"ARIAL",30,0) Printstring(grade, -1, -1,0,"ARIAL",30,0)
finishpage()
the output still prints as portrait
what have i missed out ?
many thanks in advance
|