- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remote printer
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 05:05 PM
10-21-2003 05:05 PM
Remote printer
Can any one tell how to configure and use the remote printer in HPUX11i.The remote printer in connected in Windows system.
Regards ....L.Tamilselvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 05:42 PM
10-21-2003 05:42 PM
Re: Remote printer
Add the IP address of the windows machine in /etc/hosts
Then configure a printer using SAM-->Printers and Plotters -->LP Spooler -->Printers and Plotters
go to actions and add remote printer.
Give the queue name, then windows PC name(given in /etc/hosts), and windows printer name..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 08:10 PM
10-21-2003 08:10 PM
Re: Remote printer
Follow the previous suggestion and all should work fine.
A recommendation I would make is that if your printer is attached to an external print server it may be a good idea that you utilise parallel port 1. This will prevent additional complications in configuring the queue and equipment. If your printer has an internal card then nothing to worry about.
Should you have any problems getting it working you could :-
Ensure the equipment is connected.
Ensure the equipment is powered on.
Ensure the equipment is on-line.
ping ipaddress
ping hostname
lpshut
lpsched
accept lpqname
enable lpqname
lp -dlpqname testfile
Hope this helps.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 08:12 PM
10-21-2003 08:12 PM
Re: Remote printer
As long as, you can ping the windows system from your HPUX box, you can add the same.
You can use the lpadmin command to add the same. For adding printer test on hpux system the remote printer printer1 on the windows system windows1, you can use the follwoing command
lpadmin -ptest -ormwindows1 -orpprinter1 -mrmodel -mrmodel -v/dev/null -orc -ocmrcmmodel -osmrsmmodel
If you are not comfortable with the command, use the SAM GUI, Printers & Plotters, LP Spooler, Printers & Plotters, Add Remote printer will do it.The printer daemon must be running on the windows system for the proper functioning of this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 08:18 PM
10-21-2003 08:18 PM
Re: Remote printer
Next share the printer in windows.
The windows host should have a static IP addess which needs to be entered in /etc/hosts on your unix box.
You can then use SAM to add this printer to your HP-UX system.
Note: depending on what you want to print you may need to add a registery key to your windows machine.
Regards,
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 12:54 AM
10-23-2003 12:54 AM
Re: Remote printer
1) Setup a local printer connected via LPT1 or USB should work also.
2) Start the "TCP/IP Print Server" service (otherwise Unix will not be able to see it, I haven't figured out how to do this with Win98 yet)
3) Start regedit and go to "My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\
4)On the Edit menu click Add Value and add the following registry value
Value Name: LpdPrinterPassThrough
Data Type: REG_DWORD
Value Data: 1
5) Quit the editor and restart the TCP/IP Printer Spool and the Spooler services
6) On the Unix side, use SAM to create a new remote printer
sam->Printers and Plotters->LP Spooler->Printers and Plotters
Actions->Add Remote Printer/Plotter
The Printer Name will be what it is called in Unix
Remote System Name is the name (or IP Address) of the host system
Remote Printer Name is the name of the printer on the host system (case sensitive)
All other options can be left at default
NOTE: With the addition of remote printer queues, using lpstat -o will result in hanging for a minute if the remote queue is offline, to suppress the timeout time us a -i option also (lpstat -o -i)
I've also made changes to the initial remote script since it was not printing correctly, that involved adding
Here's a link to HPs site for the Esc Control functions if any additional support for the driver is needed.
http://www.hp.com/cposupport/printers/support_doc/bpd05855.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 01:19 AM
10-23-2003 01:19 AM
Re: Remote printer
Regards,
John.
Run Registry Editor (REGEDT32.EXE).
From the HKEY_LOCAL_MACHINE subtree, go to the following key:
\SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters
On the Edit menu, click Add Value.
Add the following:
Value Name: SimulatePassThrough
Data Type: REG_DWORD
Data: 1
PS: You usually get better responces if you assign points.