>I use sys(1037) or Getprinter() but still do the printing process when I click cancel button .. why .. please help
Try:
cPrinter = GETPRINTER()
IF EMPTY(cPrinter) && CANCEL PRESS
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."