- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printing Graphics in HP-UX 10.20
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
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
тАО05-10-2010 12:36 PM
тАО05-10-2010 12:36 PM
It has been a while since I posted and I need some help again.
I have installed an HP4250 Network Printer using the HP Jetadmin downloaded from HP's website for my HP-UX 10.20 box. I used the 4250 model script that was downloaded by the jetadmin software when I added the network printer. I can print ascii all day long from every file that I have tried; however my engineers often need to print screen shots or hardcopy prints from their test program (HP SmarTest). Whenever I take a screen shot and save it (.tif, .bmp) and try to print from CDE, it gives an error that reads: "There is no print capability for this datatype". If I try to print the file from Command Line it will print wingdings on 35 pages.
Any thoughts on how I might get the graphics printing working here would be great.
Thank you,
Brian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 01:20 PM
тАО05-10-2010 01:20 PM
Re: Printing Graphics in HP-UX 10.20
I'll guess that that's some (undisclosed)
variety of HP LaserJet 4250.
> [...] graphics printing [...]
The documentation which (Google and) I can
find suggests that this thing can cope with
PCL, PostScript, and perhaps PDF. Perhaps
you should send it something which it
understands. (I'd probably try PostScript.)
> [...] (.tif, .bmp) [...]
As a start, I'd try using a Web browser to
display this stuff, and then try to print
from that. My limited experience with Web
browsers on UNIX suggests that they can
typically produce PostScript. Most likely,
there are other graphics conversion programs
which can transform what you have into what
you want, but it helps to have some idea of
what you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 01:41 PM
тАО05-10-2010 01:41 PM
Re: Printing Graphics in HP-UX 10.20
The problem is that to print an image, the image must be converted to PostScript or PCL for the printer to understand it. The CDE has extremely limited facilities for identifying & converting image file formats to printing languages.
The standard HP-UX print spooler doesn't normally do data conversions either: it basically assumes that it is given something that the printer can handle, waits for the printer to become free, then sends the data in through the model script. Usually the model script only adds some initialization sequences to select the paper size or any other options chosen by the user, nothing else.
Basic PCL print jobs can be pretty unstructured, so there is no simple test that can verify that a given file is a valid PCL print job with any reasonable accuracy. Furthermore, the PCL commands are so short that a typical image file is likely to contain at least some bit strings that match some random PCL commands - hence your 35 pages of wingdings.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 06:55 PM
тАО05-10-2010 06:55 PM
SolutionYou could use Google to search for xwd format converters (ImageMagick) but many of them don't run on HP-UX -- you have to transfer the file to a PC and do the conversion and printing there.
Or you can run a Xwindow emulator on a PC, then capture the window with Alt+PrtScr. Then paste into your favorite word processor.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2010 04:24 AM
тАО05-11-2010 04:24 AM
Re: Printing Graphics in HP-UX 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2010 05:06 AM
тАО05-11-2010 05:06 AM
Re: Printing Graphics in HP-UX 10.20
> windows machines.
I must have missed these in your original
request.
And how, exactly, do you print a ".tif, .bmp"
file on one of your Windows systems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2010 05:55 AM
тАО05-11-2010 05:55 AM
Re: Printing Graphics in HP-UX 10.20
So I figured it to be the way to go. At first I wanted to print directly from the HP but it is unreasonable to think we should print to a 15 yr old printer or have to jump through hoops to do this; when we already have other facilities then why bother. More trouble than it is worth.
On a side Note:
I actually did this and it works perfectly fine printing a screenshot that was taken on the HP-UX box then ftp'd to our central ftp location and then printed from the share through my XP Pro machine and viola a .tif printout of exactly the screenshot.
I think this will work fine for our needs.
Thanks again!