- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is this possible?
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-04-2002 02:09 AM
10-04-2002 02:09 AM
Is this possible?
Any pointers greatly appreciated.
Thanks in Advance.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 02:12 AM
10-04-2002 02:12 AM
Re: Is this possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 02:49 AM
10-04-2002 02:49 AM
Re: Is this possible?
Also check the printers emulation - it may emulate HP.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 03:19 AM
10-04-2002 03:19 AM
Re: Is this possible?
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 08:04 AM
10-04-2002 08:04 AM
Re: Is this possible?
The HP printer used PJL for commands. I had to rewrite the LP set to be wrappers and add the PJL to the prints where needed. Getting the PJL commands from HP was as hard as removing wisdom teath.
Tektronics required postscript commands for commands. They shipped me all their commands with proof of ownership, and were really helpfull. It still required a rewrite of the LP commands to add headers where needed.
One day I'll be really insane, and merge the two systems.... well, maybe not.
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 08:23 AM
10-04-2002 08:23 AM
Re: Is this possible?
No need to wrapper the lp command in this case. Now, if you want to control options like fonts and margins, you'll need to add options to the script stored in /etc/lp/interface under the name of the printer. Examples of how -o options are handled are found in /usr/lib/lp/model where one of the early HP model scripts will be fairly readable (ie, laserjet). You'll need the Ricoh tech manual to put in the proper codes. You can edit the script while the lp spooler is running.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 05:19 AM
10-07-2002 05:19 AM
Re: Is this possible?
#!/bin/ksh
echo "^[[5i" # Printer on
echo "^[&k2S\c" # 17 pitch
cat ${1} # Print file
echo "^[R\c" # Reset printer
echo "^[[4i" # Printer off