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
07-18-2005 02:14 AM
07-18-2005 02:14 AM
2. within my application program "C", how I can kick off MICR font.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 03:05 AM
07-18-2005 03:05 AM
Re: PCL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:33 AM
07-18-2005 04:33 AM
Re: PCL
PROCEDURE eve_dam_insert_escape
LOCAL curr_range;
curr_range := COPY_TEXT(ASCII(27));
POSITION(END_OF(curr_range));
MOVE_HORIZONTAL(1);
ENDPROCEDURE;
After entering the above, press the DO key and enter EXTEND TPU * and press return. You can then define a key to be dam_insert_escape and it will insert the escape character whenever typed in that session. To keep it across sessions, you need to save the tpu section file and use it again when you invoke the editor. I borrowed the above from some other code I have, so I don't remember what each of the lines does. I haven't extended my tpu section file in many years. The 27 is the ASCII value in decimal of the ESC character. The letters dam in the above are just my initials and can be replaced with any other character string. The main intent is to ensure the string is unique and does not replace another built in function by accident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 07:14 AM
07-18-2005 07:14 AM
Re: PCL
In EVE, the easiest way to enter many control characters is with "QUOTE" command: ^V. For escape, type ^V then ^[ (ie: hold the Ctrl key down, then type V then [). Depending on your terminal or terminal emulator, the character will appear as a grey block, a backwards question mark or an "esc" glyph.
QUOTE allows you to insert most control characters. The only exceptions are characters that are interpreted by the terminal driver, ^Y, ^C, ^S, ^Q, ^O etc...
Hit the DO key and type HELP QUOTE for more details.
To insert any character, regardless of terminal drivers and other out of band mechanisms, use the EVE$INSERT_TEXT routine and the ASCII function. For example, to insert ^Y, hit DO then:
Command: TPU EVE$INSERT_TEXT(ASCII(25))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 05:14 PM
07-18-2005 05:14 PM
Solutionwelcome invms forum :-)
If your application is C program use \e sequence to create escape code; e.g.
esc = '\e';
myString = "\e[0m";
About PCL font you can use ESC ( id form primary font and ESC ) id for secondary font, where
ESC is escape code
( is left paren char
id is font identifier.
Font id is printer dependent; most common are:
0N -> ISO Latin1
8U -> PC-8
Antonio Vigliotti