Gentoo Archives: gentoo-desktop

From: Lindsay Haisley <fmouse-gentoo@×××.com>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] Network access to a CUPS printer
Date: Mon, 30 Jun 2008 17:21:52
Message-Id: 1214846509.27289.45.camel@vishnu.fmp.com
In Reply to: Re: [gentoo-desktop] Network access to a CUPS printer by Jim Ramsay
1 On Mon, 2008-06-30 at 11:55 -0400, Jim Ramsay wrote:
2 > > * "ipp://hostname/printers/printername" which in my case would
3 > > be "ipp://vishnu.fmp.com/printers/hpdj_1120c (or I can substitute
4 > > the LAN IP address for the hostname)
5 > >
6 > > * "http://hostname:631/ipp/queue" which appears to translate
7 > to
8 > > "http://vishnu.fmp.com:631/ipp/queue" with no specification
9 > > for the printer in the URI. Since the hpdj_1120c doesn't have a
10 > > queue specified in cups, I assume this URI should be used
11 > > literally.
12 >
13 > I've done this with great success. On my Linux box, for example, I
14 > have a printer called "Engineering", and I use the following URI
15 > in my WinXP box (running inside a VM):
16 >
17 > http://10.8.50.71:631/printers/Engineering
18
19 Thanks. This is _really_ good to know. I've played numerous variations
20 on the URI syntax and never seemed to get it right. CUPS documentation
21 tells one how to connect via CUPS to an exported printer elsewhere, but
22 not very well how CUPS exports printers for use elsewhere.
23
24 I basically bombed on this project. I followed directions to load PS
25 drivers via samba, and that didn't work, so now I need to find out how
26 to UNload them from Windows, which wants to attach the printer to the
27 previously downloaded driver willy-nilly. Editing the registry didn't
28 help. I'll apparently have to go find the drivers and expunge them from
29 the C:\windows\system32 directory tree. I have a RAW printer configured
30 in CUPS, which ought to help. The main purpose of this was give access
31 to a printer from a VMware guest installation of Windows XP. I ended up
32 solving the problem by connecting XP directly to the printer port via
33 the virtual parallel port expressed in VMware. This works considerably
34 better with VMware 6 than it did with VMware 5, so for now I'm OK with
35 the problem. If I can figure out how to expunge the drivers altogether
36 from XP I'll take another crack at it via shares.
37
38 This facility is fairly complex to set up and and the documentation for
39 it sux. CUPS documentation is absolutely abominable, and the Gentoo
40 HOWTO docs have errors that should be corrected, e.g. setting 'printcap
41 name' to 'cups' in smb.conf doesn't work, although all the docs tell one
42 to do this. CUPS maintains a printcap at /etc/printcap and this should
43 be the value of 'printcap name' in smb.conf, in which case individual
44 printers don't need to be defined explicitly in smb.conf but are
45 exported as shares through the '[printers]' section.
46
47 --
48 Lindsay Haisley | "In an open world, | PGP public key
49 FMP Computer Services | who needs Windows | available at
50 512-259-1190 | or Gates" | http://pubkeys.fmp.com
51 http://www.fmp.com | |
52
53 --
54 gentoo-desktop@l.g.o mailing list