Nov 10, 2015 #1 tinac99 Programmer Jan 17, 2002 58 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
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
Nov 11, 2015 #2 mbalent Programmer Sep 20, 2001 853 US 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" http://www.anvil-of-time.com Upvote 0 Downvote
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" http://www.anvil-of-time.com