[comp.sys.mac.programmer] Need help with printing routine

gt4586c@prism.gatech.EDU (WILLETT,THOMAS CARTER) (09/01/90)

i'm writing an application which will draw some graphs to the screen, and
i wan't to be able to print the graphs as well.  i've followed the example
printing loop in Inside MacIntosh Vol II.  I am able to successfully
create a print record and call PrJobDialog.  However, when I then try
to open a printing graph port with PrOpenDoc, i get PrError = -49 and
I can go no further.  What is this error?  Does anybody have an example
they could send me to try?  Thanks.


-- 
thomas willett 
Georgia Institute of Technology, Atlanta  
gt4586c@prism.gatech.edu
"Violence is the last refuge of the incompetent." - Salvor Hardin (Foundation)