On Fri, 8 Jun 2001, Micah J. Garside-White wrote:

>
>
> On Fri, 8 Jun 2001, John Perkins wrote:
>
> > >   I am currently trying to get an Apple LaserWrite 12/640 PS to
> > > print text files over the network.  Currently the job will die silently.
> > > When I ran the text file through ifhp to see what came out I found that it
> > > created a postscript file with "^D" at the beginning and end of the
> > > document.  After I deleted the "^D"'s from the file the file printed.  I
> > > also have run the file through a2ps, the filter ifhp uses, and the output
> > > was a straight post script file.  I believe that this is an error in ifhp
> > > and that the "^D" at the beginning causes the printer to believe that
> > > there is nothing to print.  Is this correct, amd if so how can I fix it?
> > > The printer is able to print out anything but text, thus I believe that
> > > the printcap is correctly set up.
> >
> > You may want to try running ifhp with -Tps_eoj_at_start@ to disable the ^D at
> > the beginning of the job.  Look for "ps_eoj" in ifhp.conf to see what your
> > "default" policy about adding ^D characters.
> >
> > We run without any ^D characters appended to jobs, which seems to work just
> > fine with our Apple printers.
> >
>
>       Thank you, this does seem to help a bit.  Now I can run a text
> file through ifhp and get a post script file that will print on the 12/640
> PS.  Unfortunately when I try to run the lpr comand with the flag
> modifications the job still dies quietly. Any other possibilities?

You don't want to run 'lpr -Tps_eoj_at_start@ file'.  You should modify
your printcap file to add that flag to the ifhp line.  For example:

        :ifhp=model=apple,ps_eoj_at_start@

Basically, add ps_eoj_at_start@ to whatever is already on your ifhp line
for that printer in the printcap file.

        Andy


-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to