UIPrintInteractionController is the central class for printing in iOS
Questions tagged [uiprintinteractioncntrler]
75 questions
37
votes
4 answers
Dismissing of UIPrintInteractionController
I'm using UIPrintInteractionController presenting it from rect.
UIPrintInteractionController *controller = [UIPrintInteractionController sharedPrintController];
// than set printing settings
...
if (UI_USER_INTERFACE_IDIOM() ==…

Anastasia
- 3,024
- 1
- 23
- 34
7
votes
1 answer
UIPrintInteractionController, turn off Double-sided option?
When using UIPrintInteractionController,
it is easy to turn off the 'page range' and 'number of copies' options
UIPrintInteractionController *pic =
[UIPrintInteractionController sharedPrintController];
pic.delegate = self;
pic.printInfo =…

Fattie
- 27,874
- 70
- 431
- 719
6
votes
1 answer
List accessible AirPrint Printers
I would like to show a list with all printer accessible by the device via AirPrint.
I get it working with using the UIPrinterPickerController.
Is there anyway displaying this PickerController in a custom way, let's say feeding the data into a…

smnk
- 471
- 1
- 6
- 25
6
votes
1 answer
Printing PDF file that's displayed in a WKWebView
I’m trying to print from a WKWebView. Webpages and images are working fine.
Only when I print a PDF file the pages are all blank.
This is the code I've used to create a printController:
let printController =…
user5087998
5
votes
1 answer
Print paper size and content inset
I'm using following code to print HTML content containing text and images.
if (![UIPrintInteractionController isPrintingAvailable]) {
UIAlertView *alertView = [[[UIAlertView alloc]
initWithTitle:NSLocalizedString(@"Printer Availability…

Mustafa
- 20,504
- 42
- 146
- 209
5
votes
1 answer
UIPrintInteractionController not working properly in iOS 13 beta device
When I try to load printer in objective c code the printer view goes out of the screen. Can anybody look into this?
I have tried with delegate methods of UIPrintInteractionController
but presenting the printer controller goes to out of the…

Graycodder
- 447
- 5
- 15
5
votes
1 answer
UIPrintInteractionController printingItems not showing up / working
Pretty straightforward...
I consider myself a fairly well-seasoned iOS developer these days, but this one seems like a glaring bug in iOS, unless I missed something.
Please see the code below.
The file paths point to two one-page PDFs.
What shows up…

iOS4Life
- 226
- 2
- 13
5
votes
2 answers
UIPrintInteractionController borderless printing
I am working on the iPhone app using print image concept using UIPrintInteractionController. I have stuck at one point i.e. border, whenever I tried to print any image using printer it always show border on all sides which is not required. Image…

Minkle Garg
- 723
- 3
- 9
- 35
4
votes
1 answer
UIPrintInteractionController crashed on "Cancel" button clicked on iOS 14 only
My code is :
UIPrintInfo *pi = [UIPrintInfo printInfo];
pi.outputType = UIPrintInfoOutputGeneral;
NSString *url=[[req URL] absoluteString];
pi.jobName = url;
pi.orientation = UIPrintInfoOrientationPortrait;
pi.duplex =…

Tahir Pasha
- 361
- 3
- 14
4
votes
1 answer
Color print preview not showing UILabels
In iPad print preview not showing UILabels. When I zoom in the print preview it showing properly. When I changed UILabel opaque property to true it will change the UILabel's background to black and display on print preview. This is the code I used…

anas.p
- 2,246
- 19
- 26
4
votes
1 answer
Skipping the Printing UI in IOS 8?
I could find some code for skipping the Printing UI and direct print through the Air Printer.But the code was incomplete. The code is below,
UIPrinterPickerController *printPicker = [UIPrinterPickerController…

dineshthamburu
- 1,131
- 12
- 20
4
votes
3 answers
Printing Pdf using AirPrint causes small output
I trying to print a pdf with UIPrintInteractionController that it load in the UIWevView. The good news is that i can print the bad is that the output of the print is to small.
any help would be appreciated :)
- (IBACTION) printPDF {
if…

Armanoide
- 1,248
- 15
- 31
3
votes
1 answer
'showsPageRange' is deprecated
I have this warning "'showsPageRange' is deprecated: first deprecated in iOS 10.0 - Pages can be removed from the print preview, so page range is always shown." that I would like to remove. This is my code
printController.showsPageRange =…

Dee Fun
- 75
- 9
3
votes
1 answer
UIPrintInteractionController Not Presenting Multiple Pages
This issue has just appeared with iOS 13 and was not a problem prior. If I am presenting the UIPrintInteractionController controller with a single image, everything works fine. If I submit with more than one image, the print controller will not be…

C6Silver
- 3,127
- 2
- 21
- 49
3
votes
1 answer
IOS print pdf in A4 Format
I'm trying to print a PDF from my UIWebView, but the output PDF does not fill the A4 format. Why? How do I resolve that?
Any help will be greatly appreciated =)

Armanoide
- 1,248
- 15
- 31