[Solved] Problem creating print queue HP-UX -to- HP4100N


 
Thread Tools Search this Thread
Operating Systems HP-UX [Solved] Problem creating print queue HP-UX -to- HP4100N
# 1  
Old 10-03-2009
[Solved] Problem creating print queue HP-UX -to- HP4100N

Hi all, I am new to HP-UX, using SAM I cannot make a print queue on my test server. From my test & live server as the user required and as root I can ping my printer. I have tried to clone the test print queue using the exact same options use on my live system that prints just fine. Can anyone give me some pointers? TIA -KJ Smilie

PS if it matters I am using: HP-UX B.11.23 U ia64
# 2  
Old 10-03-2009
What error messages do you see in the log files (/var/sam/log/samlog, /var/log/messages and / var/adm/syslog/syslog.log for HP-UX I think)?
If you are printing to the network printing using LPD then you should be able to connect to the printer using telnet to port 515, if this works from one server and not the other then perhaps one has a firewall on it blocking port 515.
A failed connection would show a message something like:
Code:
telnet: Unable to connect to remote host: Connection refused"

A successful connection will get a message like:
[
Code:
Connected to printeraddress
Escape character is '^]'.

As it says hit the <ctrl> and <]> keys together to exit from a successful telnet connection.

Last edited by TonyFullerMalv; 10-03-2009 at 06:00 PM.. Reason: Added location of SAM log.
# 3  
Old 10-07-2009
If you are using HP JetDirect to drive the printer, check that both servers have the package installed.

Code:
swlist | grep -i "jet"

We use "addqueue" not SAM to create print queues. The printers still become visible in SAM.
We have had an issue with HP4100 printers and the JetDirect "addqueue" command. The printer identity is not recognised.

If the 4100 printer is not listed in:

Code:
addqueue -l

force the printer in "addqueue" as a HP LaserJet 4050 (-i267).
This User Gave Thanks to methyl For This Post:
# 4  
Old 03-16-2010
It has been forever since I checked back on this question.
It looks like no jet software is installed on my server.
swlist | grep -i "jet"
..and the command "addqueue -l" is not available. or should I say "addqueue". I will look into this command next.
-KJ

Last edited by KmJohnson; 09-11-2010 at 10:48 AM..
# 5  
Old 03-17-2010
or do you have an /opt/hpnpl directory?

This is the software you need to install if missing:
HP JD Printer Installer for HP-UX 11.x- HP JetDirect Printer Installer for UNIX - HP Business Support Center

You can either use addqueue as suggested by methyl or configure through SAM (choosing network not remote...) port 9100 should also be open...
This User Gave Thanks to vbe For This Post:
# 6  
Old 09-10-2010
Hey thanks for the help on this...
I was able to create a new queue with “addqueue” just fine.
By the way sorry for the long delay, I was put on another project for quite some time before I could get back to this.
So I made the queue and am seeing something I have never seen before in the results. I have PJL embedded printing commands coming out. I set up my queue with PCL only. Has anyone seen/heard of this and know where I might look to stop it?
Example:
?%-12345X@PJL USTATUS PAGE = OFF
@PJL USTATUS PAGE=ON
@PJL JOB NAME = "User: dXXXXXXX; Job: check-240" START = 1 @PJL SET COPIES = 1 @PJL ENTER LANGUAGE=PCL ?&s1C?&k2G?(s16.66H?&l8D?&a3L

{file/report body}

?E?E?%-12345X@PJL
@PJL RESET
@PJL EOJ NAME = "User: dXXXXXXX; Job: checks-240"
?%-12345X

I have looked at my source programming code in my ERP system and it does not have any JPL strings in it. I have tried using different reports and they also have the embeded JPL in my final reports. The original report is for my corperate "checks" and it cannot have these extra commands. TIA. -KJ Smilie

Last edited by KmJohnson; 09-11-2010 at 10:51 AM..
# 7  
Old 09-13-2010
Needs a manual edit of the model file.

Code:
See
/etc/lp/interface/model.orig/<printername>

Change the line
BANNER="yes"
to
BANNER=""

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

[Solved] a way to tell printer used by configured print queue?

Hello; As the title says, am trying to find our which driver is used for the alraedy working print queues.. neither hpnpf nor hppi seems to give that info .. Any ideas ?? Thnx (2 Replies)
Discussion started by: delphys
2 Replies

2. Programming

[Solved] how to send an integer via message queue?

how can i send an integer via message queue? i try this, but it doesn't work, child process receive 13345943 instead of 5 #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/msg.h> #include <sys/ipc.h> #include <sys/sem.h> #include <errno.h> #include <unistd.h>... (2 Replies)
Discussion started by: tafazzi87
2 Replies

3. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

Hello, Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one. Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one? My AIX system is 5.3 Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies

4. Programming

creating a message queue using mq_open

Hi all, First of all thanks in advance for reading my post and for your heart for helping me. I am trying to create a message queue using mq_open(name,oflags,mode_t,attr) method. But that function call is returning with an error code EFAULT. By googling it I found that it happens when there is... (10 Replies)
Discussion started by: parusasi
10 Replies

5. Programming

Permission denied when creating message queue

Hi guys. i have wrote a simple program to test message queue attributes. here it is: #include <stdio.h> #include <stdlib.h> #include <mqueue.h> #include <fcntl.h> #include <string.h> #include <errno.h> #include <sys/stat.h> int main() { struct mq_attr attr; mqd_t mqd; ... (2 Replies)
Discussion started by: majid.merkava
2 Replies

6. Solaris

creating printer queue in Solaris 10

I have installed the foo2zjs drivers but i don't know the next steps to how to make a print queue with ppd files........kindly guide me out if anyone have used foo2jzs or some other methods to configure the hp laserjet 1022n printer.Kindly explain step by step procedure of how to do this. ... (2 Replies)
Discussion started by: kumarmani
2 Replies

7. AIX

Problem with custom print queue backend

I'm trying to write a custom backend (ksh script) for a print queue that will encrypt a file then FTP it to a server. I had been testing the script by just executing it by hand and giving it a file as an argument. When I run the script manually, everything works perfectly. But when I run the script... (0 Replies)
Discussion started by: acascianelli
0 Replies

8. Programming

URGENT:::Can anybody help me in creating message queue appliction??

hello, I had to implement a message queue application....between 30 processes...... all 30 proceses are getting data from serial port.... And here is THE FLOW::::::::1 connector process...which is linked with message queue to all the 30 applications. Processes get the data from serial port and... (9 Replies)
Discussion started by: arunchaudhary19
9 Replies

9. Solaris

Print to ps2pdf print queue

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (2 Replies)
Discussion started by: Sean_69
2 Replies

10. UNIX for Dummies Questions & Answers

Problem with print queue

I have a problem with a print queue that keeps going down on me every couple of days. When it happens I run an 'enable' and all is fine for a few more days. Can anyone can tell me where to start looking to debug this problem as i am new to UNIX Thanx (1 Reply)
Discussion started by: carell
1 Replies
Login or Register to Ask a Question