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
cupsaccept(8)							    Apple Inc.							     cupsaccept(8)

NAME
cupsaccept/cupsreject - accept/reject jobs sent to a destination SYNOPSIS
cupsaccept [ -E ] [ -U username ] [ -h hostname[:port] ] destination(s) cupsreject [ -E ] [ -U username ] [ -h hostname[:port] ] [ -r reason ] destination(s) DESCRIPTION
The cupsaccept command instructs the printing system to accept print jobs to the specified destinations. The cupsreject command instructs the printing system to reject print jobs to the specified destinations. The -r option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unknown". OPTIONS
The following options are supported by both cupsaccept and cupsreject: -E Forces encryption when connecting to the server. -U username Sets the username that is sent when connecting to the server. -h hostname[:port] Chooses an alternate server. -r "reason" Sets the reason string that is shown for a printer that is rejecting jobs. CONFORMING TO
The cupsaccept and cupsreject commands correspond to the System V printing system commands "accept" and "reject", respectively. Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are not case-sensitive. Finally, the CUPS versions may ask the user for an access password depending on the printing system configuration. SEE ALSO
cancel(1), cupsenable(8), lp(1), lpadmin(8), lpstat(1), CUPS Online Help (http://localhost:631/help) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 10 June 2014 CUPS cupsaccept(8)
All times are GMT -4. The time now is 03:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy