I want to send a string to a printer from an iPad using code.
The trouble is, I want to connect to the printer using wifi, and then send a string to it for printing. But I don't know how to connect to the printer, and how to send the string, hope someone can help me. Thanks.
The printer and the iPad are in the same local area off-line, I want to use the socket to transfer the content that I want to print through the IP address of the printer.
If the printer is configured as an AirPrinter then it's fairly easy using UIPrintInteractionController.
Related
Working on a project I need to print barcode labels from ASP NET Core with Blazor on a Zebra printer
I have already researched everywhere and found that it can be done with JSPrintManager, but you have to pay to use it.
My questions are:
Since the printer uses ZPL code, how to send ZPL code to the printer connected on the USB client side, is there any method, TCP, method or library?
Is it possible to print in some other way without using ZPL code?
For example, having a list of products and pressing a button that prints the labels with their barcode and product description directly
either
Let it load a preview and then print the eqtieutas
I have a IP camera, i need to capture the image from it.
I have no idea how to do this is Vb.net 2010
Please help me. in simple code
Thank You
The DevExpress CameraControl displays a video stream from a video capture device (a webcam) and allows you to save snapshots.
https://docs.devexpress.com/WindowsForms/114582/controls-and-libraries/editors-and-simple-controls/camera-control
I need to send the following command to a Zebra Label Printer:
q270
everything I can find online tends to be in C# and I'm working in VB.Net
I was hoping this would be as simple as an example I found online
which basically was
Dim sb As StringBuilder
sb.AppendLine("q270")
RawPrinterHelper.SendStringToPrinter(printername, sb.tostring())
but RawPrinterHelper appears to be a class I don't have, every example if this I can find is in C#. They also appear to be for sending a much more complex string of text to the printer. So I am getting a little lost in it all.
Can anyone assist in sending the single q270 command to the printer?
The printer is a Zebra LP2844. It prints these little sticky labels. The command I'm sending is a EPL command.
Thanks in advance
I'm currently pulling HTML data from a database and displaying it in a WebBrowser control in my VB.Net application so that it's correctly rendered. The next step is to print it, but I need to be able to send it to a specific printer rather than the default printer. How can I accomplish this?
You might check this thread
Printing From WebBrowser control prints to wrong printer after setting default
Basically, remember the current default printer, set the desired printer as default, print, then restore the original default printer.
How can I print report directly to the printer, instead of viewing it on screen?
Thanks / Furqan
You may need to use the web service to call the report, receive the byte stream and print directly.
http://msdn.microsoft.com/en-us/library/ms152787.aspx