HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add form feed after printing in Jetadmin (D.06...
Operating System - HP-UX
1829582
Members
1632
Online
109992
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
01-28-2001 10:17 PM
01-28-2001 10:17 PM
Hi,
I added a printer using "dumbplot model script for printer" in Jetadmin (D.06.21). The environment is as follows:
1) HP N-class
2) OS: HP-UX 11.00
3) Printronx printer
4) HP JetDirect print server
Problem: No form feed after printing
Question: How to add form feed after printing
Note: There is no problem in another K-class m/c running OS 10.20 using Jetadmin (D.01.08) which configured as dumb printer in the same JetDirect print server and printronix printer.
Any advise is appreciated.
Rgds,
YC
I added a printer using "dumbplot model script for printer" in Jetadmin (D.06.21). The environment is as follows:
1) HP N-class
2) OS: HP-UX 11.00
3) Printronx printer
4) HP JetDirect print server
Problem: No form feed after printing
Question: How to add form feed after printing
Note: There is no problem in another K-class m/c running OS 10.20 using Jetadmin (D.01.08) which configured as dumb printer in the same JetDirect print server and printronix printer.
Any advise is appreciated.
Rgds,
YC
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2001 11:59 PM
01-28-2001 11:59 PM
Solution
Hi,
if your printer is not a plotter (no HPGL usage)
you can modify the file:
/etc/lp/interface/model.orig/ as folows:
remove the line:
echo "IN;\n" # no HPGL command needed
change the line:
echo "PG;\n" # 'HPGL form feed'
to
echo "\014\c" # add form feed (\014 = ^L)
Regards
if your printer is not a plotter (no HPGL usage)
you can modify the file:
/etc/lp/interface/model.orig/
remove the line:
echo "IN;\n" # no HPGL command needed
change the line:
echo "PG;\n" # 'HPGL form feed'
to
echo "\014\c" # add form feed (\014 = ^L)
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2001 12:34 PM
02-28-2001 12:34 PM
Re: Add form feed after printing in Jetadmin (D.06.21)
I had this same problem three years ago where I used to work, but it was a little more complicated. I needed form feeds, but I also needed to make sure that form feeds would NOT occure if the paper was already on the first line of a page and I needed to make sure that the printhead did not stair step down the page as a result of printing jobs from some IBM mainframes. One more thing, people wanted the fix ASAP!!!
The solution was to create a simple Perl script that would count the lines and put in form feeds at the end of every page and job if necessary. It even did a look ahead to see if a form feed was necessary (i.e. if this is line 54 is there a form feed on line 55 after the space?)
I configured printers as HP 4MV network printers and then replaced the 4MV model file in the /var/spool/lp/interface/model.orig with the Perl script that I had written. It worked great!
I eventually replaced the Perl script with a C program to make it a little faster.
This is one of those times that the HP solution to the problem (the dump printer file) just does not work.
If you are interested in the code, I will see if I can find it somewhere.
The solution was to create a simple Perl script that would count the lines and put in form feeds at the end of every page and job if necessary. It even did a look ahead to see if a form feed was necessary (i.e. if this is line 54 is there a form feed on line 55 after the space?)
I configured printers as HP 4MV network printers and then replaced the 4MV model file in the /var/spool/lp/interface/model.orig with the Perl script that I had written. It worked great!
I eventually replaced the Perl script with a C program to make it a little faster.
This is one of those times that the HP solution to the problem (the dump printer file) just does not work.
If you are interested in the code, I will see if I can find it somewhere.
Computers are just external storage for my brain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2001 12:09 AM
03-01-2001 12:09 AM
Re: Add form feed after printing in Jetadmin (D.06.21)
Hi Robert,
Thanks for your time. As you said, people can't wait and the code suggested by Andreas had solved my problem.
Thanks for your concern.
YC
Thanks for your time. As you said, people can't wait and the code suggested by Andreas had solved my problem.
Thanks for your concern.
YC
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