9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good afternoon. :)
I'm rather new to bash scripting, and have probably bitten off a bit more than I can chew to be honest, but I work in a service desk-like environment where one of the main complaints is that it takes our staff a long time to set up network printers on our clients' servers.... (3 Replies)
Discussion started by: aperfecthalo
3 Replies
2. Red Hat
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)
Discussion started by: amit_spl
1 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: kknigga
0 Replies
4. SCO
hi
Howto replace Line Printer Daemon (LPD) with CUPS on SCO 5.0.6? (3 Replies)
Discussion started by: ccc
3 Replies
5. Hardware
We've inherited some IBM Infoprint 6400 printers for use with our internal warehouse management software. Now I'm looking for a driver, or a compatibility list for said printers. I found that IBM does provide drivers for it (link), but due to our policies I can't download it. (who provides drivers... (0 Replies)
Discussion started by: pludi
0 Replies
6. UNIX for Dummies Questions & Answers
Hello
I have a Minolta QMS Magicolor 3100 printer. A driver is available (Minolta-magicolor_3100-Postscript.ppd) for Linux, installed using foomatic, but it does not work properly. The resolution is at it's lowest and a poor quality grainy print results. The printer works fine under Windows XP... (0 Replies)
Discussion started by: bwallum
0 Replies
7. Red Hat
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)
Discussion started by: deloev
1 Replies
8. Linux
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)
Discussion started by: Alux
2 Replies
9. UNIX for Dummies Questions & Answers
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)
Discussion started by: Spetnik
1 Replies
Net::CUPS(3pm) User Contributed Perl Documentation Net::CUPS(3pm)
NAME
Net::CUPS - Common Unix Printing System Interface
SYNOPSIS
use Net::CUPS;
my $cups = Net::CUPS->new();
my $printer = $cups->getDestination( "lj4200dn" );
DESCRIPTION
Net::CUPS is an object oriented interface to the Common Unix Printing System.
METHODS
getDestination
my $printer = $cups->getDestination( $printer_name );
This method takes the name of the printer to acquire. If the printer does not exist it will return nothing.
getDestinations
my @printers = $cups->getDestinations();
This method will return an array of destinations currently configured on the cups server.
getPassword
my $password = $cups->getPassword( $prompt );
Method to retrieve the password from the user via the password callback.
getPPD
my $ppd = $cups->getPPD( $name );
Returns a Net::CUPS::PPD object for the default printer or for the specified printer or class.
getPPDMakes
my $makes = $cups->getPPDMakes();
Returns an arrary of scalers holding the names of all the makers (e.g. HP or Lexmark) of PPD files installed on the CUPS server
getAllPPDs
my $ppds = $cups->getAllPPDs();
Returns an array of scalers with the maker and model of all the PPDs installed on the CUPS server
getPPDFileName
$cups->getPPDFileName($ppd_name_and_make);
Returns the file name of the PPD specified by the name and make as found in the array returned by getAllPPDs. The file name is used by
addDestination and is relative to where the CUPS server is instructed to look (e.g /usr/share/ppd).
getServer
my $server_name = $cups->getServer();
A method to return either the hostname or the IP address of the active print server.
getUsername
my $username = $cups->getUsername();
This method will return the current username associated with the CUPS transaction.
requestData
my $result = $cups->requestData( $request, $resource, $filename );
Send an IPP request to the server. This function is based off the C CUPS function cupsDoRequest and cupsDoRequestFile. The $filename
is optional.
setPasswordCB
$cups->setPasswordCB( $function )
Method to set the callback function to be used by getPassword.
setServer
$cups->setServer( $server_ip );
This method will change the current cups server to another hosts.
setUsername
$cups->setUsername( $username );
A method to change the username associated with CUPS interaction.
deleteDestination
$cups->deleteDestination( $destination_name );
A method to delete an existing destination
addDestination
$cups->addDestination( $name, $location, $printer_info, $ppd_name, $device_uri) A method to create a new destination. The $ppd_name
variable should be the one returned for that printer by the getPPDFileName method. It will be relative to where the CUPS server is
configured to look for PPD files (e.g. /usr/share/ppd).
SEE ALSO
Net::CUPS::Destination, Net::CUPS::PPD, Net::CUPS::IPP
SUPPORT
Support for this module and other software developed by Dracken Technology, Inc can be found at http://www.dracken.com/.
AUTHOR
Dracken Technology, Inc. (http://www.dracken.com/)
ACKNOWLEDGEMENTS
Aike Reyer <aike@users.sourceforge.net> supplied the password handling code.
Mark Gannon <mark@truenorth.nu> supplied the code for PPD acquisition, destination creation and destination deletion.
COPYRIGHT AND LICENSE
Copyright (c) 2003-2005 David Hageman
Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro are the trademark property of Easy Software Products.
perl v5.14.2 2009-07-30 Net::CUPS(3pm)