- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Form Feed added to data with lp command
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
08-25-2005 01:03 AM
08-25-2005 01:03 AM
Form Feed added to data with lp command
I'm using a big size display device in a factory, to with I send very few data.
(eg : ^D^D^D070037^M)
Unfortunately, using the lp command, a Form Feed is added at the end of the data, and my display device refuses to work properly.
Some other servers running different OS send data to the same display device, with the lpr command, and there is no FF added.
I had a look at the lp man page, it briefly talks about a "raw option" that can be specified, preventing lp to do things like that. But I can't find any information on how to set that option.
The dislay is defined like this :
crw-rw-rw- 1 root sys 170x00000a Aug 25 14:14 /dev/telnet/isx2fw40
thanks for any advice,
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 01:06 AM
08-25-2005 01:06 AM
Re: Form Feed added to data with lp command
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 01:37 AM
08-25-2005 01:37 AM
Re: Form Feed added to data with lp command
Maybe I've some other problems somewhere, as for example in the /var/spool/lp/interface/ ?
I saw some char are added there too, but I'm not sure when these scripts are used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 01:44 AM
08-25-2005 01:44 AM
Re: Form Feed added to data with lp command
The scripts in /var/spool/lp/interfaces is created when configuring a printer, they are actually copied from master scripts in the model subdirectory.
You can modify a such interface script at your own needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 01:55 AM
08-25-2005 01:55 AM
Re: Form Feed added to data with lp command
script which does the printing. Look in the interface file and you will probably see where the FF is added.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 02:26 AM
08-25-2005 02:26 AM
Re: Form Feed added to data with lp command
Is it possible that the way the HP server negociates a tcp connexion to that server influences the data transmitted ?
Using a sniffer we saw that the connexion stays established while two messages are transmitted. This didn't seem to happen from other servers.
(one connexion for every single message)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 07:23 PM
08-25-2005 07:23 PM
Re: Form Feed added to data with lp command
tweaking in the scripts did the trick !
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 07:24 PM
08-25-2005 07:24 PM