- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- escape character for ascii text printing
Operating System - HP-UX
1819966
Members
3461
Online
109607
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-19-2004 08:51 PM
тАО08-19-2004 08:51 PM
escape character for ascii text printing
We are using escape character as 27 and use fprintf( pf,"%c(10U%c(s0p16.67h8.5v0s0b0T", 27,27 ); to modify the font size to print 132 characters per line. It is printing in 2 lines. When i open the file in vi editor, the lines are of 132 character in single line. Please suggest what is wrong? How do i get to know if this font is supported on our printer?
using lp -d "printer name" to print the file on AIX 5L unix system
using lp -d "printer name"
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 11:26 PM
тАО08-19-2004 11:26 PM
Re: escape character for ascii text printing
hi,
Try
fprintf(pf,%c,"^[(10U^[(s0p16.67h8.5v0s0b0T")
^[ is escape character (single character). You can generate it on command line or vi by using CTRL V (CTRL key in same time V key)subsequently ESC key.
Rgds
JMB
Try
fprintf(pf,%c,"^[(10U^[(s0p16.67h8.5v0s0b0T")
^[ is escape character (single character). You can generate it on command line or vi by using CTRL V (CTRL key in same time V key)subsequently ESC key.
Rgds
JMB
Si vous ne faites jamais de b├йtises, c'est que vous ne faites rien de difficile. Et ├зa c'est une grosse b├йtise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 03:43 AM
тАО08-23-2004 03:43 AM
Re: escape character for ascii text printing
Try :
fprintf( pdf,"^[(10U^[(s0p16.67h8.5v0s0b0T");
To put in the escape character just hit control-v and then hit the escape character.
= Mike =
fprintf( pdf,"^[(10U^[(s0p16.67h8.5v0s0b0T");
To put in the escape character just hit control-v and then hit the escape character.
= Mike =
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP