Re: LPRng: phaser 350 strangeness

2002-01-24 Thread christoph . beyer

hups,

we don't we have the 780 here but the 750 has a onboard networkinterface
:-(

kind regards
~christoph




On Tue, 22 Jan 2002, David Bear wrote:



 On Mon, 21 Jan 2002 [EMAIL PROTECTED] wrote:

  this sounds very much like a broken networkinterface on the printer, try
  to change it and look if the problem consists...
 
  regards

 I began thinking this as well.  Will the network interface in a phaser 780
 work in a 350?

  ~christoph
 
 
 
  On Fri, 18 Jan 2002, David Bear wrote:
 
  
   May not be related to lprng, but We have been using a Phaser 350 for years
   connected to lprng.  Recently, its started to print VERY slow -- Took
   almost an hour to print a 12 page document that had minimal graphics,
   mostly text.  I tried to netcat some postscript directly to the appsocket,
   and printing was still extremely slow.
  
   Can any think what may be happening here?
  
   --
   David Bear
   College of Public Programs/ASU
   480-965-8257
   ...the way is like water, going where nobody wants it to go
  
  
   -
   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.
   -
  
 
 
  -
  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.
  -
 

 --
 David Bear
 College of Public Programs/ASU
 480-965-8257
 ...the way is like water, going where nobody wants it to go


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



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



Re: LPRng: PDF problem

2002-01-24 Thread christoph . beyer

hi,

if I remember it well the problem is that pdf2ps does not read from
STDIN. What I did:

in ifhp.conf:

file_output_match=[
...
  *PDF* ps  /usr/libexec/filters/pdf
...
]

[printsrv2] ~lp/request/l00ps4 $ cat /usr/libexec/filters/pdf
#!/bin/sh

#set -x

#echo $*  /tmp/pdf.log

# primitive filter that uses 'pdf2ps' to convert guess what
# pdf2ps doesn't read from the commandline therefore this is necessary

#PATH=$PATH:/usr/local/bin
#export PATH

# we need a tempfile in the spooldirectory
# make sure that there is no old shit
# (working directory should be the spooldirectory)
if /usr/bin/test -e pdf.tmp
then
# if there is delete it
rm pdf.tmp
fi
# create a new tmp-file
touch pdf.tmp
# read from STDIN and write into the tmp-file
cat  pdf.tmp
# call the pdf2ps converter binary to convert the tmp-file and write the
result to STDOUT
/usr/local/bin/pdf2ps pdf.tmp -
# delete the tmp-file
rm pdf.tmp


hope this helps

regards
~christoph






On Wed, 23 Jan 2002, Johan Bengtsson wrote:

 On Fri, 18 Jan 2002, Thies Meincke wrote:

  Hi,
 
  I got a problem printing PDF files on a Linux system using LPRNG
  3.8.2 and IFHP 3.5.2. The PDF file is not printed, just a error
  message on a single sheet of paper:
 
 
  Conversion failed for type 'pdf_document,_version_1.2'
  Using '/usr/bin/pdf2ps'
  Error: 'Converter exited with status 'exit status 1''

 Exactly the same problem here with lprng 3.8.1  ifhp 3.5.2.
 Has anyone come with a solution for this problem?

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



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



Re: LPRng: PDF problem

2002-01-24 Thread Joel Hammer

If you are having troubles with pdf2ps, just read the pdf2ps script. It is
simply a short program which runs gs. So, skip it, and just run gs directly
with the appropriate parameters.
Joel


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



Re: LPRng: PDF problem

2002-01-24 Thread Dave Lovelace

[EMAIL PROTECTED] wrote, in part:
 # create a new tmp-file
 touch pdf.tmp
 # read from STDIN and write into the tmp-file
 cat  pdf.tmp
 # call the pdf2ps converter binary to convert the tmp-file and write the
 result to STDOUT
 /usr/local/bin/pdf2ps pdf.tmp -
 # delete the tmp-file
 rm pdf.tmp
 
Hmm.  I really don't know as much as I should about these things, so I could
be wrong, but doesn't this allow for two jobs (perhaps for two different
printers) to be doing this at the same time?  You might want to generate
a unique name for your temp file  use that.

-- 
- Dave Lovelace
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]

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



Re: LPRng: PDF problem

2002-01-24 Thread Tim Waugh

On Thu, Jan 24, 2002 at 09:52:16AM -0500, Dave Lovelace wrote:

 [EMAIL PROTECTED] wrote, in part:
  # create a new tmp-file
  touch pdf.tmp
  # read from STDIN and write into the tmp-file
  cat  pdf.tmp
  # call the pdf2ps converter binary to convert the tmp-file and write the
  result to STDOUT
  /usr/local/bin/pdf2ps pdf.tmp -
  # delete the tmp-file
  rm pdf.tmp
  
 Hmm.  I really don't know as much as I should about these things, so I could
 be wrong, but doesn't this allow for two jobs (perhaps for two different
 printers) to be doing this at the same time?  You might want to generate
 a unique name for your temp file  use that.

Or use '/dev/stdin'.

Tim.
*/



msg03382/pgp0.pgp
Description: PGP signature


Re: LPRng: PDF problem

2002-01-24 Thread Thies Meincke

Hi,

as far as I understand it, the pdf.tmp file is created in die
spool directory of the queue. For each print job ifhp is used,
one print job after the other. The pdf.tmp exists for short time
while ifhp is running. So it should not be overwritten.
Please correct me if I am wrong.

Thies Meincke



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



Re: LPRng: PDF problem

2002-01-24 Thread christoph . beyer

Yes, that's right...

take care
~christoph


On Fri, 25 Jan 2002, Thies Meincke wrote:

 Hi,

 as far as I understand it, the pdf.tmp file is created in die
 spool directory of the queue. For each print job ifhp is used,
 one print job after the other. The pdf.tmp exists for short time
 while ifhp is running. So it should not be overwritten.
 Please correct me if I am wrong.

 Thies Meincke



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



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