- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with printing characters like gamma and be...
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-22-2006 07:07 PM
01-22-2006 07:07 PM
Got this problem with characters are not printed on paper correctly. On screen they look fine but when I print them they are not the the correct characters.
Charaters I'm talking about are i.e. gamma and beta.
Anyone any idea's? Printerdriverproblem? I'm far from being an expert on printing from Unix.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 08:37 PM
01-22-2006 08:37 PM
Re: Problem with printing characters like gamma and beta
Has to do with your PCL fonts list.
Which prinf command is used in the script to print the document.
You can get the pcl fonts list form your printer.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 08:54 PM
01-22-2006 08:54 PM
Re: Problem with printing characters like gamma and beta
The system is used for a hospital lab application.
The users log in via telnet and the characters they get to see are fine. But when a report is printed then the special characters are all wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 10:27 PM
01-22-2006 10:27 PM
Re: Problem with printing characters like gamma and beta
Still it has to do with the printf command given in a shell / perl script.
it looks something like this.
printf("%c&l6D%c(10U%c(s0p12h10v0s0b8T",27,27,27)
The 10U prit special characters different then 1U for example.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 02:30 AM
01-23-2006 02:30 AM
SolutionIn either case, printing is quite disconnected from the program itself. This is a case where what you see isn't necessarily what you get on the printer. Almost all printing mechanisms inside the programs are simply copying the ASCII characters to the printer. So the problem is matching the font used in the program with a font in the printer--not a simple task at all. The reason is that there are literally thousands of printer models and languages available and you'll have to get a complete list of the available fonts from each unique printer. Then see which font has Greek symbols available and how to select this font.
Now it gets even trickier: the printer(s) will usually have a default or standard font enabled for plain ASCII printing so thos default needs to be changed. For HP printers, you can change the font with -o options to the lp command but this must be done for each lp command. If you use a print button, there is no lp command so the printer will have to be set to the right font with either a front panel change (for printers with an interactive display) or a printer script change that changes the default for every print job. For the printer script, you'll need the actual printing codes needed to select the right font.
If this is a packaged application, the manufacturer has surely encountered this problem already and should have some suggestions. Note that Unix does not have an integrated printing subsystem like Windows. In PC Windows, character sets for the screen and for printing are (now) tightly integrated so printing appears to be seamless.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2006 11:48 PM
02-12-2006 11:48 PM
Re: Problem with printing characters like gamma and beta
Solution is indeed not easy, but not a Unix problem, more an application and printer problem.
Thanks all for your input.
Roderick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2006 11:48 PM
02-12-2006 11:48 PM
Re: Problem with printing characters like gamma and beta
Solution is indeed not easy, but not a Unix problem, more an application and printer problem.
Thanks all for your input.
Roderick