- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PJL in script or C
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
Discussions
Discussions
Forums
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
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
тАО11-10-2004 08:12 AM
тАО11-10-2004 08:12 AM
Thanks in advance!
Solved! Go to Solution.
- Tags:
- PJL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 08:13 AM
тАО11-10-2004 08:13 AM
Re: PJL in script or C
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 06:56 PM
тАО11-10-2004 06:56 PM
Re: PJL in script or C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 12:09 AM
тАО11-11-2004 12:09 AM
Re: PJL in script or C
Johan, I have tried that but got no response. Perhaps I did not do it right. I treated the printer as the server and had the tcp client connect on port 9100. (I stumbled on that port in the hpnpf man page)I achieved a connection and sent commands, but the printer did not return anything...(?)
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2004 07:12 PM
тАО11-14-2004 07:12 PM
SolutionThe attached [ modified ] excerpt from my pjl driver retrieves the configuration information from a PJL printer. I know the recv loop could be implemented smarter, but as is it shows best what needs to be done.
Compile with the -D_SOCKET_SOURCE and -D_HPUX_SOURCE options and execute specifying the printer name and port on the command line. If this example does not work I think you should check printer and / or network settings, but I'm afraid I can't help you there much further.
HTH
Johan