HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating a Printer
Operating System - HP-UX
1830203
Members
10695
Online
109999
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-18-2006 05:30 AM
09-18-2006 05:30 AM
Creating a Printer
Hi, I need to create a printer on a client's HP-UX server (version 10.20)
I had a look in /etc/lp/interface (and also used lpstat), and found:
device for lp1: /dev/dtc01b03p20
device for lp2: /dev/dtc01b02p22
device for lp4: /dev/dtc01b02p12
device for lp5: /dev/dtc01b02p8
I am trying to understand the /dev/dt* devices. I am used to printing to network printers, where the printer can be found in /etc/hosts.
I would appreciate it if someone could tell me a little more about the printers above, and how they work.
I tried using SAM, where I saw they were created as "local" printers, but I did not know enough to continue from here.
Any help appreciated.
Regards
Dirk
I had a look in /etc/lp/interface (and also used lpstat), and found:
device for lp1: /dev/dtc01b03p20
device for lp2: /dev/dtc01b02p22
device for lp4: /dev/dtc01b02p12
device for lp5: /dev/dtc01b02p8
I am trying to understand the /dev/dt* devices. I am used to printing to network printers, where the printer can be found in /etc/hosts.
I would appreciate it if someone could tell me a little more about the printers above, and how they work.
I tried using SAM, where I saw they were created as "local" printers, but I did not know enough to continue from here.
Any help appreciated.
Regards
Dirk
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2006 04:10 PM
09-18-2006 04:10 PM
Re: Creating a Printer
The device files look suspiciously like DTC device files. What shows up when you use this command?
lssf /dev/dtc*
If these are indeed DTC files, the printers are wired to a special serial-to-LAN concentrator (which is very rare today). So the first task is to understand how printers are connected to HP-UX:
1. serial or parallel cables, known as local printers
2. remote printers which are printers served by some other box (WinNT, Linux, etc)
3. Network printers which are *ONLY* HP printers with HP network cards called JetDirect cards
4. DTC printers which are serial printers with the cables plugged into a box with a LAN port. Because special DTC software is installed on this HP-UX box, the device files look like local printers but must be configured with special software.
So the first question is: what type of printer, and what type of cable (ie, connection) does it have?
Bill Hassell, sysadmin
lssf /dev/dtc*
If these are indeed DTC files, the printers are wired to a special serial-to-LAN concentrator (which is very rare today). So the first task is to understand how printers are connected to HP-UX:
1. serial or parallel cables, known as local printers
2. remote printers which are printers served by some other box (WinNT, Linux, etc)
3. Network printers which are *ONLY* HP printers with HP network cards called JetDirect cards
4. DTC printers which are serial printers with the cables plugged into a box with a LAN port. Because special DTC software is installed on this HP-UX box, the device files look like local printers but must be configured with special software.
So the first question is: what type of printer, and what type of cable (ie, connection) does it have?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2006 06:53 PM
09-18-2006 06:53 PM
Re: Creating a Printer
Thank you very much, this is some great feedback. I ran the lssf command on the dtc devices, and got the following result:
pseudo driver ptys minor 0x000001 /dev/dtc01b02p12
pseudo driver ptys minor 0x000003 /dev/dtc01b02p22
pseudo driver ptys minor 0x000004 /dev/dtc01b02p8
pseudo driver ptys minor 0x000002 /dev/dtc01b03p20
Unfortunately the company's IT staff have all left the company, and I do not know anything about the physical setup there (have remote dialup to them). I will try and find out in the meantime.
Regards
Dirk
pseudo driver ptys minor 0x000001 /dev/dtc01b02p12
pseudo driver ptys minor 0x000003 /dev/dtc01b02p22
pseudo driver ptys minor 0x000004 /dev/dtc01b02p8
pseudo driver ptys minor 0x000002 /dev/dtc01b03p20
Unfortunately the company's IT staff have all left the company, and I do not know anything about the physical setup there (have remote dialup to them). I will try and find out in the meantime.
Regards
Dirk
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP