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
download(1)							   User Commands						       download(1)

NAME
download - host resident PostScript font downloader SYNOPSIS
download [-f] [-p printer] [-m name] [-H directory] [file...] /usr/lib/lp/postscript/download DESCRIPTION
download prepends host resident fonts to files and writes the results on the standard output. If no files are specified, or if - is one of the input files, the standard input is read. download assumes the input files make up a single PostScript job and that requested fonts can be included at the start of each input file. Requested fonts are named in a comment (marked with %%DocumentFonts:) in the input files. Available fonts are the ones listed in the map table selected using the -m option. The map table consists of fontname-file pairs. The fontname is the full name of the PostScript font, exactly as it would appear in a %%Doc- umentFonts: comment. The file is the pathname of the host resident font. A file that begins with a / is used as is. Otherwise the pathname is relative to the host font directory. Comments are introduced by % (as in PostScript) and extend to the end of the line. The only candidates for downloading are fonts listed in the map table that point download to readable files. A font is downloaded once, at most. Requests for unlisted fonts or inaccessible files are ignored. All requests are ignored if the map table can not be read. OPTIONS
-f Force a complete scan of each input file. In the absence of an explicit comment pointing download to the end of the file, the default scan stops immediately after the PostScript header comments. -p printer Check the list of printer-resident fonts in /etc/lp/printers/printer/residentfonts before downloading. -m name Use name as the font map table. A name that begins with / is the full pathname of the map table and is used as is. Other- wise name is appended to the pathname of the host font directory. -H directory Use dir as the host font directory. The default is /usr/lib/lp/postscript. EXAMPLES
Example 1: Examples of the download command. The following map table could be used to control the downloading of the Bookman font family: % % The first string is the full PostScript font name. The second string % is the file name - relative to the host font directory unless it begins % with a /. % Bookman-Light bookman/light Bookman-LightItalic bookman/lightitalic Bookman-Demi bookman/demi Bookman-DemiItalic bookman/demiitalic Using the file myprinter/map (in the default host font directory) as the map table, you could download fonts by issuing the following command: example% download -m myprinter/map file EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpsf | +-----------------------------+-----------------------------+ SEE ALSO
dpost(1), postdaisy(1), postdmd(1), postio(1), postmd(1), postprint(1), posttek(1), attributes(5) NOTES
The download program should be part of a more general program. download does not look for %%PageFonts: comments and there is no way to force multiple downloads of a particular font. Using full pathnames in either map tables or the names of map tables is not recommended. SunOS 5.10 9 Sep 1996 download(1)