- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- add form feed to printer definition in our applica...
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
10-04-2004 01:13 AM
10-04-2004 01:13 AM
I have a HPUX11i system with an Epson FX890 with a built in Epson Lan connection and I need to configure my system to followup the print job with a form feed.
The ERP application support people say that it is an Epson issue, however, Epson, says it is a Unix issue and around and around we go...
My current setup is as follows:
80-Col Start Ctrl; /018
132-Col Start Ctrl: /015
Reset Ctrl: /018
Reset Command: /012
Any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 01:58 AM
10-04-2004 01:58 AM
Re: add form feed to printer definition in our application
Now, if you are willing to change the question to I have an EPson FX-890 connected to an external JetDirect (the printer and external JetDirect are connected via a parallel cable) then you have a problem that can be easily solved by simply adding editing the printer interface file. Using JetDirect, you now have a "Network" printer in HP-UX speak and you have full control over it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 02:06 AM
10-04-2004 02:06 AM
Re: add form feed to printer definition in our application
Thanks for your answer and for confirming my original belief.
Seeing as we are on a Windozzzze network/environment mainly, I will pass onto them.
I have been asking to be involved for a couple of year prior to purchasing any hardware that will be connected to the HPUX environment.
I hope this will provide the necessary justification to get me involved from the outset and not have to scramble after the printer has already been ordered and installed at our remote site.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 02:07 AM
10-04-2004 02:07 AM
Re: add form feed to printer definition in our application
Ream man page of pr fr details. Option -F looks helpful, not sure though.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 02:39 AM
10-04-2004 02:39 AM
Re: add form feed to printer definition in our application
I have another printer with the same problem, an OKIdata impact printer, however it is configured via an External HP Jetdirect unit.
How would I go about editing the printer interface file?
What should I be looking for?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 02:54 AM
10-04-2004 02:54 AM
SolutionThere will be a line that invokes hpnpf (the command that actually sends the output stream to the JetDirect port).
It will look something like this:
for XFILE in ${files}
do
cat ${XFILE} | ${HPNPF}/bin/hpnpf -x myprinter -
done
You need to make a small modification:
TDIR=${TMPDIR:-/var/tmp}
T1=${TDIR}/X${$}_1.tmp
echo "\014\c" > ${T1}
for XFILE in ${files}
do
cat ${XFILE} ${T1} | ${HPNPF}/bin/hpnpf -x myprinter -
done
rm -f ${T1}
Using this technique, you can create a temp file that is sent both before and after a job if you wish to, for example, use a different pitch. You could set up a queue for 10CPI as well as condensed print.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 01:19 AM
10-05-2004 01:19 AM
Re: add form feed to printer definition in our application
We re-connected the HP External Jetdiret box and voila, all is fine without even having to modify any printer codes.
Thanks again.