HPE GreenLake Administration
Operating System - HP-UX
1838135
Members
3231
Online
110124
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
07-02-2003 03:13 AM
07-02-2003 03:13 AM
Hi
This is probably in the wrong area !!!! But,
I am trying to generate PCL code to be send to a printer.
Currently I have a setup where the PLC code is sending a number of control characters as below
^[&l67F^[&a3L
This sets text length to 67 lines and the left margin to 3.
When you cat the file is shows as
l67Fa3L
So I need to add a sequence in the file to set the top margin to 0
So if I more the file is should look like.
^[&l67F^[&a3L^[&l0E
and when catting show as
l67Fa3Ll0E
However, in vi, I am unable to generate the required control sequence to make the ^[&, as I cannot do this in vi !!!
Thanks
This is probably in the wrong area !!!! But,
I am trying to generate PCL code to be send to a printer.
Currently I have a setup where the PLC code is sending a number of control characters as below
^[&l67F^[&a3L
This sets text length to 67 lines and the left margin to 3.
When you cat the file is shows as
l67Fa3L
So I need to add a sequence in the file to set the top margin to 0
So if I more the file is should look like.
^[&l67F^[&a3L^[&l0E
and when catting show as
l67Fa3Ll0E
However, in vi, I am unable to generate the required control sequence to make the ^[&, as I cannot do this in vi !!!
Thanks
Argh ye land lovers !
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 08:17 AM
07-02-2003 08:17 AM
Re: PCL code
Steve,
thanks for the update this has worked.
My problem was I was using an emulator to access unix and the CTRL V does the same job as in windows (Scum) , a paste.
So Iaccessed the server from a dos prompt telnet and can use the sequence in vi this way.
many thanks
Paul
thanks for the update this has worked.
My problem was I was using an emulator to access unix and the CTRL V does the same job as in windows (Scum) , a paste.
So Iaccessed the server from a dos prompt telnet and can use the sequence in vi this way.
many thanks
Paul
Argh ye land lovers !
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP