Re: LPRng: log is a reserved function name in ANSI C

2003-09-09 Thread Villy Kruse
On Tue, 9 Sep 2003, Craig Small wrote:

 Date: Tue, 9 Sep 2003 13:11:16 +1000
 From: Craig Small [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: LPRng: log is a reserved function name in ANSI C

 On Mon, Sep 08, 2003 at 05:24:42PM +0200, Villy Kruse wrote:
  A week or so ago someone got compile problems on a Solaris system using
  the gcc compiler.  The problem was caused by a user defined function
  called log in the lprNG code and as the -Werror flag was set this
  warning was then traeated as an error and the build therefore failed.

 I got this in the Debian packages, it was easy to fix. Delete the
 function.


True.  However, Patrick should do that as well in the master version.

Villy


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


LPRng: The Ricoh Aficio 1232C dosen't work

2003-09-09 Thread Bengt Olsson



 Hello

   I'm running LPRng-3.8.1 on solaris2.6 and I can't get the Ricoh printer
 to work.

   The printing jobs get stalled in the print queue after some time.
   I have other printers as works fine.

   I'm a LPRng newbie so I send a complete copy of the printcap file, so
you  can comment it and see "the working bit" of it.

   But it is the Ricoh(hughes) printers who is the problem.

   Some filter problem?

   The PS format shall work? 

   Does a uppgrade of LPRng help?


   My printcap file looks like this:


   # Method 1: force client transfer to localhost
   # have server send to real printer
   ## both client and server will see the following information
   remote|Spool to localhost
:[EMAIL PROTECTED]

   # Note that only the server will see the following information
   lp:server:[EMAIL PROTECTED]:sd=/usr/spool/lp


   #all printers 
all:all=boeing,boeings,learjet,itslj630,piper,airbus,fairchild,gulfstream,hughes

   #
   #from :sh:sf:rw to :sh:ff_separator:rw by bol 020521 because
"checkpc  -f" says so

   boeing|itmlex5
   #Lexmark Optra s1650
:mx#0
:if=/usr/local/lib/filters/ifhp -c -Zduplex
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/boeing
:lf=/var/spool/printers/boeing/log
   # :af=/var/spool/printers/boeing/acct
:lp=boeing%9100

   boeings|itmlex5s
   #Lexmark Optra s1650
:mx#0
:if=/usr/local/lib/filters/ifhp -c 
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/boeings
:lf=/var/spool/printers/boeings/log
   # :af=/var/spool/printers/boeings/acct
:lp=boeing%9100

   learjet|itmlj4
   #Laserjet 4
:mx#0
:if=/usr/local/lib/filters/ifhp
:of=/usr/local/lib/filters/ofhp
:vf=/usr/local/lib/filters/ifhp -c
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/learjet
:lf=/var/spool/printers/learjet/log
   # :af=/var/spool/printers/learjet/acct
:lp=learjet%9100

   itslj630|ps
:mx#0
:if=/usr/local/lib/filters/ifhp
:of=/usr/local/lib/filters/ofhp
:vf=/usr/local/lib/filters/ifhp -c
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/itslj630
:lf=/var/spool/printers/itslj630/log
   # :af=/var/spool/printers/itslj630/acct
:lp=itslj630.prn%9100

   piper
   #Laserjet 4
:mx#0
:if=/usr/local/lib/filters/ifhp
:of=/usr/local/lib/filters/ofhp
:vf=/usr/local/lib/filters/ifhp -c
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/piper
:lf=/var/spool/printers/piper/log
   # :af=/var/spool/printers/piper/acct
:lp=piper%9100

   airbus
   #Color Laserjet 4500N
:mx#0
:if=/usr/local/lib/filters/ifhp
:of=/usr/local/lib/filters/ofhp
:vf=/usr/local/lib/filters/ifhp -c
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/airbus
:lf=/var/spool/printers/airbus/log
   # :af=/var/spool/printers/airbus/acct
:lp=airbus%9100

   fairchild
   #HP LaserJet 2200dtn
:mx#0
:if=/usr/local/lib/filters/ifhp
:of=/usr/local/lib/filters/ofhp
:vf=/usr/local/lib/filters/ifhp -c
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/fairchild
:lf=/var/spool/printers/fairchild/log
   # :af=/var/spool/printers/fairchild/acct
:lp=fairchild%9100

   gulfstream
   #HP LaserJet 2200dtn
:mx#0
:if=/usr/local/lib/filters/ifhp
:of=/usr/local/lib/filters/ofhp
:vf=/usr/local/lib/filters/ifhp -c
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/gulfstream
:lf=/var/spool/printers/gulfstream/log
   # :af=/var/spool/printers/gulfstream/acct
:lp=gulfstream%9100

hughes
   #Ricoh Aficio 1232C
:mx#0
:if=/usr/local/lib/filters/ifhp
:of=/usr/local/lib/filters/ofhp
:vf=/usr/local/lib/filters/ifhp -c
:sh:ff_separator:rw
:ty=-crmod
:sd=/var/spool/printers/hughes
:lf=/var/spool/printers/hughes/log
   # :af=/var/spool/printers/hughes/acct
:lp=hughes%9100



   Best Regards 

Bengt Olsson
  .





LPRng: ifhp and Xerox 4400

2003-09-09 Thread Toby Blake
Hi all,

Following various debates here about the virtues of proper postscript
vs HP emulated postscript, we've bought a Xerox Phaser 4400 printer
for testing.  It doesn't seem to play nicely with our hand-made print
filters, so I've just downloaded ifhp to have a look at it.

What do other people who use Xerox 4400s use as the printer model in
ifhp.conf?

And also, a very minor question, does ifhp use ppd files in any way -
there is no mention in the howto of the text 'ppd' at all, which
surprised me slightly.

Cheers
Toby Blake
University of Edinburgh




-
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: ifhp and Xerox 4400

2003-09-09 Thread Patrick Powell
 From [EMAIL PROTECTED] Tue Sep  9 10:06:22 2003
 Date: Tue, 9 Sep 2003 17:10:14 +0100 (BST)
 From: Toby Blake [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: LPRng: ifhp and Xerox 4400

 Hi all,

 Following various debates here about the virtues of proper postscript
 vs HP emulated postscript, we've bought a Xerox Phaser 4400 printer
 for testing.  It doesn't seem to play nicely with our hand-made print
 filters, so I've just downloaded ifhp to have a look at it.

 What do other people who use Xerox 4400s use as the printer model in
 ifhp.conf?

 And also, a very minor question, does ifhp use ppd files in any way -
 there is no mention in the howto of the text 'ppd' at all, which
 surprised me slightly.

 Cheers
 Toby Blake
 University of Edinburgh

See http://www.linuxprinting.org for information on the foomatic-rip
filter and this will be incorporated into ifhp:

  --with-foomatic-rip=/path/too/foomatic_rip

As of the next release of ifhp,  you will be able to use foomatic-rip
and the associated ppd files with ifhp:

lp:filter=/path/to/ifhp --ppd=/path/to/ppdfile

OR

lp:filter=/path/to/ifhp
  :ppd_file=/path/to/ppdfile


If you want to use only foomatic-rip, then you can use:

lp:filter=/path/to/foomatic-rip --ppd=/path/to/ppdfile

OR
lp:filter=/path/to/foomatic-rip
  :ppd=/path/to/ppdfile

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


LPRng: HP2500cm printing 11x17 postscript

2003-09-09 Thread Barton Wold
I have been trying to get printing to the HP2500CM printer to work 
with lprng and the ifhp (ver. 3.5.3) filter for some time with little 
success.  I copied the ifhp.conf entry from another user in this 
group and it seemed to help with printing postscript documents, 
however, I cannot print 11x17 postscript (it comes out as 8.5x11).  I 
was using the following entries suggested by another user for page 
size:

ps_letter=/PageSize[595 842]/ImagingBBox nullsetpagedevice
ps_ledger=/PageSize[842 1191]/ImagingBBox nullsetpagedevice

I then found a ppd file for this (I beleive from a Linux sight).  
This had entries for the page size as:

ps_letter=/PageSize[612 792]/ImagingBBox nullsetpagedevice
ps_ledger=/PageSize[792 1224]/ImagingBBox nullsetpagedevice

This didn't work either.  The tray entries from the PPD file were the
same for both, so 
I don't think that is a problem.  The HP web sight is of no help 
(maybe I'm not looking in the right place?).  Anyway, has anyone had 
success printing postscript files to an HP2500cm in both letter and 
ledger sizes?

Barton Wold
United Defense L.P.
UNIX System Administrator



**CONFIDENTIALITY NOTICE**
The information contained in this e-mail may be confidential and/or 
privileged and is intended for the sole use of the individual or 
organization named above.  If you are not the intended recipient or an 
authorized representative of the intended recipient, any review, copying
or distribution of this e-mail and its attachments, if any, is prohibited.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete this message from your system.


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


LPRng: Intermediate file clean-up

2003-09-09 Thread Thomas P. Kelliher
I have a problem with intermediate ifhp files not getting removed from a
printer spool directory.

LPRng 3.8.21 and ifhp 3.5.10 are installed on a Solaris 9 system with
GNU Ghostscript 6.52.  I'm printing to an HP5Si on a JetDirect card.  The
printcap entry looks like this:

   .ifhp:
  :sf:
  :mx=0:
  :if=/usr/local/libexec/filters/ifhp:
   
   # HP5Si in HS 149
   hs149:
  :cm=HP HP5Si in HS 149
  :sd=/var/spool/lpd/%P
  :lpd_bounce
  :force_localhost
  :rm=10.32.5.61
  :rp=text
  :tc=.ifhp
  :ifhp=model=lj3.gs
  :sh

Printing a Postscript file causes ifhp to invoke gs to convert the
Postscript to PCL.  The file prints just fine.  However, as a side effect,
this leaves a large PCL file in the spool directory with the file name
template ifhpXX (for example: ifhpKMaGcn) and these files collect in
the spool directory.  The status file doesn't seem to indicate any
problems:

   using model 'lj3.gs' at 17:00:06.432
   setting up printer at 17:00:06.435
   pagecounter 0 at 17:00:06.435
   sending job file at 17:00:06.435
   starting transfer at 17:00:06.435
   initial job type 'POSTSCRIPT' at 17:00:06.436
   decoded job type 'RAW' at 17:00:06.436
   job type 'RAW', converter '/opt/sfw/bin/gs -dSAFER -dPARANOIDSAFER -dBATCH -dNOP
   AUSE -q '-sOutputFile=/dev/fd/3' 31 12 -sPAPERSIZE=letter -sDEVICE=ljet3  df
   A672phoenix.goucher.edu' at 17:00:06.436
   started CONVERTER- 'gs' at 17:00:06.447
   converter done, output 290205 bytes at 17:00:06.870
   transferring 290205 bytes at 17:00:06.871
   28 percent done at 17:00:06.872
   56 percent done at 17:00:06.883
   84 percent done at 17:00:06.884
   sent job file at 17:00:06.884
   pagecounter 0, pages 0 at 17:00:06.885
   done at 17:00:06.885

Are there configuration options that I can use to have the intermediate
file removed once the print job has been sent to the printer?  Thanks for
any assistance.

Best regards,

Tom Kelliher

-- 
Thomas P. Kelliher| Voice: (410) 337-6189
Dept. of Mathematics and Computer Science | Fax: (410) 337-6408
Goucher College   | [EMAIL PROTECTED]
1021 Dulaney Valley Rd.   | http://phoenix.goucher.edu/~kelliher/
Baltimore, MD 21204   |

-
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: Intermediate file clean-up

2003-09-09 Thread Craig Small
On Tue, Sep 09, 2003 at 06:03:59PM -0400, Thomas P. Kelliher wrote:
 Are there configuration options that I can use to have the intermediate
 file removed once the print job has been sent to the printer?  Thanks for
 any assistance.

That's the done_jobs problem i think.

done_jobs=0
or change the time they hang around
done_jobs_max_age=nn  (in seconds)

both in lpd.conf

  - Craig
-- 
Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE Debian developer
csmall at : enc.com.au  ieee.org   debian.org 

-
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: ifhp and Xerox 4400

2003-09-09 Thread Craig Small
On Tue, Sep 09, 2003 at 11:45:20AM -0700, Patrick Powell wrote:
 See http://www.linuxprinting.org for information on the foomatic-rip
 filter and this will be incorporated into ifhp:
 
   --with-foomatic-rip=/path/too/foomatic_rip
 
 As of the next release of ifhp,  you will be able to use foomatic-rip
 and the associated ppd files with ifhp:

What does that give you that just using foomatic-rip doesn't?

I'm using foomatic-rip and lprng quite nicely.  The first time I have
printing various documents and they all come out correctly.

  - Craig
-- 
Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE Debian developer
csmall at : enc.com.au  ieee.org   debian.org 

-
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: ifhp and Xerox 4400

2003-09-09 Thread Patrick Powell
 From [EMAIL PROTECTED] Tue Sep  9 17:12:36 2003
 Date: Wed, 10 Sep 2003 09:32:42 +1000
 To: [EMAIL PROTECTED]
 Subject: Re: LPRng: ifhp and Xerox 4400
 From: [EMAIL PROTECTED] (Craig Small)

 On Tue, Sep 09, 2003 at 11:45:20AM -0700, Patrick Powell wrote:
  See http://www.linuxprinting.org for information on the foomatic-rip
  filter and this will be incorporated into ifhp:
  
--with-foomatic-rip=/path/too/foomatic_rip
  
  As of the next release of ifhp,  you will be able to use foomatic-rip
  and the associated ppd files with ifhp:

 What does that give you that just using foomatic-rip doesn't?

 I'm using foomatic-rip and lprng quite nicely.  The first time I have
 printing various documents and they all come out correctly.

   - Craig
 -- 
 Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
 Eye-Net Consulting http://www.enc.com.au/   MIEE Debian developer
 csmall at : enc.com.au  ieee.org   debian.org 

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


Currently, foomatic-rip does not handle the pagcounting and setup,
as well as the (sometimes a little bit too) verbose diagnostics.
And there are problems when you try to print some PCL files...

I am working with Till Kamppeter  (http://www.linuxprinting.org) to
add additional information the PPD files used by the foomatic filter.
At this point,  there will hopefully be a merging of the foomatic-rip
internals and ifhp.  Thus,  ifhp will use PPD files (if present)
for the configuration information.

And we will have one set of configuration information:  the PPDS
from www.linuxprinting.org,  or you can generate your own using the
foomatic-db-engine.

Or you can set up a web server to generate them:

wget http://www.linuxprinting.org/cgi-script/foomatic-ppd?driver=xprinter=y

The idea is to try to have one refernece set of information about
printers that will provide both the backend (ifhp/foomatic) and frontend
(kprint, cups, lprinfo - ...:-) that will be able to tell you the options
and configuration of a printer.

While I am not overly thrilled with using a PPD file as a distribution media,
it is a pretty simple format.


Sooo

Currently:

lp:filter=/path/to/foomatic-rip
  :ppd=/path/to/ppd # next revison of foomatic

lp:filter=/path/to/ifhp:ifhp=model=  # next revision of ifhp
  :ppd=/path/to/ppd

lp:filter=/path/to/ifhp
  :ppd=/path/to/ppd - when ifhp information merged with printer


As an intermediate step,   we might simply add an '*ifhp' field to the
printcap file,  making it possible to use a PPD file and skip the ifhp
model information.


Now I must warn you that this is simply a plan.  I am currently working on
migration in a simple way that will allow this to be done without too
much pain,  and will allow backwards compatibility.

Patrick Powell

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


LPRng: multiple copies from windows drivers

2003-09-09 Thread David Bear
when printing from a windows machine to lpr either throuhg unix print
services for windows or through samba, when the user selects multiple
copies, does the windows printer driver create N number of jobs, or
does it send some kind of options with a single job?

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing

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