1820204 Members
3913 Online
109620 Solutions
New Discussion юеВ

Re: Remote printing

 
SOLVED
Go to solution
Scott Guy_2
Advisor

Remote printing

I have a problem with printing. We are trying to set up printing to a printserver across the internet to one of our vendors. At this point, I'm not sure what type of hardware the print server is, so I'm not certain that setting up a remote printer would work.

Any ideas?
5 REPLIES 5
Abdul Rahiman
Esteemed Contributor

Re: Remote printing

Most network print servers now have web administration tools. So you may be able to get more information about the printer server by doing an http://pritnserverip#/ through a web browser.

This may give you a lot of infromation about the print server that you are trying to configure. Just a thought ..
No unix, no fun
RAC_1
Honored Contributor
Solution

Re: Remote printing

You need to get required information in order to set up this printer.

Is thid printer has got JEt direcet card? IF yes and is the printer accessible from hp-ux? Can you ping to the ip address of the printer? If yes, add the printer using hppi command.

If printer is connected to Windows box and if that windows box is accessible from hp-ux, you can set that printer as remote printer.

lpshut
/usr/lib/lpadmin -pLOCAL_NAME -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ormREMOTE_HOSTNAME -orpREMOTE_NAME

Substitute the appropriate information for the capitalized entries:

LOCAL_NAME the name of the printer locally (you pick it)
REMOTE_NAME the name of the printer on the remote system
REMOTE_HOSTNAME the hostname of the remote system with the printer attached.

/usr/sbin/accept Local_printer_name
/usr/sbin/enable Local_printer_name
lpsched -v

Anil
There is no substitute to HARDWORK
Scott Guy_2
Advisor

Re: Remote printing

Thanks Anil. That helps a lot. I've contacted the vendor to find out what type of printserver he has.

I think my initial post was a little unclear, but I think you got the idea of what I was going for.

I have the IP address of the printserver and can ping it, so I tried to set it up using JetAdmin, but when the user tried to print, it just sat in the queue. Something wasn't right there.

I think my best shot is to hope remote printing works, once I find out what type of printserver he has. He was saying they may not even hardcopy print, they may manipulate the print jobs with this printserver. This is the first time I've had to try to print this way. All of our other printers have JetDirect cards.
Christopher Davis
Occasional Contributor

Re: Remote printing

I used SAM to do this, via root or su. First, I added the new host TCP/IP address to the /etc/hosts table. Then as root (or su), I went into SAM. Select the following menus:

Printers and Plotters
LP Spooler
Printers and Plotters

There, you will see all current printers configured and running with the spooler. Under the "Actions" menu, select, "Add Remote Printer." In the Printer name field, enter the printer's name (any name should work), under the remote system name, enter in the new host name you just added to the hosts file, and under the remote printer name, use the ACTUAL NAME on your remote printer deamon, for the desired printer. There are other options you can set on this page, try the default settings first, and then modify as you may need. You can also check the Help function on this page, for more information on the other settings.
Success comes in "cans" not "cannots"
Scott Guy_2
Advisor

Re: Remote printing

Problem solved folks. Thanks to everyone for their help.