Difference between revisions of "CUPS"

From Hack Sphere Labs Wiki
Jump to: navigation, search
Line 13: Line 13:
 
  BrowseLocalProtocols CUPS dnssd
 
  BrowseLocalProtocols CUPS dnssd
 
  BrowsePoll 192.168.1.x
 
  BrowsePoll 192.168.1.x
 +
 +
=Printing to Printer From Windows=
 +
Once the specific name of the printer is already known, the printer queue may be accessed via web page with the URL based upon the host name or queue name of the printer.  For example, in the case of "515HPCLJ", the URL is:
 +
 +
http://cups.bnl.gov/printers/515HPCLJ
 +
 +
This is kinda crappy.  I have printed documents that are 32 meg and end up being 4gb transfered uncompressed to cups.  A better method must exist.

Revision as of 10:16, 2 July 2012

Manual Configuration of Print Queues

The most tedious method of configuring client machines is to configure each remote queue by hand using the lpadmin(8) command:

lpadmin -p printer -E -v ipp://server/printers/printer

The printer name is the name of the printer on the server machine. The server name is the hostname or IP address of the server machine. Repeat the lpadmin command for each remote printer you wish to use.

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowsePoll 192.168.1.x

Printing to Printer From Windows

Once the specific name of the printer is already known, the printer queue may be accessed via web page with the URL based upon the host name or queue name of the printer. For example, in the case of "515HPCLJ", the URL is:

http://cups.bnl.gov/printers/515HPCLJ

This is kinda crappy. I have printed documents that are 32 meg and end up being 4gb transfered uncompressed to cups. A better method must exist.