I don't have a ready-to-use solution at hand, but I could imagine a file called OKIprinters contain the following lines with <TAB> separated columns:
, then a script containing
, and you could go on from there, selecting the trays, and then the drivers. If you got a new printer, add a line to your file(s), and it flies.
I want to use my linux box as a print server for my hp printer. I downloaded the linux driver for the printer and installed it. I also configured CUPS and printed a test page with it. Samba is allowing my windows machine to see and install the printer, but when i try to print to it, nothing... (1 Reply)
I keep getting a access denied error when I install from the XP wizard my Linux shared printer.
CUPS CONFIGURATION FILE
<Location /admin>
#
# You definitely will want to limit access to the administration functions.
# The default configuration requires a local connection from a user who
#... (2 Replies)
I am trying to use a here document to automate testing a perl script however when the perl script hits a system(perl subscript.pl) call, input is no longer entered into this subscript.
here is my script
$ cat test.sh
#ksh
for testcase
do
program <<-EOF | tee -a funcscnlog.log
y... (3 Replies)
Hi all,
I am currently working on building a GUI to be interfaced with CUPS 1.3.4 package; In my GUI I have a list of printer manufacturers mapped
With various printer models ; and for a particular printer model selected I needed to know how to map that model with an Appropriate ppd file; as I... (0 Replies)
I want to make a script to automate printer adding task.My inputs are like
Printer name : xyz
Port number :9001
I should write a script to make the Printer adding task will be automated.
Like in manually adding task we are doing through hppi or jetadmin tools.
---------- Post updated at... (2 Replies)
Just got an HP OfficeJet L7680 printer but there are no drivers for it in RHEL5. I just want to add the single driver without installing hplip 3.9.8. It's going to be connected with USB. Is this possible and if so how? (1 Reply)
I have a RHEL 4 (probably not important, but whatever) machine with a few dozen network printers set up in CUPS. I would like to replicate this on a second machine.
With lpinfo I'm able to get the queue name and device information (socket://ipaddress or whatnot), but I haven't get figured out... (0 Replies)
Hi,
I am running Linux box with
samba-3.0.33
cups-1.3.7
When I access my home folder through windows and give user credentials, it works well but shows all the printers icons as well.
I would like to hide them all from users. I tried changing Browsing On to Browsing Off in... (1 Reply)
Need to find a way to import an LP printers.conf file to CUPS. I have some new Solaris 11.1 boxes that need to have 300 printers added. (0 Replies)
Discussion started by: os2mac
0 Replies
LEARN ABOUT REDHAT
backend
backend(1) Easy Software Products backend(1)NAME
backend - cups backend transmission interfaces
SYNOPSIS
backend job user title num-copies options [ filename ]
DESCRIPTION
The CUPS backend interface provides a standard method for sending document files to different physical interfaces.
Backends must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a tempo-
rary file if required by the physical interface.
The command name (argv[0]) is set to the device URI of the destination printer.
ENVIRONMENT VARIABLES
The following environment variables are defined by the CUPS server when executing the backend:
CHARSET
The default text character set (typically us-ascii or iso-8859-1).
CLASS
When a job is submitted to a printer class, contains the name of the destination printer class. Otherwise this environment variable
will not be set.
CONTENT_TYPE
The MIME type associated with the file (e.g. application/postscript).
CUPS_DATADIR
The directory where data files can be found.
CUPS_SERVERROOT
The root directory of the server.
DEVICE_URI
The device-uri associated with the printer; this is provided for shell scripts which may not be able to get the passed argv[0] string.
LANG
The default language locale (typically C or en).
PATH
The standard execution path for external programs that may be run by the backend.
PPD
The full pathname of the PostScript Printer Description (PPD) file for this printer.
PRINTER
The name of the printer.
RIP_CACHE
The recommended amount of memory to use for Raster Image Processors (RIPs).
SOFTWARE
The name and version number of the server (typically CUPS/1.1).
TZ
The timezone of the server.
USER
The user executing the backend (typically lp).
SEE ALSO cupsd(8), filter(1) CUPS Interface Design Description, CUPS Software Administrators Manual, CUPS Software Programmers Manual, http://local-
host:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
22 June 2000 Common UNIX Printing System backend(1)