How to print the content of a WKWebView using printOperation(with:)? First try let info = NSPrintInfo.shared let operation = printOperation(with: in ...
How to print the content of a WKWebView using printOperation(with:)? First try let info = NSPrintInfo.shared let operation = printOperation(with: in ...
I want to Print NSTableVIew data as multi page print preview but print preview shows only first few records rest pages are empty.I am using below code ...
We have an app that has many reports, and some of those reports have complex print loops. Back in the day (IE PowerPlant , Carbon, Core Printing) we ...
I'm using [[NSPrintOperation printOperationWithView:drawingView] runOperation]; and I get this view: There is no option to choose between Landscape ...
Let's say that I have a three page report that I want to print out, first page is portrait orientation, second page is landscape, and third page is ag ...
I have an app which displays a PDFView, and I want it to print the PDF file from the view. Also, I want the Print panel to show the Page Setup Accesso ...
I've been using what seems to be a standard way of generating prints/PDF's on MacOS by using a WebView to generate the contents and the following to p ...
I have a custom NSView that I want to print. After setting things up with the NSView and the print options, I make this call: "theContext" is alway ...
I'm working with Swift 4 for macOS and I can load a HTML string into my web view and print this with my code: Is it possible to apply different pri ...
I have the following lines of code to print the webView content. The problem is that it sometimes causes the application to crash when the user int ...
I am trying to print data populated in an NSTableView through a custom NSView. When the print command is issued by the user, the custom NSView contain ...
When using NSPrintOperation and setting showsPrintPanel to true, the view prints just fine, however when I set the property to false, the view does no ...
I'm having an issue printing from my desktop application on macosx. I built a view in my IB file that I use for printing. Then a call my action that t ...
I'm using this code to print a Pdf file: I also have this in my code: it prints the Pdf file but app always crashes... I guess there's something ...
I am working on file manager. I have stored their local urls in my core data. I have file and folder, but I want to print png, jpeg, docx and pdf from ...
I have set the following code: Now I would like to set the orientation to Landscape, but I can't find any Swift functions that do this. ...
In my app for Mac I have a webview that shows some html content. I create a PDFDocument from that webview and then I want to print that document. So I ...
I am creating an NSView and it prints fine with this piece of code : I also have this code in applicationDidFinishLaunching Now if i try to over ...
WebKit 1 exposed the WebFrameView where I could call a print operation. With WKWebKit API I can't seem to figure out how to perform a similar actio ...
I am using (NSPrintOperation *)printOperationWithView:(NSView *)aView printInfo:(NSPrintInfo *)aPrintInfo method to print a view in my OS X app. All w ...