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
0 answers

c printing more pages with cairo and cups

I need, in C in under a linux environment, to print documents with an image as a background. I found an example which use Cairo vector graphics library to author a PostScript, and then sends it that off to CUPS for printing. I modified the initial…
famedoro
  • 1,223
  • 2
  • 17
  • 41
1
vote
1 answer

Add printer to CUPS using API

Is there a way to add a bunch of printers to CUPS via API? I have CUPS server running in docker and have a list of printers I need to add there with specific drives. CUPS docks do not answer this question
1
vote
1 answer

How to add Canon LBP2900b printer to a Raspberry Pi 4

The printer Canon LBP2900b is not listed in the Cups of the Raspberry pi.. I have searched a lot on that but unfortunately haven't found any such working method. Please help
heyom
  • 322
  • 2
  • 7
1
vote
0 answers

CUP4J returns 'null' for printer status

I was trying to monitor state of network printer using CUPS4J that is connected to CUPS (v2.2.1). Though I have not used a real printer hardware, however I was able to connect ippserver (an IPP compatible printer simulator) as a network printer to…
Rajib Deka
  • 551
  • 1
  • 7
  • 22
1
vote
0 answers

Linux - how to distinguish two same lp printers

We have 2 lp printers connected to Linux Ubuntu machine. After system boot there are two files created: /dev/usb/lp0 and /dev/usb/lp1. Unfortunately these files are created randomly and we cannot distinguish which one is which. When I echo text in…
Marcin Zdunek
  • 43
  • 1
  • 4
1
vote
0 answers

EACCES error using spawnSync with CUPS command-line

I'm heaving problems with permission on running this CUPS command : cancel -a where -a is the option to cancel all jobs on all printers. this is all the output in console: error: Error: spawnSync /home/finsoft EACCES at Object.spawnSync…
1
vote
1 answer

What protocol do modern computers use to communicate with printers?

I've been looking at printer protocols, and it's still not clear to me how today's computers communicate with printers "over the wire." Historically, I understand that computers basically started as printers (with teletype machines), but today I…
citelao
  • 4,898
  • 2
  • 22
  • 36
1
vote
1 answer

Printer not detected but present on cups server

I have a Brother printer with following configuration: Description: Brother HL-L2360D series Location: localhost.localdomain Driver: Brother HL-L2360D for CUPS (grayscale, 2-sided printing) Connection:…
bUff23
  • 332
  • 2
  • 16
1
vote
1 answer

How to automatically send EPL files to Zebra Printer in MacOS

I need help with the following. My Web-based ERP software generates a EPL file to print shipping labels. The problem that I'm having is how to automatically send the EPL file to the Zebra Label Printer once it generates using MacOs Catalina. I…
Carlos Sosa
  • 445
  • 1
  • 5
  • 19
1
vote
0 answers

Cups does not honour Preview annotations & page rotations when creating a postscript file

I have a pdf file that has been created by Adobe Indesign. After this I open this file in Preview and rotate some pages highlight some tet and add an annotation (a speech bubble) and saved it again. File:…
Paul Verschoor
  • 1,479
  • 1
  • 14
  • 27
1
vote
1 answer

Using Cups Reverse Orientation on a Postscript file

When using the lp -o orientation-requested=6 in CUPS to print a postscript file, the first page is reversed 180 degrees and then the next page is back to 0 orientation. Third page has the 180 degree rotation and fourth page back to 0 and so on. …
Karen Casey
1
vote
0 answers

Print from windows to lots of different printers

My company has lots of different (network) printers. I want to simplify printing. My plan is following: *Install a linux (BSD) based CUPS/Samba server (It will handle drivers) *Print from windows using a simple uniform driver (Microsoft PS class…
1
vote
2 answers

Implementation of lockf() for android NDK

The Android NDK lacks the lockf() function. While I was compiling CUPS with Android NDK, the error came of missing lockf(). Hence there is need to create function similar to lockf() for NDK. Please help me in creating such a function. Any help will…
shubham
  • 11
  • 3
1
vote
0 answers

Setting up CUPS with a Canon ImageClass D1320 Printer, CUPS Wont Recognize?

I am trying to set up CUPS so I can have wireless printing. The problem is, I cannot seem to find my model "ImageClass D1320" at all. First, there is no "ImageClass" in the selection as shown here: https://i.stack.imgur.com/nQUmA.png And there is no…
Robert
  • 113
  • 6
1
vote
1 answer

Save PDF file using Java Printable on Linux system

I have a working class that creates and saves a PDF file for the user by implementing Printable and using PrinterJob to create the PDF to a set location. This works on a Windows system perfectly but I'm having trouble doing this on a Linux…
Stefza
  • 247
  • 3
  • 18