It sounds like this message is coming from lpr, which means the "check_for_nonprintable" setting has been turned on, either in the printcap, or more likely, in /etc/lpd.conf. This setting is turned off by default.
If you want to keep this setting turned on, you can bypass it on an adhoc basis by running lpr with the -l (literal) flag.
Phillip Griffith (803) 952-8776
Information Technology Department
Westinghouse Savannah River Company
| Lisa Weihl <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 06/11/2004 05:28 PM
|
|
While I'm at it I have another error that I've not seen reported in the
mailing list archive. Using LRPng 3.8.26 and IFHP 3.5.17, text piped
through the ifhp filter works just fine (using a2ps to convert). When I try
to test printing a pdf ( lpr -Ptheprinter file.pdf) however I receive the
following error message.....
"Fatal error - cannot print 'p972.pdf': unprintable characters at start of
file, check your LANG environment variable as well as the input file"
If I use the file command from the commandline the type I get is just fine
as far as I can tell. Here is the output:
p972.pdf: PDF document, version 1.3
I checked the ifhp.conf file and I do have it set to point to
/usr/local/bin/file which is the version recommended in the installation
instructions.
I haven't added a line for a jpeg converter yet but if I attempt an lpr on
a jpeg I also get the same "Fatal Error" message but again the type output
from the file command via the commandline does indicated that it is a jpeg.
Any ideas on what's happening here? I couldn't find any log info anywhere
and and long version of lpq didn't have any information so I don't think
the file was even processed.
TIA for any help,
Lisa
**********************************************************************************
Lisa Weihl, System Administrator E-mail: [EMAIL PROTECTED]
Department of Computer Science Office: Hayes 225
Bowling Green State University Phone: (419) 372-0116
Bowling Green, Ohio 43403-0214 Fax: (419) 372-8061
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------
