On Wed, 29 Jan 2003, Johan Bengtsson wrote:
> On Wed, 29 Jan 2003, Johan Bengtsson wrote:
>
> > Hi,
> >
> > We're having problems with jobs printed from Windows clients with the HP
> > LJ 8150 Windows PS printer driver. It puts a PJL header at the top of each
> > PS file, which makes 'file' believe it's a text file
What actually happened was that it recognized the file as "PJL" but
it wasn't handled correctly.
and so the PS code
> > gets printed as text. I thought that selecting "Archive format" in the
> > Windows printer driver prefs. would remove the PJL stuff, but it doesn't
> > seem to work. Does anyone know if this is a bug in this driver only?
> > Any ideas for a solution...?
>
> OK, I'll answer this myself: The Windows sysadmin here fixed the problem
> by editing the ppd file so that Windows thinks that the printer is not
> capable of speaking pjl. That of course made the PJL header disappear...
Some explanation and a better solution for this old problem:
This is what caused the problem described above:
file_output_match = [
*postscript* ps
*pcl* pcl
*text* ps \%s{a2ps_converter}
]
No action specified for pjl so all files from the windows
system got proted as text.
file_output_match = [
*postscript* ps
*pcl* pcl
*text* ps \%s{a2ps_converter}
* msg no_converter
]
Then I fixed it to look like above + our Windows admin
edited the PPD files so that no files with pjl headers was sent from
the Windows machine. It works but it's a stupid
solution.
file_output_match = [
*postscript* ps
*pcl* pcl
*text* ps \%s{a2ps_converter}
*pjl* pjl
* msg no_converter
]
This works without doing any modification of PPD files. I guess
the ps files with pjl header just get sent directly to
the printer with this entry.
I don't know if I am stupid and the only one with this
problem but I thought I'd let you know...
Best regards,
Johan Bengtsson
--
http://www.dd.chalmers.se/~elijah/
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------