Bug 97254

Summary: LPRng remote printing problems
Product: [Retired] Red Hat Linux Reporter: Satish Balay <balay>
Component: LPRngAssignee: Tim Waugh <twaugh>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-12 11:12:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Satish Balay 2003-06-11 22:08:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131

Description of problem:
lpq/rpr supports an option for using a remote printer/lpd queue

lpq -Pprinter@RemoteMachine%PortNumber

I use this feature to print to a remote printer using an ssh forwarded port.

This feature does not work with the LPRng packages shipped with RH8.0 - but
works with the LPRng-3.8.19-3.1 (as shipped with RH-9 - after 'rpmbuild
--rebuild' on RH-8.0)

Version-Release number of selected component (if applicable):
LPRng-3.8.9-6.i386.rpm, LPRng-3.8.19-3.1.i386.rpm

How reproducible:
Always

Steps to Reproduce:
1. Make sure LPRng is installed
2. forward a remote printer port using ssh

ssh remotemachine -L10515:printservermachine:515

Here the print server is a different machine than login machine

3. /usr/bin/lpq.LPRng  -Plw3@localhost%10515
    

Actual Results:  [balay@dreamcast balay]$ /usr/bin/lpq.LPRng  -Plw3@localhost%10515
Printer 'lw3@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports


Expected Results:  [balay@dreamcast balay]$ /usr/bin/lpq.LPRng 
-Plw3@localhost%10515
Printer: lw3@gutenberg 'lw3_local'
 Queue: no printable jobs in queue
 Status: lw3 printed STDIN for mcdowell mcdowell on ....
[balay@dreamcast balay]$



Additional info: