Re: How to access an IP printer upstream through a firewall router



SUCCESS.
Thank you. Your advice was dead-on accurate.
I installed LPR printing into a brand-new XP-Home computer, which
coincidentally was available. That LPR resource was NOT installed by
default.
Printing did NOT work if I established a "printer" in this outer-net XP
computer along the lines of "network printer" ...
Printing DID work when I established the printer as "local" within the XP
computer. Yes, this is classic contra-intuitive Microsoft interface, but
what the heck. Why argue with success?

Meanwhile, I have re-established all sorts of firewall obstacles in the
inner router that defines the inner network. I am still able to print,
thanks to the 515 port forwarding.

And our Linux computer, positioned topologically side-by-side with the XP
computer, in the outer network, mirrored the success and failure of the XP
computer quite exactly. It was necessary to pursue proper LPR printing, not
just remote printing to http://routeraddress/lp1

--
Sent via OE by John, from MERCURY

"Anteaus" <Anteaus@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:17D1FF3B-829C-4B50-9098-E2D175DD8BE0@xxxxxxxxxxxxxxxx
To setup LPR printing, you need to install "Other network file and print
services" in the Windows Components section of Add/Remove Programs.

Then, you tell the print driver to print to a 'local port' (might seem
strange, but...) and make this the IP of the router which maps the port -
Note, NOT the IP of the printer itself, but that of the router, since the
client cannot 'see' the printer's IP directly. The portname, if asked, is
usually "raw" - and only matters on multiple-printer units.

I assume you're using a printer or printserver box with LPR capability; if
not, then it's possible to add an LPR server-process to a Windows
workstation. This doesn't exist by default, though.

On the client, you won't find LPR printers in "Network Places" since
"Network Places" is a bespoke Microsoft environment. As far as the client
is
concerned the LPR printer behaves more like one connected to a local port.
You should be able to find it on a Linux box though, since this is right
in
its own element.

I wouldn't advise the VPN route, since this is overcomplex, and will in
any
case remove the security you're trying to create, by effectively making
the
'outside' print client part of the 'inside' network, and therefore able to
access any service on it, not just printing.

You can use ssh, but a pitfall to beware of is that out-of-box this grants
unrestricted telnet and FTP access to all clients. If you don't block
these
options in the ssh server settings, then you might find you have a vastly
bigger security hole than you started-out with!





.



Relevant Pages

  • Re: printer software
    ... install kdeprint and use that instead of lpr in your ... How does one then swap lpr for kdeprint? ... Maybe you can configure kprinter as a drop-in replacement for lpr ... You did not say what application you are printing from. ...
    (Ubuntu)
  • Re: Problem while printing two Simultaeous documents
    ... i am printing the postscript document from the command line like lpr ... The problem is, after invoking the first request, the printer prints ... The "lpr" command you mentioned ... i tried printing the postscript document with cntrl-D. ...
    (comp.lang.postscript)
  • Re: more details
    ... > shared by the whole office, so it is connected through network to my ... I am just printing a long ascii file. ... > Every Linux/Unix book talks about lpr for printing, ... > didn't know enscript. ...
    (comp.os.linux.misc)
  • Re: Printing problem on Ricoh printers
    ... $ LANG=C lpstat -tl ... $ ls | lpr ... Printing jobs seem to be tranferred successfully, ... and hit return, then immediately hit the up arrow twice and hit return ...
    (Ubuntu)
  • Re: [kde-linux] Switching to KDE-4.2: Problem #1: I cant print to my printer
    ... but I can confirm that Qt does support printing ... through lpr, it falls back to lp support if CUPS is not installed. ... drivers" now that they are no longer trying to sell their proprietary ...
    (KDE)