[bedevtalk] BPrintJob questions

Sergei Dolgov sergei_d at fi.tartu.ee
Mon Feb 27 15:52:21 BRT 2006


Hello, people.

1) DrawView(BView *viewtoprint
BeBooks says that viewtoprint must be attached to window.
Does it meant that we cannot print (directly) view attached to BBitmap? 
(As far as my own experience shows, drawing at BBitmap also heavily inolves 
app_server, so i'm unsure how to interpret that sentense from BeBook)

2)BeBook says that DrawView() results in calling viewtoprint->Draw().
As i understand the idea, app_server here hooks all drawing instructions, but 
renders using printer driver, instead "screen driver").
But there are some questions here
a)when DrawView returns - when returns viewtoprint->Draw() ? 
b)What to do if viewtoprint->Draw() is really very asynchronous by 
implementation, e.g. it only sends somewhere message with update rect as 
content?
Should we wait somewhere some kind of feedback from that drawing-worker and 
call SpoolJob only then?


Regards, Sergei Dolgov



More information about the bedevtalk mailing list