Does your customer intend to print using PCL5 or Postscript?
If PCL:
Create a text file that has "esc&k2G" as the first line.
If Postscript, ask your customer for a sample text.file.
telnet 192.168.2.6 9100 <text.file
This should print the file.
Try this also with port 515.
You could also set up the printer as a Windows shared printer, and use Samba to connect to it.
I recently installed a HP M4345MFP printer, on port 515, as a remote printer. The only difficulty that I had was determining the PCL escape sequence for tray selection.
I've just installed Unix SCO OpenServer System v in an Intel PC and Everithing ok, except just one thing, in the begining of the installation the wizard asked me about the mouse , i have a generic 3 buttons mouse and i took a logitech and did not work
i need to change the mouse configuration, ... (2 Replies)
hello!
when i try to make my system dual boot with both win98 & sco open server 5.5 it doesn't work at all.neither win98 take start nor sco open server boots.what should i do ?
kindly help me
thanks (1 Reply)
I am doing some work for a customer that is running SCO 5.0.2 openserver and they have lost their cd. Is there anyplace I can download it? I have a replacement being shipped but it will not be here for two days and they are down. Any ideals? (3 Replies)
Hi there guys.
I just got this new SCO version and i'm having some problem printing from shell,
This is what i'm typing at the # sign : lp -dHP /etc/hosts and it prints no problem but when i use any other user at the $ sign it gives me this error.
/dev/fd/7: /usr/lib/lp/sysv/7: not found.
... (1 Reply)
Hi guys,
I just got this new 6.0 version and i'm trying to setup a remote office to telnet to this server running sco 6.0, in previous version all i have to do is add this file under /etc/rc2.d call S99route and put the gate in that file and that was it, for some reason in 6.0 it does not... (1 Reply)
Dear members
when i installed dual processor patch in openserver 5.0.7 in hp ML370 G4 server it hangs in sco at G_hd_config.
i tried MP4, EFS 5.64,5.70A but not solved the problem.. (0 Replies)
Hello!!!! Salut!!!!
I m looking for sco openserver 5.0.2 package to install it on my compaq server prosignia 200. I don't fount it on our local market.
Is it possible to me to download it from the net???
Je suis à la recherche de SCO OPENSERVER 5.0.2 pour son installation (requise) sur mon... (2 Replies)
Hwey I manage a Unix box where I ama having multiple printer problems. the only way to get printers to print again is by rebooting. I stop and start services with no luck. Any one have any ideas? It can go weeks with being OK but then any given printer can go and cause the entire print queue to... (6 Replies)
hola a todos,
Necesito instalar una impresora laser en red y no tengo idea de como hacerlo. Si alguie pudiera ayudarme?
Es bajo SCO Unix Open Server 6.0
Gracias,
Edgar (1 Reply)
Discussion started by: Edgar Guevara
1 Replies
LEARN ABOUT MOJAVE
tk_fontid
Tk_FontId(3) Tk Library Procedures Tk_FontId(3)__________________________________________________________________________________________________________________________________________________NAME
Tk_FontId, Tk_GetFontMetrics, Tk_PostscriptFontName - accessor functions for fonts
SYNOPSIS
#include <tk.h>
Font
Tk_FontId(tkfont)
Tk_GetFontMetrics(tkfont, fmPtr)
int
Tk_PostscriptFontName(tkfont, dsPtr)
ARGUMENTS
Tk_Font tkfont (in) Opaque font token being queried. Must have been returned by a previous call to Tk_GetFont.
Tk_FontMetrics *fmPtr (out) Pointer to structure in which the font metrics for tkfont will be stored. See DATA STRUCTURES below for
details.
Tcl_DString *dsPtr (out) Pointer to an initialized Tcl_DString to which the name of the Postscript font that corresponds to
tkfont will be appended.
_________________________________________________________________DESCRIPTION
Given a tkfont, Tk_FontId returns the token that should be selected into an XGCValues structure in order to construct a graphics context
that can be used to draw text in the specified font.
Tk_GetFontMetrics computes the ascent, descent, and linespace of the tkfont in pixels and stores those values in the structure pointer to
by fmPtr. These values can be used in computations such as to space multiple lines of text, to align the baselines of text in different
fonts, and to vertically align text in a given region. See the documentation for the font command for definitions of the terms ascent,
descent, and linespace, used in font metrics.
Tk_PostscriptFontName maps a tkfont to the corresponding Postscript font name that should be used when printing. The return value is the
size in points of the tkfont and the Postscript font name is appended to dsPtr. DsPtr must refer to an initialized Tcl_DString. Given a
"reasonable" Postscript printer, the following screen font families should print correctly:
Avant Garde, Arial, Bookman, Courier, Courier New, Geneva, Helvetica, Monaco, New Century Schoolbook, New York, Palatino, Symbol,
Times, Times New Roman, Zapf Chancery, and Zapf Dingbats.
Any other font families may not print correctly because the computed Postscript font name may be incorrect or not exist on the printer.
DATA STRUCTURES
The Tk_FontMetrics data structure is used by Tk_GetFontMetrics to return information about a font and is defined as follows:
typedef struct Tk_FontMetrics {
int ascent;
int descent;
int linespace;
} Tk_FontMetrics;
The ascent field is the amount in pixels that the tallest letter sticks up above the baseline, plus any extra blank space added by the
designer of the font.
The descent is the largest amount in pixels that any letter sticks below the baseline, plus any extra blank space added by the designer of
the font.
The linespace is the sum of the ascent and descent. How far apart two lines of text in the same font should be placed so that none of the
characters in one line overlap any of the characters in the other line.
SEE ALSO
font(n), MeasureChar(3)KEYWORDS
font, measurement, Postscript
Tk 8.0 Tk_FontId(3)