How to specify different remote printers from single remote machine?

How to specify different remote printers from single remote machine?

Post by Kai O'Ya » Fri, 14 Oct 1994 08:07:57



Hi,
We've got a Ultrix box that acts as printer server for 4 printers (lp1-lp4) and
I want to configure remote printing in a Solaris 2.3 box using the ultrix
server. The problem is I can only print on the first printer (lp1) of the
ultrix server. I used Admintool's printer manager to configure remote printers:
Printer Name: lp1, Printer Server: Ultrix_box,
Printer Name: lp2, Printer Server: Ultrix_box,
...
and only the first one prints.

It seems the "Printer Name" field is local to the Solaris box and doesn't
get exported to the printer server and I can't find from the manuals how
to specify different remote printers. So is it possible to do it or
am I missing something?

Thanks in advance,
Kai

--

Kai O'Yang, SCIT, Peninsula Campus, Monash Uni, Frankston, VIC 3199, Australia.

-------------------------------------------------------------------------------

 
 
 

How to specify different remote printers from single remote machine?

Post by Philippe Debro » Sat, 15 Oct 1994 17:18:31




Quote:> Hi,
> We've got a Ultrix box that acts as printer server for 4 printers
(lp1-lp4) and
> I want to configure remote printing in a Solaris 2.3 box using the ultrix
> server. The problem is I can only print on the first printer (lp1) of the
> ultrix server. I used Admintool's printer manager to configure remote
printers:
> Printer Name: lp1, Printer Server: Ultrix_box,
> Printer Name: lp2, Printer Server: Ultrix_box,
> ...
> and only the first one prints.

> It seems the "Printer Name" field is local to the Solaris box and doesn't
> get exported to the printer server and I can't find from the manuals how
> to specify different remote printers. So is it possible to do it or
> am I missing something?

> Thanks in advance,
> Kai

You can try the "lpadmin" command. You must first add a line in the
/etc/lp/Systems file to define the remote machine. For each printer you
want, type the command:

% lpadmin -p local_printer -s remote_machine!remote_printer

Enable the printing with the "lpc" command. Don't forget to add your
machine in the /etc/hosts.equiv on the remote machine to allow printing
and all should work fine.

Regards,

Philippe

-----------------------------------------------------------------------------
Philippe Debroux
Universite catholique de Louvain
Service des Reseaux d'Information
1348 Louvain-la-Neuve
Belgium

 
 
 

1. Remote printing using local filter, specify printer

I am trying to set up a printer queue to print on a printer attached to
another machine.  I want the local machine to do the text to postscript
conversion.  From an earlier article from this news group, I have information
on setting up such a queue for printing on a HP network printer as follows:

lpadmin -p prt -T PS -I postscript -F continue -o nobanner -h \
-v /dev/null -m netstandard -o dest=printer.on.net -o protocol=bsd \
-D "Network printer"

enable prt
accept prt

This in fact works fine for our our HP printers, but now I need to do the
same thing for printers attached to another computer.  The problem is that
I do not know how to specify which printer the remote computer should print
on.  The man page for lpadmin does not help and there seems to be no man
page for the netpr program that the netstandard interface program uses.

We are running Solaris 7 on the machine that I want to set up the queue on.

Tom Schulz

Applied Dynamics Intl.

2. LinuxPPC Live 4.0

3. Remote Printing w/o Remote Machine - How do I do it?

4. How to remove NIS+ replica

5. Remote Printing w/o Remote Machine

6. info -a

7. Solaris 2.6: access to remote printers, change of the remote host

8. kpasswd

9. Remote printing to remote unix printer problem with cpi= option

10. printer problems on remote machine

11. Using SMB Printer on remote Linux machine

12. (very) remote printer on a VMS machine (rep)

13. My Solaris 2.8 machine resolves remote host names differently than my other UNIX machines