02-11-2010
Generic Printer giving garbage fonts in Arabic
Generic Printer giving garbage fonts in Arabic !
Guy's
I have confgured this printer in AIX 6.1 by the following steps ...
- Smitty
- Print Spooling
- AIX Print Spooling
- Add a Print Queue
I Selected from the box this kind
hpJetDirect Network Printer (HP JetDirect)
then
Hewlett-Packard
then
Other (Select this if your printer type is not listed above)
then
generic Generic Printer
then
2 Do NOT make this system a BOOTP/TFTP server
Names of NEW print queues to add
ASCII [printer]
GL Emulation []
PCL Emulation []
PostScript []
Printer connection characteristics
* HOSTNAME of the JetDirect Card [printer]
* PORT [9100]
OK
This is the kind of the printer
# PRINT QUEUE PRINTER DESCRIPTION
Printer hp@Printer generic (ASCII)
It's printing fain but in Arabic it's giving some garbage fonts .
Is there solution for this issue ?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a Barcode printer.
It's defined as a remote printer on the system.
The /etc/lp/interface/<printer> file is printing has a part that enables Hebrew printing.
For some reason the Printer is printing in a very small font.
I'll attach the interface file:
#!/usr/bin/sh
# /* @(#)... (3 Replies)
Discussion started by: sunbird
3 Replies
2. Red Hat
I want to have a script that will download a soft font to a printer so that
any one may run it when the printer is turned off then on.
What would be the easiest way to do that? Linux Redhat.
Thank you
Smokey (0 Replies)
Discussion started by: rbn
0 Replies
3. UNIX for Dummies Questions & Answers
I want to display Arabic characters in QNX4.
This work was been done by a colleague several years ago but he didn't document his work.
I installed fonts and I got this display (attached).
Please let me know how can correct as per the initial display were working in Arabic (attached).
Thanks... (0 Replies)
Discussion started by: hbc
0 Replies
4. Shell Programming and Scripting
Hi,
We check the printer status at the command line by giving the following command and the system gives an output;
lpstat -prn001_hp4000n
When I give the same command in a UNIX script the system gives an error while running the script as "lpstat: not found".
Please let me know... (8 Replies)
Discussion started by: jmathew99
8 Replies
5. Solaris
Hi,
i have a file which show text on window like,
insert into test values('اسيل للخدمات عبر الأثير');
but when i open this file in solaris it don't show like
insert into test values('اسيل للخدمات عبر الأثير');
i also want to see the line same as it is on windows
kindly help me (3 Replies)
Discussion started by: malikshahid85
3 Replies
6. Solaris
Hi,
I have searched in all installation cds for arabic packages but couldn't find it.
1. Is there any other way to download arabic package?
2. Does we need to reboot the system after installing package?
3. I don't want to reboot the system so is there any service to restart to make the... (2 Replies)
Discussion started by: malikshahid85
2 Replies
7. Red Hat
Hi,
Does anybody have any idea as to how to setup a printer using a generic ascii driver?
We have a Tally T6100 line matrix printer which is on our network and works fine in a Windows environment. We are trying to move this printer to Oracle Linux. I've contacted Tally as well as Printronix... (0 Replies)
Discussion started by: garethnsolomons
0 Replies
8. HP-UX
hi
how to install arabic language and set it as default in hpux.
also there is any website provide vm for hpunix for testing. (2 Replies)
Discussion started by: drpix
2 Replies
9. Red Hat
At present we are using one application , in which they are loading some files.
the files are some times a mix of chinese and arabic.
Is there any way to encode these literals and do the loading.
Rgds
Rj
---------- Post updated at 04:54 AM ---------- Previous update was at 04:47 AM... (0 Replies)
Discussion started by: jegaraman
0 Replies
LEARN ABOUT DEBIAN
load_dat_font
load_dat_font(3alleg4) Allegro manual load_dat_font(3alleg4)
NAME
load_dat_font - Loads a FONT from an Allegro datafile.
SYNOPSIS
#include <allegro.h>
FONT *load_dat_font(const char *filename, RGB *pal, void *param)
DESCRIPTION
Loads a FONT from an Allegro datafile. You can set param parameter to point to an array that holds two strings that identify the font and
the palette in the datafile by name. The first string in this list is the name of the font. You can pass NULL here to just load the first
font found in the datafile. The second string can be used to specify the name of the palette associated with the font. This is only
returned if the pal parameter is not NULL. If you pass NULL for the name of the palette, the last palette found before the font was found
is returned. You can also pass NULL for param, which is treated as if you had passed NULL for both strings separately. In this case, the
function will simply load the first font it finds from the datafile and the palette that precedes it.
For example, suppose you have a datafile named `fonts.dat' with the following contents:
FONT FONT_1_DATA
FONT FONT_2_DATA
FONT FONT_3_DATA
PAL FONT_1_PALETTE
PAL FONT_2_PALETTE
Then the following code will load FONT_1_DATA as a FONT and return FONT_1_PALETTE as the palette:
FONT *f;
PALETTE pal;
char *names[] = { "FONT_1_DATA", "FONT_1_PALETTE" }
f = load_dat_font("fonts.dat", pal, names);
If instead you want to load the second font, FONT_2, from the datafile, you would use:
FONT *f;
PALETTE pal;
char *names[] = { "FONT_2_DATA", "FONT_2_PALETTE" }
f = load_dat_font("fonts.dat", pal, names);
If you want to load the third font, but not bother with a palette, use:
FONT *f;
char *names[] = { "FONT_3_DATA", NULL }
f = load_dat_font("fonts.dat", NULL, names);
RETURN VALUE
Returns a pointer to the font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to
avoid memory leaks.
SEE ALSO
register_font_file_type(3alleg4), load_font(3alleg4)
Allegro version 4.4.2 load_dat_font(3alleg4)