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
14
votes
4 answers

What's the easiest way to add custom page sizes to a .ppd?

I would like to add custom page sizes to my printer's .ppd (PostScript printer definition) file. What do I have to add to get a new page size working properly?
joeforker
  • 40,459
  • 37
  • 151
  • 246
13
votes
5 answers

CUPS Server compiled for Windows?

Is there a version of the CUPS server available for Windows? Looking at the CUPS source code it seems it is ready for Visual Studio compilation, but I did not find any trace of an actual supported package. I'd like to set up a CUPS server on Windows…
Peter Illes
  • 131
  • 1
  • 1
  • 4
12
votes
1 answer

Printing from inside a docker container

With the influx of GUI applications being ported to docker, what is the best way to print to cups from inside a docker container? NB: I am not looking to run cups from inside the container as this breaks the single service paradigm associated with…
Chris Daish
  • 283
  • 1
  • 2
  • 9
11
votes
1 answer

Linux/CUPS printing example/tutorial?

I need to print some vector data (or to be more exact: some dots and polylines) using Linux. When I ask Google for that it shows me many tutorials and documentations - but all for end users, no programming examples. So does anybody know a good…
Elmi
  • 5,899
  • 15
  • 72
  • 143
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
4 answers

printing over network from PHP app

I have a set of printers connect over a network with Static IP assigned to each printer. Now i have a PHP web application running on a linux server which needs to send print jobs, to these printer over the network. Is this possible using lpr or cups…
user160108
  • 930
  • 3
  • 8
  • 38
9
votes
2 answers

Creating a raw printer queue in CUPS (host) and adding them through CUPS (client)

I want to make my RasPi act as a little print and file server in a small home network consisting of three Linux clients. Unfortunately, Brother provides only binary drivers for x86, so I cannot run my Brother printer on the RasPi. However, I found a…
Photon
  • 287
  • 1
  • 2
  • 11
9
votes
2 answers

Programming a Filter/Backend to 'Print to PDF' with CUPS from any Mac OS X application

Okay so here is what I want to do. I want to add a print option that prints whatever the user's document is to a PDF and adds some headers before sending it off to a device. I guess my questions are: how do I add a virtual "printer" driver for…
Katie
  • 253
  • 1
  • 3
  • 13
8
votes
2 answers

Why do I get /etc/cups conflicts between attempted installs in Yocto?

I have a recipe to compile a printer driver and have a few simple lines to run in do_install. do_install() { install -d ${D}${libdir}/cups/filter install -m 755 ${B}/src/rastertoprinter ${D}${libdir}/cups/filter/ install -d…
egfconnor
  • 2,637
  • 1
  • 26
  • 44
8
votes
4 answers

Brother QL-720NW, printing labels using CUPS & Ubuntu

I'm trying to get my Brother QL-720NW label printer working from an Ubuntu server. I'll briefly describe the process so far, and where I'm stuck. First I installed CUPS and LPR and cupswrapper drivers from Brothers website, and now my QL-720NW shows…
simen
  • 483
  • 1
  • 6
  • 18
7
votes
2 answers

how to embed a true type font within a postscript file

I have a cross platform app and for my Linux and Mac versions it generates a postscript file for printing reports and then prints them with CUPS. It works for simple characters and images but I would like to have the ability to embed a true type…
KPexEA
  • 16,560
  • 16
  • 61
  • 78
7
votes
1 answer

CUPS: how to fix right margin on dot matrix printer

Retro printer day: I have an old IbmPro compatible dot matrix printer connected by a USB parallel adapter to my Ubuntu 20.04 system. It works great! One major trick in setting it up: set the URI to /dev/usb/lp0 and make sure the lp user is in the…
user2959589
  • 362
  • 1
  • 9
  • 23
7
votes
2 answers

Perform print operation on cups using Node.js

I would like to print documents through http requests on Node.js. Is there any way to send print jobs and query CUPS server using Node.js. I found this project while exploring around, is it the only/correct way to do that??
Rahul Bhooteshwar
  • 1,675
  • 17
  • 31
7
votes
1 answer

CUPS send multiple jobs to IPP printer

Is there a way to let CUPS just queue jobs to an IPP printer while it haven't yet completed the last job? Background: We have a XEROX WorkCentre printer which has its own job queue. Every time someone wants to print they have to spool the job,…
cg909
  • 2,247
  • 19
  • 23
7
votes
5 answers

CUPS 2.0 lpstat and lpinfo commands return "Bad file descriptor"

I have installed cups 2.0 on my Ubuntu box. I installed from source. When I type the first few commands in the CUPS manual it returns the message Bad file descriptor. Here is an example VPCZ12V9E:~$ sudo lpinfo -m lpinfo: Bad file…
Sav-econ
  • 297
  • 1
  • 2
  • 14
1
2 3
27 28