HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Line printer script that reduces 17X11 to print on...
Operating System - HP-UX
1833461
Members
2796
Online
110052
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
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-09-2004 10:35 AM
01-09-2004 10:35 AM
Line printer script that reduces 17X11 to print on 8 1/2 X11
Problem: A program that runs on unix prints most reports on 8 1/2 X 11 but has a few reports that are formatted for 17X11. The program itself cannot be edited since we have no access to the source code. Besides buying everyone a line printer to print these reports, does someone have a script for HP Laser Jet 5SI/5Si MX PS (or any laser jet) that will convert these large reports from 17 X 11 into 8 1/2 X 11. Or can someone modify the current script I have to work with these reports.
Attached is the file from my current printer configuration. This file is from the following directory:
/etc/lp/interface/model.orig>budget
My current version of unix is HP-UX 11.0
Thanks,
Doug
Attached is the file from my current printer configuration. This file is from the following directory:
/etc/lp/interface/model.orig>budget
My current version of unix is HP-UX 11.0
Thanks,
Doug
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2004 01:21 PM
01-09-2004 01:21 PM
Re: Line printer script that reduces 17X11 to print on 8 1/2 X11
This is an enormous task and not a scriptable task if the report is in PCL rather than Postscript. PCL code is not easily scalable, so bitmaps, graphics, even the font for the text must be resized, something that would take days to learn PCL, days to analyze the report's PCL code and days to figure out and test a method to send the correct sequences. The 5Si does have a major advantage in that it's formatting engine knows how to scale so the task is probably do-able, but it will take some effort scouring through the PCL-5 Technical reference manual. Note that only ther newer and larger HP LaserJets have this capability so you'll have to limit the printer choices for this report.
If the report is in Postcript format, the job is somewhat simplified in that Postscript can define the printable area and overall setup codes at the front of the job may be able to setup scaling values for all objects (text, lines, graphics, images). But like PCL, there are many, many directives, some of which may not scale. You'll need a good Postscript programming manual. (Postscript is actually a program which is interpreted by the printer's formatting engine). Again, scripting may not be powerful enough for the task. Perl is a good start.
Bill Hassell, sysadmin
If the report is in Postcript format, the job is somewhat simplified in that Postscript can define the printable area and overall setup codes at the front of the job may be able to setup scaling values for all objects (text, lines, graphics, images). But like PCL, there are many, many directives, some of which may not scale. You'll need a good Postscript programming manual. (Postscript is actually a program which is interpreted by the printer's formatting engine). Again, scripting may not be powerful enough for the task. Perl is a good start.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2004 07:38 PM
01-11-2004 07:38 PM
Re: Line printer script that reduces 17X11 to print on 8 1/2 X11
Hi
1)This is not the real script but the standard script of Jetadmin to fix the networking
Look in /etc/lp/interface/model.orig
2)These script have a manpage
export MANPATH=/opt/hpnp[l]/man
Then man net_lj5x
You should be able to use parameters to resize . It does depend on the format of your report.
3)Use lpshut;lpsched -v and let it run for a while and /var/spool/lp/log will give you some good info.
Steve STeel
1)This is not the real script but the standard script of Jetadmin to fix the networking
Look in /etc/lp/interface/model.orig
2)These script have a manpage
export MANPATH=/opt/hpnp[l]/man
Then man net_lj5x
You should be able to use parameters to resize . It does depend on the format of your report.
3)Use lpshut;lpsched -v and let it run for a while and /var/spool/lp/log will give you some good info.
Steve STeel
If you want truly to understand something, try to change it. (Kurt Lewin)
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