The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
printing the next line too?? AndyA Shell Programming and Scripting 6 01-31-2008 06:35 AM
Printing 5 raw characters to a printer Friğrik UNIX for Dummies Questions & Answers 5 08-17-2006 03:57 PM
lpd printing and a IP based printer on SCO spglass UNIX for Dummies Questions & Answers 6 08-17-2005 11:19 AM
Printing from SCO 5.05... to XP Shared Printer LarryG SCO 2 07-19-2005 12:26 PM
line printer log vascobrito UNIX for Dummies Questions & Answers 1 01-05-2004 02:24 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-29-2008
nubix nubix is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 7
Printer Only Printing First Line

Hi all,
I've got this issue which has me stumped. Any help would be greatly appreciated.
Printers which i have added through SAM, as remote printers with their IP address, only print the first line.
Any text file is sent through to the printer only prints the very first line of the file, and the rest is blank.
How do i fix this?
Cheers
  #2 (permalink)  
Old 10-30-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
Why as remote printers and not network?
Quote:
Remote printers are the worst possible connections you can have.
The lp spooler is based on the SysV standard and relies on some other computer
to properly handle the print request. This means that there can be
compatibility issues, patches on either side, but most important, *NO*
-o options will work for the lp command unless the remote print server
is another HP-UX box.
Bill Hassell dixit...
  #3 (permalink)  
Old 10-30-2008
nubix nubix is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 7
Hi thanks for your reply.
Adding it as a network printer, using HP Jetdirect (which i'm not familiar with), it cannot piing the printer, using the network name nor the IP address.
Hence i had to use the Remote option as the it can actually ping the printer then.
Thanks.
  #4 (permalink)  
Old 10-31-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
Start again, remove the printer with sam, use the network printer option which will call jetdirect admin, but is it installed? do you have a /opt/hpnpl directory?

It will not ping the printer if the printer is not known : either it is declared in DNS either you add it in /etc/host
Then test you can ping the name (which can be different of actual... why give to HPUX a name of 16 char if you can renamed it here?...)

You could also configure by giving the IP but in this case you shoud not bypass:
If no reply on ping then check... and in last phase, that is just before validating the config, the name which should be at the time IPsomething can now be modified and given the proper name
  #5 (permalink)  
Old 11-02-2008
nubix nubix is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 7
Hmm, it's very strange.
I've tried adding the printer again, through sam and /etc/host file but it says it already exists. And i can ping the printer name outside of Sam. But adding the printer through HP Jetdirect (which is installed) it cannot ping the printer nor the IP address.

What should i check? i'm sure i'm missing something.
thanks.
  #6 (permalink)  
Old 11-03-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
Not on the same network? Are you being filtered?
JetDirect ports:9100, 9101, 9102
  #7 (permalink)  
Old 11-03-2008
nubix nubix is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 7
Yes, the printer is on a different network.
But how do i check if i'm being filtered or blocked?
Closed Thread

Bookmarks

Tags
linux download, unix download

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0