Questions tagged [ipp-protocol]

Internet Printing Protocol, a protocol to print files on Internet/Intranet printers

Internet Printing Protocol is a protocol to print files on Internet/Intranet printers https://en.wikipedia.org/wiki/Internet_Printing_Protocol

31 questions
16
votes
4 answers

Print to specific printer (IPP URI) in Java

Is there any way in Java to print to a specific IPP printer? All of the sample code and tutorials I've found focus on how to print a particular type of document, using something like the following: DocFlavor flavor =…
Jason Day
  • 8,809
  • 1
  • 41
  • 46
11
votes
1 answer

Getting the real user who printed a document to an IPP printer

Currently, I'm trying to programmatically get the name of the user that started a printing job to a mapped IPP printer. I'm struggeling with the fact that the JOB_INFO_2 structure's member pUserName contains the name of the user that is being used…
Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
10
votes
3 answers

What is the simplest way (in python) to print to a remote IPP/CUPS server or printer?

I have a postscript file and want it to be printed on a IPP capable device (or CUPS server). What is the minimal code and dependencies I could get away with to do that. Using LPR or libcups gives me lot of cross-plattform dependencies. So my first…
max
  • 29,122
  • 12
  • 52
  • 79
9
votes
2 answers

Printing using IPP without drivers (IPP Client)

I have a device/appliance that you cannot install drivers for. I would like to add the ability to support network/IPP/AirPrint printers by having the user add the IP Addresses. Since I am not printing through windows (which would use the IPP), how…
Paul Knopf
  • 9,568
  • 23
  • 77
  • 142
8
votes
3 answers

How to: simulate an (IPP) printer

I'd like to test out some features that IPP should have (namely, monitoring the number of impressions made; see this question) but I haven't got the hardware yet. How can I simulate such a printer? Is there code for a dummy IPP printer? I'll be…
Yuval
  • 3,207
  • 32
  • 45
6
votes
3 answers

How to use ipp(Internet Printing Protocol) with HTTP to print file in android?

I want to print file from android application.For the same , after searching on google,I found some useful information that i will have to use IPP (Internet Printing Protocol) with HTTP. And I am new to ipp but i have worked with HTTP. So can…
Ramesh Solanki
  • 2,961
  • 4
  • 28
  • 44
6
votes
1 answer

Use IPP(Internet Printing Protocol) or LPR(Line printer Remote) to print file in android

My requirement is to print a file from an android device without using any cloud based service. I have been able to achieve it using "Raw" print protocol i.e by simply sending the file to printer's IP address at Port 9100. Here is the code snippet…
Exception
  • 2,273
  • 1
  • 24
  • 42
5
votes
0 answers

How to create a virtual printer using Node.js

I try to create virtual printer like this I tried to use ipp-printer module create virtual printer but I can't add my printer var fs = require('fs') var Printer = require('ipp-printer') var printer = new Printer({name:"my-printer",…
otaroo
  • 83
  • 3
  • 10
4
votes
2 answers

CUPS returns 'complete' on jobs which are still printing

I am communicating with CUPS using IPP protocol. I have all drivers for my printers installed in CUPS (using .ppd file) and printers got latest firmware. When I query a job which a printer printing right now it says that the job's state is …
Jakub
  • 1,037
  • 8
  • 21
4
votes
1 answer

Printing from Android over AirPrint?

Is this possible? I checked out printing to an AirPrint printer from Android, but it was closed for "not being a question" (I don't really know why, it seemed like a legitimate question to me) and the only answer to it totally doesn't answer the…
Wakka02
  • 1,491
  • 4
  • 28
  • 44
3
votes
2 answers

Is it possible to send an ipp print job from the browser?

Is it possible to send an IPP Print request from the browser using ajax? I assume it would look something like this: // Data to be sent var data = "Testing\nTesting\n1\n2\n3"; // Jquery AJAX call $.ajax("ipp://:631", { 'type':…
Josh Mc
  • 9,911
  • 8
  • 53
  • 66
3
votes
1 answer

How to send image with text to printer using IPP protocol

I have a program where I am sending command to the printer using IPP protocol from a node.js server. I am using here var ipAddress='127.0.0.1'; var Printer = ipp.Printer("http://".concat(ipAddress).concat("/ipp/print")); var dt = ""; dt =…
3
votes
2 answers

How to dissect a CUPS job control file '/var/spool/cups/cNNNNNN'?

When printing a job to a CUPS server, you can set up the cupsd.conf parameters PreserveJobHistory and PreserveJobFiles to control how many jobs you want to keep. CUPS always temporarily stores the actual print job files in directory…
Kurt Pfeifle
  • 86,724
  • 23
  • 248
  • 345
3
votes
0 answers

Easy way to extract print job payload from IPP packets

Is there any tool existing or any shortcut that can be used to extract print job payload from IPP packets(captured via wireshark utility)? Write now I'm manually inspecting/dissecting the packets byte per byte which is kind of excruciating…
green_t
  • 2,997
  • 3
  • 21
  • 18
3
votes
2 answers

IPP over HTTP: getting 400 bad request as a response

I'm on iOS and I'm trying to send a HTTP POST request to create a print job on a printer through a Mac which acts as a IPP server. I can correctly print using airprint, I'm trying now to go low-level because I need to send raw data to the printer.…
Andrea Sprega
  • 2,221
  • 2
  • 29
  • 35
1
2 3