- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DTC printing problem
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
10-11-2000 04:51 AM
10-11-2000 04:51 AM
DTC printing problem
Here's what I've done:
I've added entries to /etc/ddfa/dp; I've run "/etc/dpp /etc/ddfa/dp -k" - this has created entries in /dev/telnet; I've setup DTC ports for printing through dtcconfig - they are setup exactly the same as the previous ports as far as I can tell; In /etc/lp/interface I've copied the file used for the working printers; In SAM I've added a printer using local printer -> non-standard device (I can't recall exactly what the second menu item reads as) and selected the new entry in /etc/lp/interface and the newly created entry in /dev/telnet; the lp spooler has been stopped and started; I've power cycled the DTC.
When I send a job to the new printer, "lp -dlabel4 /textfile", it doesn't print on the printer or any other printer.
I've tried numerous other ports and different cables.
I didn't find anything untoward in the spooler log file or the dtcconfig log file.
Any ideas on how to diagnose the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2000 05:58 AM
10-11-2000 05:58 AM
Re: DTC printing problem
exec 2>/tmp/yourprinter.debug
set -x
after first line:
#!/bin/sh
If this line is ommited add it too.
do a lp request and then vi debug file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2000 10:11 AM
10-11-2000 10:11 AM
Re: DTC printing problem
chmod a+rwx /dev/telnet
I have sometimes been tripped up by this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 01:48 AM
10-31-2000 01:48 AM
Re: DTC printing problem
1. Make a note of telnet ip address and port that printer is on.
2. Edit /etc/ddfa/dp file to include this address and port (Note spider addrees is format of spid3O05 -(three,oh,zero,five.)
3. Check that ocd (outbound connection deamon is not running on that port) ps -ef|grep ocd|grep spid3O05
4. If no OCD is running start new in dev/telnet as follows:-
# ocd -n(DTS ip address) -f/dev/telnet/spid3O05 -bxx -p(port no) -c/etc/ddfa/pcf
5. check that ocd has started ps -ef|grep ocd|grep spid3O05
See also man ocd
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 01:48 AM
10-31-2000 01:48 AM
Re: DTC printing problem
1. Make a note of telnet ip address and port that printer is on.
2. Edit /etc/ddfa/dp file to include this address and port (Note spider addrees is format of spid3O05 -(three,oh,zero,five.)
3. Check that ocd (outbound connection deamon is not running on that port) ps -ef|grep ocd|grep spid3O05
4. If no OCD is running start new in dev/telnet as follows:-
# ocd -n(DTS ip address) -f/dev/telnet/spid3O05 -bxx -p(port no) -c/etc/ddfa/pcf
5. check that ocd has started ps -ef|grep ocd|grep spid3O05
See also man ocd
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 04:49 AM
10-31-2000 04:49 AM
Re: DTC printing problem
ll pty | wc -l (this will give you the current number of ptys on the system)
insf -d ptys -n 400 ( -n being the value you want to set npty to, not to exceed the value listed in the system file.)
insf -d ptym -n 400
I have always set ptys and ptym to the same value. If you do not have enough of the special files, things like telnet sessions will not start. I am not sure if this will acutally help with DTC printing though.
Leigh Ann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 05:07 AM
10-31-2000 05:07 AM
Re: DTC printing problem
To get the number currently on the system.
ll pty | wc -l
To increase on the fly,
insf -d ptys -n ### (### is the number you want to increase by, not the new total)
insf -d ptym -n ### (### is the same number as used above)
But don't use a number that will cause the system to try to create more special files than the value of npty in /stand/system.
Leigh Ann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 05:09 AM
10-31-2000 05:09 AM
Re: DTC printing problem
To get the number currently on the system.
ll pty | wc -l
To increase on the fly,
insf -d ptys -n ### (### is the number you want to increase by, not the new total)
insf -d ptym -n ### (### is the same number as used above)
But don't use a number that will cause the system to try to create more special files than the value of npty in /stand/system.
Leigh Ann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 05:09 AM
10-31-2000 05:09 AM
Re: DTC printing problem
To get the number currently on the system.
ll pty | wc -l
To increase on the fly,
insf -d ptys -n ### (### is the number you want to increase by, not the new total)
insf -d ptym -n ### (### is the same number as used above)
But don't use a number that will cause the system to try to create more special files than the value of npty in /stand/system.
Leigh Ann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 05:12 AM
10-31-2000 05:12 AM
Re: DTC printing problem
To get the number currently on the system.
ll pty | wc -l
To increase on the fly,
insf -d ptys -n ### (### is the number you want to increase by, not the new total)
insf -d ptym -n ### (### is the same number as used above)
But don't use a number that will cause the system to try to create more special files than the value of npty in /stand/system.
Leigh Ann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 06:02 AM
10-31-2000 06:02 AM