209 questions
1
vote
0
answers
47
views
Fillable pdf using iText does not show values when printing using AirPrint
I'm using iText to populate values in a fillable PDF. While the values appear correctly when the PDF is opened in most viewers, they do not show up when viewed using AirPrint. This issue affects both ...
2
votes
1
answer
68
views
Can I schedule multiple print jobs in parallel using UIPrintInteractionController?
For printing from worker thread to a UIPrinter (whose URL I have saved), I am doing this and able to print:
func PrintPdfDocument (pDocument:Data)
{
// Create a print interaction controller
...
0
votes
1
answer
307
views
UIPrintInteractionController inconsistence on repeated print action
I am trying to print label in a swiftUI using airPrint
My label is a html Code
this is what I am doing :
let printController = UIPrintInteractionController.shared
let printInfo = UIPrintInfo(...
0
votes
1
answer
326
views
UIPrintInteractionController's printToPrinter crash in 'lookupLastUsedPrinter' API call
We are seeing following crash in our codebase (iOS 15) with following call stack in UIPrintInteractionController.
Could anyone please help with your inputs on how we can address following "...
1
vote
0
answers
155
views
Trying to add functionality to be able to air Print a UITableView
I have a (to-do style) list app. the data is laid out in a diffable dataSource tableview with custom cells. I have a functioning dropdown menu and I'm trying to add a print button so the user can ...
0
votes
1
answer
116
views
Can't see navigation bar of UIPrintInteractionController(Swift) in Light mode
Issue with light mode in AirPrint(Swift).
Is there any way to change the colour of the navigation bar?
0
votes
1
answer
2k
views
Swift 5 Error The printer appears to be a different "(Printer name)"
I'm using this function to print directly to printer. The first print is ok but when I try to print another document I get this error:
"The printer "EPSON WF-5710" appears to be ...
1
vote
0
answers
143
views
Create PDF of UITableView to AirPrint Xcode and Swift
Looking for a solution to create a pdf programatically with the contents of my UITabelView with a label on top and allow the users to print on standard A4 paper.
This is my not working code:
...
0
votes
1
answer
1k
views
UIPrinterPickerController not showing on iOS 13
I've been trying to get a UIPrinterPicker to show up but for some reason it just never does. The completion handler gets called immediately. The UIPrintInteractionController shows up just fine but ...
2
votes
1
answer
1k
views
Cancel or Flush AirPrint Jobs from iOS App
iOS has a printing feature known as AirPrint, which does not require to install a specific device driver. My iOS App prints an image data through AirPrint, but sometimes print queue of AirPrint gets ...
2
votes
0
answers
2k
views
How can I set the paper size with SWIFT / iOS, so my thermal printer airprints more than 140mm
I have made an app, and the app needs to print a receipt. I have a star TSP650 II thermal printer that supports AirPrint.
I can print and that works fine. The use of previous selected printer also ...
0
votes
0
answers
149
views
How can I discover what "No AirPrint printers found" means?
I've had generally good experience with the ippserver at https://github.com/istopwg/ippsample on Windows. I've spooled pdf files "printed" from an iPad. I don't rely on Bonjour printer discovery. I'm ...
4
votes
0
answers
152
views
Print a WebView content on duplex (front and back) printer with different margins for front and back
I have a WebView, and want to print it's HTML content via AirPrint. I want to add custom page margins to this content. I was able to achieve it using my own subclass of UIPrintPageRenderer
Now, ...
2
votes
0
answers
641
views
I am trying to generate dns-sd query for _universal._sub._ipp.tcp.local, is there a way to request sub query
I am trying to generate dns-sd query for _universal._sub._ipp.tcp.local, is there a way to request subquery.
ciscos-Mac-mini:~ cisco$ dns-sd -Z _ipps._tcp,_universal
Browsing for _ipps._tcp,...
0
votes
1
answer
1k
views
How iOS detects network printer automatically
POS systems mostly can detect thermal printers automatically, as far as I know there are only two ways for an installed application on ios to do that, either by faking it as an Airprint or going with ...
0
votes
1
answer
197
views
Is there a reason that the text in my PDF is not appearing in the print preview on iOS?
Basically what is happening is I am constructing a PDF file from screenshots of the user's screen. The view contains a table view with text and icons.
Actually going through with the print process, ...
1
vote
2
answers
5k
views
Printing Via Bluetooth on iOS
I am new to iOS development. I have a task to develop an iOS app which connects to Bluetooth printer using Bluetooth and complete a printing task.
I have few questions they are as follows
1) Does ...
4
votes
2
answers
685
views
Missing buttons from AirPrint dialog
I've implemented AirPrinting from my app but I'm facing a strange issue. Whenever the print dialog appears, there are no Cancel or Done/Print buttons displayed, as shown in the following image.
The ...
0
votes
0
answers
233
views
print view controller [duplicate]
I am building an app that uses a bunch of text fields to let the user fill in at a doctors office. They will then hit a print button to print the pdf like page that has been filled out by the user. ...
0
votes
1
answer
2k
views
How to fake an AirPrint printer
I want to write (preferably in C# but that is not essential, and preferably on Windows though, again, that is not essential) something that looks to iOS devices to be an AirPrint printer. I want the ...
3
votes
0
answers
446
views
Printing Webview Content to Airprinter with page breaks
I am trying to print webview content to airprinter. Everything works fine except I am not getting page breaks. I have searched in many forums but I didn't found the solution.
This is my HTML Template
...
0
votes
0
answers
416
views
UIPrintInteractionController Display Printer Connecting Status
I've been using the UIPrintInteractionController with a preselected UIPrinter to allow users of our app to print without presenting the dialog to select a device. One problem we're having, however, is ...
2
votes
0
answers
477
views
How can I get rid of page margins using UIPrintInteractionController for Airprint
I am trying to AirPrint a UIImage using UIPrintInteractionController
this code works successfully except a margin is added to the print preview which is not desirable for me. how can I customize the ...
1
vote
1
answer
394
views
Can't print UIWebView with text color. Why?
I have a UIWebView. I want to print the contents of it using AirPrint. I came up with this code:
@IBAction func print(_ sender: Any) {
let printController = UIPrintInteractionController.shared
...
1
vote
3
answers
1k
views
How to set the Airprint orientation to Landscape in swift?
I have to send an Airprint my WebView in landscape mode.
But I am getting error while setting up my orientation.
I have written this code
let printcontroller = UIPrintInteractionController....