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
1
vote
1 answer

HPLIP send fax via PHP

I wanted to integrate the fax function on a HP MFP that we bought with php app developed in house. However, I found that the fax utility, hp-sendfax, although allowing command line options, works if I run from out Ubuntu server desktop, it refused…
chiacy
  • 21
  • 2
1
vote
1 answer

Any way for Java Print to ignore lpoptions?

I'm using the javax.print API to print a Jasper Report on Debian Linux. For some reason the saved lpoptions (CUPS settings) always override settings choosen on the Java Print dialog. At this point the only way I am getting around this problem is to…
rogiller
  • 895
  • 1
  • 9
  • 22
1
vote
2 answers

What does CUPS's lp return?

I am writing a ruby script that prints by calling: `/usr/bin/lp -d PrinterQueue -U #{user} #{fileToBePrinted}` I would like to handle printing errors gracefully, but can't determine what lp returns when I execute it. Usually it is a string like…
Jay
  • 2,861
  • 3
  • 29
  • 51
1
vote
1 answer

trying to track down a Memory Leak using open CV and SDL

The program main loop below is where I am having troubles finding a memory leak. I run Top and every time I loop through taking a picture and printing it, I lose memory that is never recovered even upon exit. I have run valgrind and some results…
goodgulf
  • 403
  • 1
  • 4
  • 5
1
vote
1 answer

Paper size setting won't save for Snow Leopard

I am using a Zebra LP 2844 to print barcode labels out of the Chrome browser, as it has good printing support for this purpose. The one problem that I cannot seem to solve is that the paper size is never maintained after a label has printed. This…
Jazzy
  • 6,029
  • 11
  • 50
  • 74
1
vote
0 answers

How to use usbprinter package in golang?

Currently, the usb pos printer is connected via usb. I tried various ways to save the data output by the printer to the pc, but all failed. As a last method, I thought of configuring a virtual printer on the pc, saving the data transmitted to the…
madol
  • 551
  • 2
  • 17
1
vote
0 answers

Unable to add the ipp network printer to cup server

I would like to add the network printer to cups server using http call ( printer_host_name, port). I couldn't find the way to add the printer to cupserver from cups api documentation. Please share the cup api which allows to add ipp network printer…
Krishnan U
  • 11
  • 2
1
vote
0 answers

In java cups library want to fetch all the jobs attributes of given print job with the completion time?

I want to fetch cups all data job attributes i.e (job-id, job-name, job-state and job-completion-time) Repo : https://github.com/harwey/cups4j There are two methods to fetch : In [IppGetJobsOperation->getPrintJobs()] First method fetch all cups…
1
vote
0 answers

How to run CUPS in docker?

I want to run cups in docker. My Dockerfile: ARG LIB_VERSION FROM buffer-connectors-base:"${LIB_VERSION}" WORKDIR /app RUN apt-get update RUN apt-get install cups -y COPY app/requirements.txt ./requirements.txt RUN pip --no-cache-dir install -r…
maskalev
  • 360
  • 3
  • 9
1
vote
1 answer

How to programmatically get the name of the current printer through the libcups in Linux?

I'm trying to get the name of the current printer using the libcups library in Linux, but I can't find such a method. I found only how to get a complete list of printers, but how to find out which one will print is not clear. #include…
Helg1980
  • 47
  • 1
  • 9
1
vote
1 answer

Where is cups-pdf.ppd file?

I need to make some tests in .ppd file. I haven't a printer so I install CUPS-PDF to print to .pdf file. But I can't find a current .ppd file (cups-pdf.ppd). What I tried already (after simply search in file system:)): $…
maskalev
  • 360
  • 3
  • 9
1
vote
2 answers

Printing directly to a Zebra/Swecoin TTP2030 receipt printer in Ubuntu

I have a Swecoin/Zebra TTP2030 USB-LPT receipt printer that I am using on Ubuntu. I'd like to use it like a normal printer, which Zebra says is possible under Windows. Anyone know anyway to do this under Ubuntu? I've tried a few printer drivers,…
1
vote
0 answers

Do Android apps need to add any dependency in order to support CUPS (Common Unix Printing System/Server)

I have an Android app having support for PDF printing. I have used PrintManager class to implement printing behaviour for the app and for Chromebook we were using Cloud Print. Now as google have deprecated cloud print in January of 2021 and is no…
1
vote
3 answers

Setting up a print-to-disk system with ippeveprinter

Printer drivers, backends and PPDs are all now deprecated in CUPS, so I'm looking for the 'new' way to print PDF files to disk. Michael Sweet (the inventor of CUPS) suggests that ippeveprinter is the way forward, but I'm having difficulty…
benwiggy
  • 1,440
  • 17
  • 35
1
vote
0 answers

Docker Compose Bind Mount

For an application I'm currently developing I'm trying to integrate CUPS as a printing server. Since I want to deploy everything using docker I'm configuring a docker-compose file that spins up the web application and the cups server instance. THE…