- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: printer model file
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
01-19-2004 03:37 AM
01-19-2004 03:37 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 03:45 AM
01-19-2004 03:45 AM
SolutionIn the /usr/lib/lp/model/dumb file change the LAST line that now reads
echo "\014\c"
to
echo "\012\c"
This will cause line feeds instead of form feeds at the end of print jobs.
I wouldn't recommend this for laser printers as it won't cause the ejection of print jobs. But that dot matrix printer won't have that problem.
You may want to rename that file to something else (dumb2?) & use that unique filename as the model name for this ptr to avoid the problem on laserjets.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 03:46 AM
01-19-2004 03:46 AM
Re: printer model file
tr "\014" "\012"
However, I doubt that is what you really want to do. I suspect that you want to capture FF's and convert that to enough LF's to finish the page and that is the sole responsibility of the application rather than the spooler itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 03:53 AM
01-19-2004 03:53 AM
Re: printer model file
http://www.epson.com/cgi-bin/Store/support/supDetail.jsp?BV_UseBVCookie=yes&oid=14294&infoType=Doc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 06:07 AM
01-19-2004 06:07 AM
Re: printer model file
cat "$file" | tr -s "\014" "\012"
This will replace every formfeed in the data file with a linefeed.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2004 11:35 PM
06-16-2004 11:35 PM
Re: printer model file
We're running SAP on HP-UX/Oracle.
Matrix printers and other special printers is setup like this on UX.
First we connect all such printers with HP JetDirect EX adapters.
This ensure proper network connection via TCP on port=910x
LPT Port1=9100
LPT Port2=9101
LPT Port3=9102
1) select dumb plot as device driver
2) then we edit the file /etc/lp/interface/model.orig/{queuename}
cat "$file"|ux2dos 2>&1
The ux2dos command will do the necessary translate as shown in the previous answers.
If not available you could use the tr command.
3) If the printer is not connected with a HP network adapter you might need to set another tcp port number.
Example: old Intel Netport adapters using tcp port=3001
edit the file /etc/lp/interface/{queuename}
xPORT="-p 3001"
What you might loose by setting the printers up with the dumbplot - is two way communication related to error handling etc.
I have attached a model file which you could use.
/Tor-Arne