On Sat, Jun 28, 2008 at 7:50 PM, Lindsay Haisley <[EMAIL PROTECTED]> wrote:
> I have an ancient and venerable HP Deskjet 1120C connected to LPT1 on my > desktop system running Gentoo. This printer is supported in CUPS, and > works properly (except for minor Gnome weirdness) from apps on the > immediate system - Firefox, OpenOffice, etc. > > I want to access this printer from other computers on our LAN, including > the Windows XP Pro system hosted on the same box using VMware. > According to > <http://gentoo-wiki.com/Talk:HOWTO_Native_Windows_Printing_with_CUPS/Samba> > I should be able to do this without involving samba, assuming I can direct > printing requests to the proper URI. Both Windows and Linux support > configuring printers this way, rather than as CIFS shares, and since I don't > need to upload drivers to the printer (the original drivers won't work in > XP) all I really need to do is connect to the printer over the LAN as a raw > device and use client-side drivers. > > The documentation at > <http://www.gentoo.org/doc/en/printing-howto.xml#remote_usage> suggests > that I use one of the following for the printer URI on other systems: > > * "ipp://hostname/printers/printername" which in my case would be > "ipp://vishnu.fmp.com/printers/hpdj_1120c (or I can substitute > the LAN IP address for the hostname) > > * "http://hostname:631/ipp/queue" which appears to translate to > "http://vishnu.fmp.com:631/ipp/queue" with no specification for > the printer in the URI. Since the hpdj_1120c doesn't have a > queue specified in cups, I assume this URI should be used > literally. > > Neither of these works on our LAN-connected Windows boxes and the > documentation I find on this is very sketchy. Windows doesn't > understand the "ipp" URI scheme, apparently, and I'm missing something > in second URI. Should I be substituting something for "queue"? > > Anyone done this who can help me? > I have a similar situation. A CUPS printer that is also serving my WinXP system, without using Samba or a printer share. There's a feature on the XP CDROM that you'll need. If you don't have that, then this approach won't work. You need WinXP Pro, I think, and must make CUPS export the LPT or LPD (I forget the exact nomenclature) interface. It may already do this. You're looking for "Print Services ro Unix", a feature that is not loaded by default. >From page 616 of my copy of Minasi's "Mastering Win XP Pro": 1) Control Panel -> Network Connections 2) Advanced -> Optional Networking Components 3) Check Other Network Filan and Print Services; click Next 4) wait for install (CD must be mounted) Then 1) Start -> Printers and Faxes 2) Printer Tasks - Add a Printer (gets to Add a Printer Wizard) 3) Local Printer Attached to This Computer; uncheck Automatically Detect 4) Click Create a new Port type = LPR Port Next 5) Name or Address of Server Providing lpd = DNS name or IP address of Linux box; possibly 127.0.0.1 also the name of the print queue (mine is "lp0") Next That should do it. -- Kevin O'Gorman, PhD
