- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- convert text file to postscript file with psfontpf
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
Discussions
Discussions
Discussions
Forums
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
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-21-2010 05:28 PM
тАО01-21-2010 05:28 PM
convert text file to postscript file with psfontpf
Thanks,
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 08:27 PM
тАО01-21-2010 08:27 PM
Re: convert text file to postscript file with psfontpf
What's "lpspr"? I don't see it in the Tru64
docs. If it's a loose piece of freeware,
then the source should exist somewhere. If
you have the source, then why not build and
use it on the HP-UX system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 06:31 AM
тАО01-22-2010 06:31 AM
Re: convert text file to postscript file with psfontpf
My questions to you are:
What is teh desired output, a file containing postsccript, or the printed document?
Are you attempting some sort of reformatting (you mentioned line widths and page lengths?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 09:28 AM
тАО01-22-2010 09:28 AM
Re: convert text file to postscript file with psfontpf
This is from the man page description for lpspr. It appears that it is a Digital Equipment application, do not believe source is available.
LPSPR(1) LPSPR(1)
NAME
lpspr - prepare files for printing on Digital PrintServer printers
DESCRIPTION
lpspr prepares one or more input files for special printing on the
PrintServer family of PostScript printers by Digital Equipment Corporation.
The formatted output is written to standard output, allowing for redirec-
tion to an output file (using standard shell redirection methods), or pip-
ing to another program, such as lp(1). That is, lpspr does not directly
queue the resulting output for printing on a spooled printer. ASCII data,
by default, will be automatically converted to PostScript in the output
stream.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 10:02 AM
тАО01-22-2010 10:02 AM
Re: convert text file to postscript file with psfontpf
We are currently in the process of migrating from Tru64 to HPUX, customers expect the documents and forms to look the same printed from the new HPUX environment as the did from the Tru64 environment.
For instance from Tru64 system we converted a text document to a postscript document via lpspr. This particular printed document is portrait orientation, 117 characters per lines, and 66 lines per page with 1/4 inch border on the sides, top and bottom. I am attempting to generate the same output from HPUX using psfontpf. Have other documents that are portrait, 110 characters per line, and 88 lines per page. Proper scaling has been the issue. Can get it to generate the 117 characters per line and 66 lines per page but it is not scaled properly on the page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 11:02 AM
тАО01-22-2010 11:02 AM
Re: convert text file to postscript file with psfontpf
I know that it will handle the number lines and the orientation. the number of characters per line might be problematic, but the options for character set / width / spacing are available.
"For instance from Tru64 system we converted a text document to a postscript document via lpspr."
That generally *not* required. The model the model script / print command will do the conversion.
"Can get it to generate the 117 characters per line and 66 lines per page but it is not scaled properly on the page."
Its been a while, but you should be able to play with the options for font size / pitch / horizontal spaceing to get it workable.
I would not expect an exact match, but you should be able to come fairly close.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 12:33 PM
тАО01-22-2010 12:33 PM
Re: convert text file to postscript file with psfontpf
Making some progress with options, as you mentioned getting close not perfect. Hopefully close will be good enough. Thanks for you assistance and time.
Regards,
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 12:40 PM
тАО01-22-2010 12:40 PM
Re: convert text file to postscript file with psfontpf
HP Tru64 UNIX V5.1B (Rev. 2650); Fri Mar 20 20:19:48 CDT 2009
urtx# man lpspr
No reference page found for lpspr.
> [...] Digital PrintServer printers
Perhaps the program came with a printer. It
seems not to come with the OS. (At least
nowadays.)
It might be possible (although unpleasant) to
look at the actual PostScript produced by the
two programs. Perhaps some critical
difference in some parameter or other (font
size, spacing, who-knows?) would leap right
out at you. Seems unlikely, but it might not
take very long to get discouraged, and you
could get lucky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 01:04 PM
тАО01-22-2010 01:04 PM
Re: convert text file to postscript file with psfontpf
Have done some comparing of the postscript files that both generate. There are some major differences. But it does help in identifying the font used, size. lpspr works with PS-Adobe-1.0 while psfontpf utilizes PS-Adobe-2.0 & 3.0 according to the man page, ours happens to be using PS-Adobe-3.0. Thanks for your time and effort.
Regards,
Craig