Am 09.09.2014 um 10:59 schrieb Sergio Tamborini <ml_ser...@system-i.it>:

> Hi there!
> 
> In one of my app (Mac only) I create a pdf, and I print it.
> Now I print using COreGraphics, and I have some issue on color calibration 
> (my printed documents seems darker than the original). I thought to try to 
> print without using CG, but I have no idea what I have to do...

like this:

  // select a PDF
  dim f as FolderItem = GetOpenFolderItem("")
  if f = nil then Return
  
  // open PDF
  dim doc as new PDFDocumentMBS(f)
  
  // define some print setting via PrintInfo
  dim PrintInfo as new NSPrintInfoMBS
  
  // start print operation
  dim printOperation as NSPrintOperationMBS = doc.PrintOperation(printinfo)
  
  printOperation.showsPrintPanel = true
  printOperation.showsProgressPanel = true
  
  call printOperation.runOperation

with next plugin.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to