Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf Post 302546160 by haezeban on Wednesday 10th of August 2011 01:53:15 PM
Old 08-10-2011
Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi,

We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).

This is the configuration file :

Code:
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice: /dev/null
Interface: /usr/spool/lp/model/HPLaserJetPrinter 
type: unknown
Number of banners: 0
root@sco1 #

Printing worked fine from the unix via the lp-command.
But now I had to change the IP-adres from the printer. I did this in the /etc/hosts file and then restarted the printservices via lpshut and lpsched.

In scoadmin/Printers/HP network printer manager/ Test printer activity
There I print a textfile (
Code:
/usr/lib/hpnp/hpnpf -n -v -R -x pr50 textfile

This works perfect

But printing the same file with
Code:
lp -dpr50 textfile

doesn't work.
I see the job in the spooler, but there is no printing.

I do not understand this. The problem is now that the whole application doesn't print anymore. So it is quite problematic.

I didn't reboot the unix, but I retarted the spooler. But no luck.

Did I forgot something ?

Thanks;

Last edited by pludi; 08-10-2011 at 04:38 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Printing via SCO Unix problems ;-(

I get the following when printing from a SCO Unix application { Who are you ?} The user is printing to a printer on a network print sharing device HP 500x. I think this printer is shared via the Unix machine. How does one set up printer sharing on Unix and access permissions for them? ... (2 Replies)
Discussion started by: JoseHose
2 Replies

2. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

3. UNIX for Advanced & Expert Users

SCO Unix 5.0 printing

Iv'e been having a problem with printing that driving me CRAZY! I am trying to print a large file about 200-300 pgs, but the print job reaches a certain point then stops, the job does'nt finish. Anyone have any suggestions? (2 Replies)
Discussion started by: dpadron
2 Replies

4. AIX

Printing multiple copies via remote queue

Hi all, I have an interesting problem. Using remote queues to print using jetdirect printers I am unable to get a printer to print multiple copies of a print job. command being used: lpr -P -#3 ./test (one copy prints) Also tried: enq -P -C3 ./test (same results) Any ideas? ... (6 Replies)
Discussion started by: Luck
6 Replies

5. AIX

Printing queue in rs6000

Hi, I'm at following old machine:@rs6000:/:> uname -a AIX rs6000 2 4 007016224C00 We are facing some problems with print queues, whenever a print queue gets stuck we cannot cancel it, we don't have any other option except restarting the machine, we have following queues:@rs6000:/etc:> lpstat... (23 Replies)
Discussion started by: nervous
23 Replies

6. SCO

Local Printing Issue in SCO Unix OS 5.0.5

Folks, Have a SCO OpenServer 5.0.5 legacy box on site that has run our legacy ERP system for about 15 years now. Primarily uses an Okidata 321 ML Turbo line printer (defined as 'printer') attached to the system's parrel port at /dev/lp0. System primarily operates as a terminal server with... (2 Replies)
Discussion started by: SystemsAdminAS
2 Replies

7. SCO

Printing via hpnpf versus lp

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name an ip-adress. This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice: /dev/null Interface:... (2 Replies)
Discussion started by: haezeban
2 Replies

8. AIX

Remote printing to Linux CUPS queue

Hello all. I am setting up a queue under AIX 4.2.1 to print to a remote Linux CUPS queue. At present I can print to the queue remotely from Windows but not AIX. What I am seeing is lpstat reads the state of the remote queue but at job submission time I am getting backend exit fatal errors. The... (4 Replies)
Discussion started by: tgx
4 Replies

9. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

10. SCO

USB Printing for SCO UNIX OpenServer 5.0.7

Years ago I set up USB printing for SCO UNIX OpenServer 5.0.7 for a client--but I've misplaced my notes on how to do this! Maintenance Pack 5 is installed. I need step-by-step instructions to proceed. I've searched the SCO Knowledge Base site and found nothing there or elsewhere on the Web. (3 Replies)
Discussion started by: Transpower
3 Replies
rlprrc(5)						       UNIX Reference Manual							 rlprrc(5)

NAME
rlprrc - remote printing resource file DESCRIPTION
The rlprrc configuration file is consulted by the remote printing commands (rlpr(1), rlpq(1), and rlprm(1)) to resolve a printqueue or a hostname. It can be used to either lookup a printqueue (printer) for a given host, or a host for a given printqueue. If both the printer and the printhost are known, this file is never consulted. Initially, the remote printing commands look for the file .rlprrc in the user's home directory. If that file cannot be found or does not provide the information necessary to resolve the query, then the system-wide /etc/rlprrc is consulted (if present). If resolution is still unsuccessful, the command fails. There is one entry per line - each line has the format: hostname: printer1 printer2 ... printerN Which indicates that host hostname has printers printer1 printer2 ... printerN available. In the case where the remote printing command knows the host to print to but does not know which printer to use on that host, the first one (printer1 here) will be used. In the case where the remote printing command knows the printqueue (printer) to print to but does not know what host has that queue, the last host which has the specified printqueue is used. If this behavior is not acceptable, you can force a certain host to always be used for a certain printqueue by putting a ! after the printqueue name. For example, an .rlprrc file containing: foo.baz.org: litho laserjet4! foo.bar.org: laserjet4 lineprinter will always resolve the printqueue laserjet4 to foo.baz.org no matter what other hosts have a printqueue named laserjet4. The rlprrc file is only consulted in situations where a printqueue or hostname needs to be resolved. It is provided only for convenience and is not required. SEE ALSO
rlpr(1), rlpq(1), rlprm(1), rlprd(8) AUTHOR
meem <meem@gnu.org> rlpr 2.04 1999/10/28 rlprrc(5)
All times are GMT -4. The time now is 03:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy