Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PrintOpen returns a -1

Status
Not open for further replies.

tinac99

Programmer
Jan 17, 2002
58
0
0
US
Hi all,

Does anyone know why a PrintOpen() returns a -1?

I was able to print a Word document to a network printer from the computer.

I am using PowerBuilder 10.5 build 4523 on a Windows XP 2002, Service Pack 3.

Thanks,

tinac99
 
Are you using a long to capture the return value? If so try a Ulong (unsigned long).

What happens if you specify a jobname and the showprintdialog boolean (PrintOpen('mytest', TRUE))?

Matt

"Nature forges everything on the anvil of time"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top