Questions tagged [cups]

CUPS is the standards-based, open source printing system for Mac OS X and other UNIX®-like operating systems.

CUPS (formerly an acronym for Common Unix Printing System) is a modular printing system for Unix-like computer operating systems which allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer.

More information at

  1. http://en.wikipedia.org/wiki/CUPS
  2. http://www.cups.org/
420 questions
7
votes
2 answers

How to get reason CUPS job was stopped?

How do I get the reason a CUPS print job failed, via the CUPS API? Using the CUPS API, I printed two jobs that failed to print. On the CUPS web interface, I can see why they failed: "Unsupported print data." and "Unable to write print…
Jacob Marble
  • 28,555
  • 22
  • 67
  • 78
7
votes
1 answer

CUPS Linux: Help printing these media types: MS Excel, MS Word and HTML

I need to print MS Excel, MS Word and HTML files in a Linux CUPS server. When i try to print thses media types following occurs and this is what i've found till now: For MS Excel and MS Word files: When i try to print a file like these the error…
Alvarob
  • 79
  • 1
  • 6
7
votes
1 answer

Pass data from java to cups filter

I'm working on the printing system, and need to add arbitrary text to each printed document (like author, document hash, some sysvars and else). We use Java Printing Service (javax.print) as printing client and Cups as server. Cups has some…
Oroboros102
  • 2,214
  • 1
  • 27
  • 41
6
votes
1 answer

Is "raster" is a specific format or a general term (regarding CUPS printing library)

I have seen related to the CUPS library, these two files: OpenPrinting/cups-filters/blob/master/filter/imagetoraster.c OpenPrinting/cups-filters/blob/master/cupsfilters/raster.c I'm not sure what the raster.c does exactly yet, but imagetoraster.c…
Lance
  • 75,200
  • 93
  • 289
  • 503
6
votes
1 answer

Can I send print jobs directly from a python program to the IP address of a CUPS print server?

I have two linux computers with fixed IP addresses: A print server, whereby the connected printer is shared via CUPS. (The server has the IP address "192.168.1.2" and the printer is called "test_printer".) A computer, on which a python application…
AFoeee
  • 731
  • 7
  • 24
6
votes
0 answers

Add new printers using CUPS API

I need to detect available/connected printers using CUPS and allow the user to add them, basically replicating the "Add printer" functionality in the CUPS Web interface (localhost:631). I have already tried: cups_dest_t *dests; int num_dests =…
luffy
  • 2,246
  • 3
  • 22
  • 28
6
votes
1 answer

IPP Missing attribute on CUPS-Get-Devices using node.js ipp module

I am having a problem with Missing required attribute for CUPS-Get-Devices. Basically I want to get list of available printers with IPP and CUPS using https://www.npmjs.org/package/ipp. I've implemented CUPS-Get-Devices into the package as it had…
Jakub
  • 1,037
  • 8
  • 21
5
votes
1 answer

CUPS printing of PDF files

How can I tell the lpr command (CUPS) that my file is actually a PDF? lpr file.pdf won't print anything.
vonPetrushev
  • 5,457
  • 6
  • 39
  • 51
5
votes
1 answer

Print html file with CUPS

Is there a way to explicitly tell the CUPS server that the file you are sending is text/html thus overriding the mime.types lookup?
vonPetrushev
  • 5,457
  • 6
  • 39
  • 51
5
votes
1 answer

Printers fail to report issues to CUPS

CUPS has 3 fields that are used in issue reporting, printer-state (enum): Either idle, processing or stopped. printer-state-message: Plain text human readable explanation. printer-state-reasons: Listed description of the printer state, as described…
Kyle Berezin
  • 597
  • 4
  • 20
5
votes
1 answer

CUPS session setup failed with 'nt_status_logon_failure'

I am running the CUPS in Linux Debian machine. Using the CUPS I am sending the print request to Windows XP machine. I have enabled the 445 and 139 port and I am able to connect the Windows Machine. Printer is connected to the Windows Machine. I am…
muruga
  • 2,092
  • 2
  • 20
  • 28
4
votes
0 answers

lpr: printing from the commandline on a modern continuous paper printer without wasting paper?

I have a Peripage A4 continuous paper roll thermal printer, connected via USB-C to a MacBook with 13.3.1. Printing works fine from within all applications and via the commandline using lpr: $ lorem --faust --lines 20 --randomize | lpr -P…
Christian
  • 1,212
  • 1
  • 15
  • 30
4
votes
2 answers

Change CUPS printer name

successfully installed my cups printer Ubuntu18.4. When i click the add printer icon in the device side it shows name as "CUPS-BRF-Printer".. I would like to change this name. How to change the default name.. How to change it?
Neethu
  • 41
  • 1
  • 2
4
votes
0 answers

Printing to Epson TM-T88V receipt printer from iOS/iPad using CUPS or other framework

Does anyone know how to get CUPS running on iOS? We are trying to print to a networked Epson receipt printer ( TM-T88V) from the iPad, using CUPS or other method but we are running into a brickwall getting CUPS to run on iOS. I know for a fact that…
looselycoupled
  • 629
  • 1
  • 7
  • 16
4
votes
1 answer

More Complete List of CUPS printer-state-reasons

In RFC8011 p.152 there is a common list of state-reasons that a printer can have. In my testing, this list seems to be very incomplete. Is there a more complete list available for CUPS? Some examples of printer status state-reasons that are not…
Kyle Berezin
  • 597
  • 4
  • 20
1
2
3
27 28