- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing default printer font in /etc/lp/interface...
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
03-22-2007 02:05 AM
03-22-2007 02:05 AM
changing default printer font in /etc/lp/interfaces/<printername>
I want to change the default font to OCR-B on a remote HP printer via /etc/lp/interfaces/
I'm running hpux 11i.
How and where in the file should I do this?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2007 02:44 AM
03-22-2007 02:44 AM
Re: changing default printer font in /etc/lp/interfaces/<printername>
You dont mention if you are talking of true remote or network printer...
In the case of network using Jetdirect, do a man hppi,2 options to change default fonts:
directly on the printer or
use an alias for an lp -o type -o... -d...
where you need to check the fonts list availability in the printer to find the value...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2007 02:48 AM
03-22-2007 02:48 AM
Re: changing default printer font in /etc/lp/interfaces/<printername>
Sorry, It's a remote printer I'm talking about. There are are these BSDl, BSDk etc.
cases in the /etc/lp/interface/
file. Somewhere I should add an escape code I guess. But where and how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2007 04:01 AM
03-22-2007 04:01 AM
Re: changing default printer font in /etc/lp/interfaces/<printername>
Of what I know:
No -o options will work for the lp command unless the remote print server is another HP-UX box since your box has no idea of what printer it is sending to...
We used to encapsulate sequences and rewrite the lp command for such usage but this was log time ago and I dont remember how it works any more and am looking for clues...
So far:
STRING="${RESET}^[&l26a1e1l70F${DEFAULT_FONT}"
And found RESET="^[E"
8 years have passed since last time I went through this...
Still looking
All the best
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2007 05:01 AM
03-22-2007 05:01 AM
Re: changing default printer font in /etc/lp/interfaces/<printername>
Does that work?
All the best
Victor