Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a printer at my office that is connected to a local network and my linux box at work can see it on the network. However, it is not visible to the outside world.

I was trying to figure out a way to add it on my MacAir and so far have found two options:

1) Using ssh tunnel via CLI: cat file.pdf | ssh user@linuxbox lpr. 2) With Chrome installed on the linux box, using the Google Cloud Print service on the remote box and automator on my MacAir I can add the printer to Cmnd+p dialog box

I like the first method since it does not require Chrome be installed and the second one since it allows to use Cmnd+p inside all applications. I was wondering if there is a way to combine by using automator to run the first command line script.

What about port forwarding? Is it possible to forward the remote CUPS 631 port to a local port and then add the printer normally? What other methods would you recommend?

share|improve this question
    
Are these two descriptions (1) 'my office' and (2) 'at work' describing (a) one and the same place or (b) two different locations? -- Is your MacAir trying to access the printer from the network describing '(1)' or the network describing '(2)' or the location describing '(3) the outside world'? – Kurt Pfeifle Jul 3 '12 at 13:56
    
@KurtPfeifle My bad. Work and Office are the same place, i.e. linux box is connected to same network as the printer. My MacAir, however, is on a separate network (say home) which is "outside world" to the local network at the office. – GradGuy Jul 3 '12 at 19:08

3) Install cloudprint on the Linux machine.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .