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

Creating custom backend for cups

I am trying to create a custom backend, using the "educational backend": Printing/Developer Tools I think everything would work if the backend was recognized.... I copied the contents of the file 2dirto /usr/lib/cups/backend/, set correct…
Thalia
  • 13,637
  • 22
  • 96
  • 190
0
votes
1 answer

cups filter - need to allow "others" read permission

I have a Qt app that prints to a file in Linux using cups... and it needs to be able to read that file after printing. I am using a custom filter that has a "File=" option. Unfortunately printing to a file creates a lp-owned file -rw------- 1 lp …
Thalia
  • 13,637
  • 22
  • 96
  • 190
0
votes
1 answer

cups printing multiple files from c++ using intermediate file

I am trying to send a very large image to a custom printer. Due to memory restrictions and the fact that he image is processed as full color, The image has to be chunked in smaller sections to be sent to printer. Since not all images will have same…
Thalia
  • 13,637
  • 22
  • 96
  • 190
0
votes
1 answer

CUPS test print produces a segfault

We have a Red Hat Enterprise Linux server running 6.5 that just stopped printing correctly. When you try to test print from system-config-printer, it segfaults. I have tried restarting CUPS, but that didn't fix it. Any ideas?
Teddy
  • 18,357
  • 2
  • 30
  • 42
0
votes
1 answer

Printer on a ARM Linux (CUPS) - general theories/questions

Hello, I have a theory and I kindly ask the skilled linux users to confirm/deny it (I am not a skileld one at all). Im running: Raspberry Pi model B+, Raspbian OS and CUPS 1.5.4 And I bought the SEWOO LK-TL322 POS printer. The printer is supposed to…
Oliver Goossens
  • 1,903
  • 3
  • 20
  • 26
0
votes
0 answers

Java Print cannot set paper size

I am trying to set the paper size to be landscape A5. I am printing from a java application, using the default PrinterJob procedure. I am also printing to cups-pdf. My problem is, no matter what I try, I cannot change the page format to A4 or A5 or…
mlwn
  • 1,156
  • 1
  • 10
  • 25
0
votes
2 answers

Trying to access Cups' web interface gives error 403

I've installed cups and started the service. Trying to access to the web interface at 192.168.x.x:631 I receive a 403 error.
Massimo Variolo
  • 4,669
  • 6
  • 38
  • 64
0
votes
1 answer

Command a2ps and Cups - Chineses Characters

Good day. I have a problem to print files with Chinese characters directly of linux. We use CUPS to manage your printers on linux and send the print command by a2ps. Our files are in the encode/unicode (UTF-8 and ISO-8859), but the physical…
Estevão Jordão
  • 189
  • 1
  • 5
  • 20
0
votes
1 answer

Command line printing of text files to fit one page on Unix / Mac OS

I need to print a bunch of text files. They are all pretty small and they fit okay on one text page if the font size is chosen adequately. How can I do this automatically? I tried (find ... -exec ... for the full call, this is one document only ) lp…
user2707001
  • 1,543
  • 12
  • 13
0
votes
1 answer

How can I print more jobs as one job using cups

I have to print big jobs (mixed parts lists as PDF and drawings as TIF) using different lp options. All these jobs should be printed without any other print job between. I figured out, I can use lp -H hold .... and at last lp -i plot_job -H resume,…
Horst
  • 67
  • 7
0
votes
1 answer

Open .app file from perl script (Perl script on OSX)

I need to open .app file from perl script which will be invoked by Print filter. This perl script do lot other stuffs but at the end of that, I need to open .app from a folder. I tried the command "open /Applications/abc.app" on the terminal and it…
0
votes
1 answer

Options for storing metadata about CUPS print jobs?

I'm writing a print system that puts a simplified interface on top of CUPS. Users drop jobs into one queue, the system processes them in various ways (statistics, page quotas, etc.), and then offers the user a web interface to dispatch the job to…
Wang
  • 3,247
  • 1
  • 21
  • 33
0
votes
2 answers

Printing a PDF duplex using Java

i have a printer attached to CUPS, it supports duplex printing, how can i set it to print simplex or duplex through my java routine? i have attempted using itext libraries using the ASET add and the addViewerPreference without any luck. can anyone…
jtyreman
  • 256
  • 3
  • 15
0
votes
2 answers

How can I deny users to add/modify/remove printers to cups?

I am using Mac OS X 10.6. I wrote a program which will add and remove printers to a CUPS server using libcups. It works, but now I am considering the security aspects. This program takes a user name and password to authenticate on the CUPS…
ajcaruana
  • 505
  • 3
  • 14
0
votes
2 answers

sending an specific file to print using under a c program

i am writing an opencv program, changing the image color and saving the image with a name given by the user, that name is stored at some variable. I want to use popen to send that file to print. #include #include "cv.h" #include…
mrmurmanks
  • 33
  • 12