GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: printing problem
Operating System - HP-UX
1848480
Members
8578
Online
104029
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
Forums
Discussions
back
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
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
07-26-2006 05:53 AM
07-26-2006 05:53 AM
printing problem
I have a RP7410 running hpux 11.i. Wer running a program called EFORMZ. Eformz wraps a form around data. My data layout is wider then 80 columns. It uses java to wrap the data file and the form together thru EFORMZ. What prints is 80 columns of data and the form. It is leaving off about 12 characters. My boss seems to think that when they are merged together, to create the PCL file, po.prn, they are sent thru a virtula printer on unix. He's saying that the virtual printer needs to be changed to allow for the over 80 bytes per line.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 06:15 AM
07-26-2006 06:15 AM
Re: printing problem
Jeff,
I've never used eFORMz, but here are some ideas you might try:
1) grep '80'/*
2) Make sure that your printer supports more than 80 columns.
3) Check if 'po.prn' contains more than 80 columns.
4) Print a textfile from HP-UX and confirm that the output contains more than 80 columns.
5) Consult eFORMz documentation.
PCS
I've never used eFORMz, but here are some ideas you might try:
1) grep '80'
2) Make sure that your printer supports more than 80 columns.
3) Check if 'po.prn' contains more than 80 columns.
4) Print a textfile from HP-UX and confirm that the output contains more than 80 columns.
5) Consult eFORMz documentation.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 06:23 AM
07-26-2006 06:23 AM
Re: printing problem
Assuming it is a network printer, most of the PCL model scripts accept -o options to modify the PCL.
eg.
lp -d hp5si_printer -o fp12 po.prn
would set the font pitch to 12, increasing the number of chars per inch.
lp -d hp5si_printer -o lm80 po.prn
would set the left column # to 80.
There are typically flags for most of the common PCL commands. If you browse through the /var/spool/lp/interface/model.orig/ file you should see the available options. I'd look for fp, lm, rm, and c.
HTH
Jonathan
eg.
lp -d hp5si_printer -o fp12 po.prn
would set the font pitch to 12, increasing the number of chars per inch.
lp -d hp5si_printer -o lm80 po.prn
would set the left column # to 80.
There are typically flags for most of the common PCL commands. If you browse through the /var/spool/lp/interface/model.orig/
HTH
Jonathan
Decay is inherent in all compounded things. Strive on with diligence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 06:28 AM
07-26-2006 06:28 AM
Re: printing problem
Jeff,
Taking a look at the man page for pr I found this:
"By default, columns are of equal width, separated by at least one space; lines that do not fit are truncated. If the -s option is used, lines are not truncated and columns are separated by the separation
character."
Maybe you can play with the -sc option in pr
For more info see man pr
Regards,
Jaime.
Taking a look at the man page for pr I found this:
"By default, columns are of equal width, separated by at least one space; lines that do not fit are truncated. If the -s option is used, lines are not truncated and columns are separated by the separation
character."
Maybe you can play with the -sc option in pr
For more info see man pr
Regards,
Jaime.
Work hard when the need comes out.
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 2026 Hewlett Packard Enterprise Development LP