PCL Font does not download to printer.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting PCL Font does not download to printer.
# 1  
Old 07-06-2004
PCL Font does not download to printer.

OS: HP-UX B.11.11 U
Printer: HP 8150.

I require a font to be downloaded to the printer and used.

As documented the steps are:

1. Tell printer to accept font
2. Send the font to the printer
3. Make the font permanent
4. Select font for use

or in PCL

1. <Esc>*c90D
2. Copy font file to printer
3. <Esc>*c5f
4. <Esc>(90X

To generate the PCL I have written a simple script:

echo "^[*c90D\c" > mbbsetfont1
echo "^[*c5F\c" > mbbsetfont2

Then I send the whole package to the printer:

lp -dadv_test ./mbbsetfont1 ./ocra3-9.sfp ./mbbsetfont2 ./txtfile

Where the od of txtfile is:

0000000 033 ( 9 0 X 1 2 3 4 5 6 7 8 9 0
0000020 X + < > \n
0000025

The font does not seem to be selected and the printer does not list the font on the Font Information Page.

Any ideas?

Thanks

MBB
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. SCO

Printing to a working network printer using PCL

I am trying to get a network printer to work that currently works from my Unix (5.0.7) server when printing text files only. When I try to print post script files like a PDF file I get all of the controls so I am not sure if I have my printer configuration setup properly in Unix The printer... (1 Reply)
Discussion started by: ziggy6
1 Replies

2. Solaris

Printer (lpadmin) error - blank pages PS/PCL

Help! I have to solve an urgent problem! I have a Solaris 10 server, where I created a line of printing with the command # /usr/sbin/lpadmin -p IL_Printer -s pv24002 -v /dev/null -m netstandard_foomatic -A write -n /usr/lib/lp/model/ppd/system/foomatic/Canon/cnl66e1.ppd.gz -o... (0 Replies)
Discussion started by: poyato
0 Replies

3. Red Hat

To change of remote printer font style

How can I change the remote printer font style as its been printing in a non readable format. Is it possible to change it from the server console. (0 Replies)
Discussion started by: gsiva
0 Replies

4. IP Networking

Creating a printer emulator to capture PDL/PCL data coming in on port 9100.

I have a number of Windows CE operator terminals. They have facility to print alarms/messages to ... aser or Inkjet (so they're using PCL). USB or IP. IP connection takes just the IP address. Question How could I create a service or daemon on a server to capture all this data?... (7 Replies)
Discussion started by: transistor
7 Replies

5. UNIX for Dummies Questions & Answers

Printing Landscape to PCL 6 Printer

I've looked around and am able to print landscape to a PCL 5 printer with this command: lp -o landscape -o cpi=20 -o page-right=30 -o page-left=30 -d <printer> <file>. Which gives me a nice 200 columns. But, when I send the same output and the same commands to a PCL 6 printer, it comes... (3 Replies)
Discussion started by: tariqjamal
3 Replies

6. Red Hat

Red hat 5. - PCL Printer

I need to setup a HP 4000 PCL printer - it seems out of the box - I can only can use PostScript. Any guidance is appreciated. In the SCO world - I used HPNP with no problems. (2 Replies)
Discussion started by: markb4
2 Replies

7. UNIX Desktop Questions & Answers

PDF to PCL

hi all, i would like to know if there are any tools in unix (sun solaris 8) to convert PDF files to PCL format (i.e, .prn files) i want to convert around 3000 files (in a batch) to PCL format files. can anyone help me out with this. regards, manojram (1 Reply)
Discussion started by: manojram
1 Replies
Login or Register to Ask a Question
xlsfonts(1)						      General Commands Manual						       xlsfonts(1)

NAME
xlsfonts - server font list displayer for X SYNOPSIS
xlsfonts [-display host:dpy] [-l] [-ll] [-lll] [-m] [-C] [-1] [-w width] [-n columns] [-u] [-o] [-fn pattern] xlsfonts -printer printername [-l] [-ll] [-lll] [-m] [-C] [-1] [-w width] [-n columns] [-u] [-o] [-r resolution] [-b] [-B] [-g] [-G] [-x mode] [-X mode] [-fn pattern] DESCRIPTION
xlsfonts lists the fonts that match the given pattern. The wildcard character "*" may be used to match any sequence of characters (includ- ing none), and "?" to match any single character. If no pattern is given, "*" is assumed. The "*" and "?" characters must be quoted to prevent them from being expanded by the shell. OPTIONS
-display host:dpy This option specifies the X server to contact. -printer printername This option specifies the Xprint printer to contact. -d host:dpy Same as -display host:dpy. -p printername Same as -printer printername. -l Lists some attributes of the font on one line in addition to its name. -ll Lists font properties in addition to -l output. -lll Lists character metrics in addition to -ll output. -m This option indicates that long listings should also print the minimum and maximum bounds of each font. -C This option indicates that listings should use multiple columns. This is the same as -n 0. -1 This option indicates that listings should use a single column. This is the same as -n 1. -w width This option specifies the width in characters that should be used in figuring out how many columns to print. The default is 79. -n columns This option specifies the number of columns to use in displaying the output. By default, it will attempt to fit as many columns of font names into the number of character specified by -w width. -u This option indicates that the output should be left unsorted. -o This option indicates that xlsfonts should do an OpenFont (and QueryFont, if appropriate) rather than a ListFonts. This is useful if ListFonts or ListFontsWithInfo fail to list a known font (as is the case with some scaled font systems). -r resolutionname Set print resolution name (usually values like 300dpi or 300x600, see output of xplsprinters). This may alter the output of xls- fonts if there are printer fonts which get enabled/disabled on per-resolution basis by the DDX. (printer mode only) -b List printer builtin fonts. This is the same as -x xp-list-internal-printer-fonts. (printer mode only) -B Do not list printer builtin fonts. This is the same as -X xp-list-internal-printer-fonts. (printer mode only) -g List glyph fonts. This is the same as -x xp-list-glyph-fonts. (printer mode only) -G Do not list glyph fonts. This is the same as -X xp-list-glyph-fonts. (printer mode only) -x mode Enable listfont mode mode. Supported modes are: xp-listinternal-printer-fonts If xp-listinternal-printer-fonts was set (via option -b or -x xp-listinternal-printer-fonts xlsfonts will include all of the fonts defined as internal printer fonts. xp-list-glyph-fonts If xp-list-glyph-fonts was set (via option -g or -x xp-list-glyph-fonts) xlsfonts will include all of the fonts available to the server which have glyphs associated with them. The default value is implicitly determined by the ddx driver to be the all of the listfonts modes specified in the xp-listfonts-modes-sup- ported printer attribute. The value of xp-listfonts-modes-supported and xp-listfonts-modes (the defaults) can be looked-up via xplsprinters(1). (printer mode only) -X mode Disable listfont mode mode. See option -x for a list of valid mode values. (printer mode only) -fn pattern This option specifies the font name pattern to match. SEE ALSO
X(7), Xprint(7), Xserver(1), xset(1), xfd(1), xplsprinters(1), X Logical Font Description Conventions ENVIRONMENT
DISPLAY DISPLAY must be set to get the default host and display to use. XPSERVERLIST XPSERVERLIST must be set for the -printer option identifying the available Xprint servers. See Xprint(7) for more details. BUGS
Doing ``xlsfonts -l'' can tie up your server for a very long time. This is really a bug with single-threaded non-preemptable servers, not with this program. AUTHOR
Mark Lillibridge Jim Fulton Phil Karlton Roland Mainz X Version 11 xlsfonts 1.0.2 xlsfonts(1)