92
92
Therefore there are two possibilities to configure pdftops at
95
1. Selection of the renderer: Ghostscript, Poppler, or Adobe Reader
95
1. Selection of the renderer: Ghostscript, Poppler, pdftocairo, or
97
98
Ghostscript has better color management and is generally optimized
98
99
more for printing. Poppler produces a PostScript which is
99
100
compatible with more buggy built-in PostScript interpreters of
100
101
printers and it leads to a somewhat quicker workflow when
101
102
graphical structures of the input PDF has to be turned into
102
bitmaps. Adobe Reader is the PDF renderer from Adobe, the ones
103
who created PDF and PostScript.
103
bitmaps. Adobe Reader is the PDF renderer from Adobe, the ones who
104
created PDF and PostScript. pdftocairo is a good choice for the
105
PDF output of Cairo (for example when printing from evince). It
106
is less resource-consuming when rasterizing graphical elements
107
which cannot be represented in PostScript (like
108
transparency). Note that pdftocairo only supports PDF input using
109
DeviceRGB, DeviceGray, RGB or sGray and is not capable of
110
generating PostScript level 1. So its support is only experimental
111
and distributions should not choose it as default.
105
113
The selection is done by the "pdftops-renderer" option, setting it
106
to "gs", "pdftops", or "acroread":
114
to "gs", "pdftops", "pdftocairo", "acroread", or "hybrid":
108
116
Per-job: lpr -o pdftops-renderer=pdftops ...
109
117
Per-queue default: lpadmin -p printer -o pdftops-renderer-default=gs
112
120
By default, pdftops uses Ghostscript if this does not get changed
113
121
at compile time, for example by the Linux distribution vendor.
123
Hybrid means Ghostscript for most printers, but Poppler's pdftops
124
for Brother, Minolta, and Konica Minolta. Printer make and model
125
information comes from the PPD or via the "make-and-model" option.
115
127
2. Limitation of the image rendering resolution
117
129
If graphical structures of the incoming PDF file have to be
220
232
For maximum security cups-browsed uses IPPS (encrypted IPP)
221
233
whenever possible.
235
In addition, cups-browsed is also capable of discovering IPP
236
network printers (native printers, not CUPS queues) with known
237
page description languages (PWG Raster, PDF, PostScript, PCL XL,
238
PCL 5c/e) in the local network and auto-create PPD-less print
239
queues for them (using a System V interface script to control the
240
filter chain). Clients have to IPP-poll the capabilities of the
241
printer and send option settings as standard IPP attributes. We do
242
not poll the capabilities by ourselves to not wake up the printer
243
from power-saving mode when creating the queues. Jobs have to be
244
sent in PDF format. Other formats are not accepted. This
245
functionality is primarily for mobile devices running CUPS to not
246
need a printer setup tool nor a collection of printer drivers and
249
cups-browsed can also be started on-demand, for example to save
250
resources on mobile devices. For this, cups-browsed can be set
251
into an auto shutdown mode so that it stops automatically when it
252
has no remote printers to take care of any more, especially if an
253
on-demand running avahi-daemon stops. Note that CUPS must stay
254
running for cups-browsed removing its queues and so being able to
255
shut down. Ideal is if CUPS stays running another 30 seconds after
256
finishing its last job so that cups-browsed can take down the
257
queue. For how to set up and control this mode via command line,
258
configuration directives, or sending signals see the man pages
259
cups-browsed(8) and cups-browsed.conf(5).
223
261
The configuration file for cups-browsed is
224
262
/etc/cups/cups-browsed.conf. This file can include limited forms
225
263
of the original CUPS BrowseRemoteProtocols, BrowseLocalProtocols,
226
BrowsePoll, and BrowseAllow directives.
264
BrowsePoll, and BrowseAllow directives. It also can contain the
265
new CreateIPPPrinterQueues to activate discovering of IPP network
266
printers and creating PPD-less queues for them.
268
Note that cups-browsed does not work with remote CUPS servers
269
specified by a client.conf file. It always connects to the local
270
CUPS daemon by setting the CUPS_SERVER environment variable and so
271
overriding client.conf. If your local CUPS daemon uses a
272
non-standard domain socket as only way of access, you need to
273
specify it via the DomainSocket directive in
274
/etc/cups/cups-browsed.conf.
228
276
The "make install" process installs init scripts which make the
229
277
daemon automatically started during boot. You can also manually
240
288
queue set as system default, to not loose its system default
243
Here is some info on how cups-browsed works internally )first concept of a
291
On systems using systemd use a
292
/usr/lib/systemd/system/cups-browsed.service file like this:
295
Description=Make remote CUPS printers available locally
296
After=cups.service avahi-daemon.service
297
Wants=cups.service avahi-daemon.service
300
ExecStart=/usr/sbin/cups-browsed
303
WantedBy=multi-user.target
305
On systems using Upstart use an /etc/init/cups-browsed.conf file like this:
308
and (started cups or runlevel [2345]))
309
stop on runlevel [016]
315
[ -x /usr/sbin/cups-browsed ]
318
exec /usr/sbin/cups-browsed
320
These files are included in the source distribution as
321
utils/cups-browsed.service and utils/cups-browsed-upstart.conf.
323
In the examples we start cups-browsed after starting
324
avahi-daemon. This is not required. if cups-browsed starts first,
325
the Bonjour/DNS-SD browsing kicks in as soon as avahi-daemon comes
326
up. cups-browsed is also robust against any shutdown and restart
329
Here is some info on how cups-browsed works internally (first concept of a
244
330
daemon which does only Bonjour browsing):
663
753
inject. They must be injecting JCL code ("*JCLOpenUI:
664
754
... ... *JCLCloseUI: ...").
666
A sample PPD file, HP-Color_LaserJet_CM3530_MFP-PDF.ppd is included.
756
Sample PPD files are included:
758
- Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd
759
- Generic-PDF_Printer-PDF.ppd
760
- HP-Color_LaserJet_CM3530_MFP-PDF.ppd
771
865
If Collate is defined, "pdftopdf" judges the printer supports Collate.
773
If cupsManualCopies is defined as False, "pdftopdf" judges the printer
867
If cupsManualCopies is defined as True, "pdftopdf" judges the printer
774
868
does not support Copies feature.
776
870
If Duplex is defined, "pdftopdf" judges the printer supports Duplex.
900
994
and NO "*cupsFilter:" line which accepts PostScript input.
902
A sample PPD file for a native PDF printer,
903
HP-Color_LaserJet_CM3530_MFP-PDF.ppd is included.
996
Sample PPD file for native PDF printer are included:
998
- Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd
999
- Generic-PDF_Printer-PDF.ppd
1000
- HP-Color_LaserJet_CM3530_MFP-PDF.ppd
905
1002
When a printer does not support PS nor PDF, you can use Ghostscript (GS).
906
1003
In this case, you can specify device options like a PS printer.