Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Sharing printer with windows via cups and samba Post 46548 by Spetnik on Monday 19th of January 2004 01:43:40 PM
Old 01-19-2004
I got it. I needed to set "Allow From" to include my whole network in cupsd.conf.

One more question, though. Is there anyway to upload the Windows drivers to the linux box so that it can serve them to any windows client apon installation (like windows print servers do)?

Thanx,
Aaron
 

9 More Discussions You Might Find Interesting

1. IP Networking

Printer Sharing on a Mixed(Windows/Linux) Home Network

Sometimes you get the tiger...but sometimes he get you and this latest home network “project” of mine has gnawed on me pretty badly. Perhaps you can offer some technical help. It will be heartily appreciated. I have a small home network initially comprising two computers running Windows... (1 Reply)
Discussion started by: Annatar
1 Replies

2. Linux

Sharing Printer Linux + XP (cups/samba)

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

3. UNIX for Dummies Questions & Answers

sharing a printer

i have made a network between 2 computers and with 1 of the computers i have added a printer. how can get the other computer to be shared so he can use the printer. i am using unix fedora btw. thanks very much ppl. (0 Replies)
Discussion started by: king_jon85
0 Replies

4. Linux

mapping of a printer model with a ppd file in CUPS

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)
Discussion started by: sc3008
0 Replies

5. Red Hat

Need a single printer driver added to CUPS

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

6. SCO

Replace Line Printer Daemon (LPD) with CUPS

hi Howto replace Line Printer Daemon (LPD) with CUPS on SCO 5.0.6? (3 Replies)
Discussion started by: ccc
3 Replies

7. UNIX for Dummies Questions & Answers

Query for printer driver in CUPS

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

8. Red Hat

Samba and Cups :: How to Hide Printer Icons

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

9. UNIX for Dummies Questions & Answers

Help with script to automate CUPS printer installs

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
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)
All times are GMT -4. The time now is 03:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy