As mentioned elsewhere if you are using P10 try passing your report arguments via an array
var
daratRpi dynarray[] anytype
LabelPrn string
endvar
printerSetCurrent(LabelPrn)
daratRpi["name"] = "MailLabels"
daratRpi["panelOptions"]=PrintClipToWidth ;solves xtra...
In Paradox10 you have to pass reports arguments via an array thus-
var
daratRpi dynarray[] anytype
LabelPrn string
endvar
printerSetCurrent(LabelPrn)
daratRpi["name"] = "MailLabels"
daratRpi["panelOptions"]=PrintClipToWidth ;solves xtra blank page problem...
var
daratRpi dynarray[] anytype
LabelPrn string
endvar
printerSetCurrent(LabelPrn)
daratRpi["name"] = "MailLabels"
daratRpi["panelOptions"]=PrintClipToWidth ;solves xtra blank page problem
r.print(daratRpi)
This is the Paradox10 way to handle reports
I didn't know about seticon() either<g> Whilst we are in that corner of the form etc does anyone know how to get rid of these [brackets] around the title of the form set with settitle() on form open?
Thanks Lance for your brave reply. Vlad Menkin, guess you know him from paradox comunity, has a friendly (& free!)API on his Web site which boasts getFileCreationDate(). I am going to try this first. Will let you know how I get on.
I want to change a font attribute, say, color of a field in a report depending on its value. This is easy in a form with objectPal but how do you do it in a report?
Regards,
Len Carne
This works
printerSetCurrent("Panasonic KX-P1150,Panasonic KX-P1150,LPT1:")
This doesn't
printerSetCurrent(printvar)
If the enduser wants to change printers we need the latter option. Any work around folks??
Greetings from England
Len Carne
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.