On May 3, 2010, at 14:02, Christiaan Hofman wrote:

> On May 3, 2010, at 19:54, Maxwell, Adam R wrote:
> 
>> It might be worth changing the code to use a hardcoded page size instead of 
>> using NSPrintInfo, since it's been problematic before when printer settings 
>> get screwed up.  Running anything through the printing system is usually a 
>> pain unless it's absolutely necessary, and that was a big help in the Quick 
>> Look plugin and FileView text icons.  In fact, if it's just for display, 
>> wouldn't imageablePageBounds potentially give a landscape page?  
>> 
> 
> It's not just the page bounds, the print info is also used to generate the 
> PDF itself.

In the particular case of using the previewer to create a status string, there 
doesn't seem to be a reason to use the printing system instead of 
dataWithPDFInsideRect:, as formerly done (I don't think that use 
NSPrintOperation, but could be wrong).  I know my old code had some issues, but 
we've also seen a fair number of hangs from using NSPrintInfo, unfortunately.  
No big deal…just my random thought for the month.



------------------------------------------------------------------------------
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to