- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing Question
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
03-25-2002 03:50 AM
03-25-2002 03:50 AM
Printing Question
I have a V-Class running HP-UX 11.0 and need to use a printer that is connected to a PC.
Anyone got any tips as I am having trouble getting it working.
I know the IP address of the PC and the name of the printer.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 05:10 AM
03-25-2002 05:10 AM
Re: Printing Question
Now coming FROM the PC you can login to access the server...then the user might get the report (file) and print to it's local printer. But you could not initiate the print from the server..unless you network the printer and assign it an IP.
Just a thought,
Rit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 05:13 AM
03-25-2002 05:13 AM
Re: Printing Question
To start with, PC (MS Windows) do not enable RFC 1179 printing by default. This is called lpr in most WinXX versions and is simply not available at all in older versions.
However, once you get lpr working on the PC, you won't like the stairstep output from ASCII files. This is because there is no format conversion done for remote printing and in HP-UX, ASCII files are: text LF text LF, while PCs and printers expect: text CRLF text CRLF...
You can fix this by remembering to print all ASCII files to the PC printer by using:
ux2dos ASCII_filename | lp -dPCprinter_name
Note also that none of the -o options will be processed by the PC, so options like -olandscape or -o2 will be ignored. If the printer can be converted to a network printer using HP's JetDirect products, you can eliminate the PC completely and print directly to the printer, plus all of the -o options will work.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 06:51 AM
03-25-2002 06:51 AM
Re: Printing Question
I am not sure about how far this concept is going to meet your requirement.
If you are going to vt100 and vt220 emulation mode at the terminal emulatore s/w installed at your PC and if you are planning to login to your server from that PC and take print then,
Create a script file "print" with this content.
echo ^[[5i
cat $*
echo ^[[4i
Note: to get" ^[ " on the screen you have to press the keys " Ctrl , V & Esc" . should not type directly.
make it executable useing command "chmod u+x print"
use the command "print filename" to take print out
-Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 07:43 AM
03-25-2002 07:43 AM
Re: Printing Question
Try this link,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=cb2917dc0d07649e24/screen=ckiDisplayDocument?docId=200000041602968
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 07:47 AM
03-25-2002 07:47 AM
Re: Printing Question
I had also faced this problem. Look at this thread. I had posted the resolution over there to solve this problem.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa7e9ff77de2bd611abd50090277a778c,00.html
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 09:13 AM
03-25-2002 09:13 AM
Re: Printing Question
services have to be enabled on the print server, but it is set up on the unix side just like any other printer. That is using 3 computers to print one job, but that is the Windows Way!
Chris