LPRng: printer errors

2001-11-28 Thread Phil Moses

Anyone have a take on this?
Error: syntax error
OFFENDING COMMAND: --no string value --

I am getting this from a phaser 740 printing from lprng 3.7.4 on Solaris
7.

Thanks,

Phil


-
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: mostly ascii file getting typed as data

2001-11-28 Thread Jim Easton

 I have a unique situation in which professors are dealing with files that 
 students create via a shell script called photo.  The photo script 

Aren't professors wonderful.

We avoid these problems, *and many others*, by the simple
expedient that we accept only postscript files.  People
have to convert to postscript externally.

That is to say that there are thousands of ways of rendering
text to print and no matter what you install there is likely
only one person, the one who asked for it, who is going to be
happy with it.  This way everyone gets what they like.  In this
case you would shift the problem to the professors.

So much for wishes:  It's doubtful that you would be allowed to
change policies even if you wanted to.

So I offer the following - require the students to run their
scripts through the following little program to clean it up.
You might consider the possiblity of installing it in your
spooler but personally I wouldn't.

Jim

/* to clean up typescript files.
 * remove CR and exec backspaces.
 * Note:  There is no provision for flushing a possible last line
at EOF because all typescript files end with a LF
(unless it's been truncated somehow)
 * Note:
 * Some linux systems have altered the meaning of the delete and
 * backspace keys which is **wrong**, but I can't do anything about
 * that; you may have to change the backspace character test.
 */
#include stdio.h

main()
{
char buff[1024];
int i, c;
int lc;

for (lc = 0;; lc++) {
for (i = 0; ; ) {
if (i  sizeof(buff)) {
fprintf (stderr, line %d too long\n, lc);
exit (1);
}
c = getchar();
if (c == EOF) exit (0); /* end of file */
if (c == '\r') continue;/* get rid of CR */
if (c == '\b') {/* get rid of previous char */
i--;
continue;
}
buff[i++] = c;
if (c == '\n') {/* new line - flush out and start again */
buff [i] = '\0';
fputs (buff, stdout);
break;
}
}
}
}


-
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: Equinox ELS ports

2001-11-28 Thread Patrick Powell

 From [EMAIL PROTECTED] Wed Nov 21 13:37:45 2001
 Date: Wed, 21 Nov 2001 14:20:43 -0600 (CST)
 From: Bradley Hartin [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: LPRng: Equinox ELS ports


 Has anyone here used LPRng under Linux to successfully print to serial
 printers attached to an Equinox ELS terminal server?

 The rprint utility is, as of yet, unavailable for Linux.  Will setting up
 a reverse telnet service (set service printer 8000 port 8 telnet enabled)
 and printing directly to that port (rp=els%8000) work?

Yes, most likely.  It seems to work with most other terminal servers.

Try:

  lp:lp=els%8000
:sd=/var/spool/lpd/%P


 Unfortunately, I have not had time to play with it myself, and will not
 have time for some weeks to come, so I'm hoping someone else can at least
 give me a heads up as to whether or not this will work.

 Thanks,

 -- 
 Bradley Hartin - [EMAIL PROTECTED]
 Network and Communications Administrator
 Straus-Frank Company

-
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: Keeping 'done' jobs around

2001-11-28 Thread Andrew Morgan



On Wed, 28 Nov 2001, Patrick Powell wrote:

  From [EMAIL PROTECTED] Wed Nov 21 10:27:01 2001
  Date: Wed, 21 Nov 2001 09:23:17 -0800 (PST)
  From: Andrew Morgan [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: LPRng: Keeping 'done' jobs around
 
  On Wed, 21 Nov 2001, Patrick Powell wrote:
 
   I have been looking at the problem of 'fast' LPRng print servers,
   Samba,  and 'mysterious vanishing jobs'.
  
   When you send a job to the LPRng print server it puts it in a spool
   directory.  After printing it,  by default,  it removes the job.
  
   If it prints it fast enough then when you do an LPQ you do not see the
   job in the spool queue.
  
   One way to solve this is to keep the status of the last 'N' jobs around
   so that you can see them.  HOWEVER,  this may (will?) break some systems
   that parse the LPQ output status (Samba for one?) to find job status.
  
   However,  the benefit is that you can now see what happened to the last
   jobs you sent to the printer.
  
   This looks like a winner to me, folks.
 
  Maybe I'm missing something here, but can't you just look in the status
  file for the queue to see what happened?  Is there some reason it needs to
  stick around in the lpq output too?
 
  Andy

 The problem here is that most folks just want to do 'lpq'
 and see:

 Printer: lp@h110
  Queue: no printable jobs in queue
  Status: job 'cfA378h110.private' removed at 10:14:10.933
  Filter_status: done at 10:14:10.913
  Rank   Owner/ID  Class Job Files Size Time
 done   papowell@h110+507A   507 /tmp/hi  3 17:04:23

 Notice that the 'done' shows the job ID and other stuff.

Okay, that does seem pretty cool.  Like you say though, it would probably
screw up samba.  :)

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



LPRng: LPRng on SCO?

2001-11-28 Thread Bradley Hartin


Before I make the attempt to install GCC on our SCO (Openserver 5) boxes
(in order to attempt to compile LPRng there), has anyone else attempted to
get LPRng compiled and running under this environment?  It's a vendor
system, and I'd hate to see GCC end up munging something that we can't
fix...

At the moment, I'd love to get it running on our application servers.  The
standard SCO LPD is...well, absolutely, mind-numbingly horrible.  They all
currently spool to a central print server (LPRng under Linux), but
whenever that server has to be rebooted (long story, hardware issues as
well as buggy iBCS), the LPD and lpsched hangs on every SCO box that is
attempting to print.  No matter now long you wait, they will never
unstick, and you have to manually restart them on all the application
servers.

There's also an issue where we spool off a batch of invoices which are
sorted in a particular order.  Going from SCO's LPD - LPRng throws the
printouts out of sequence.  Instead, we had to use a standard (bleh!)
lpsched setup of doing an rcmd to the print server and running lp that
way.

And, finally, there's the issue of a limit of 1000 spool files--yes, this
is an inherent issue with anything that follows the LPD standards, which
I'd hate to break.  But at least I can work around it with LPRng if it
ever becomes too much of an issue, but with SCO's version...argh!

Okay, enough ranting about SCO.  Our vendor plans to switch to Linux
anyway, as soon as they can find a replacement for pg and some other
utilities they currently only have under SCO...

-- 
Bradley Hartin - [EMAIL PROTECTED]
Network and Communications Administrator
Straus-Frank Company


-
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: 3.8.1 c comes after e?

2001-11-28 Thread Craig Small


checkpc reports this:
Pc_var_list: 'require_explicit_q' = 'require_configfiles'

Which, I think, is Patrickish for require_explicit_q is alphabetically
after require_configfiles but it appears before in the lpd.conf file.

Here is my big patch:

--- src/common/vars.c.orig  Thu Nov 29 08:35:34 2001
+++ src/common/vars.c   Thu Nov 29 08:36:01 2001
@@ -391,10 +391,10 @@
 { remove_z, 0, STRING_K, Remove_Z_DYN,0,0},
/*  report server as this value for LPQ status */
 { report_server_as, 0,  STRING_K,  Report_server_as_DYN,0,0},
-   /* require default queue to be explicitly set */
-{ require_explicit_q, 0, FLAG_K, Require_explicit_Q_DYN,0,0,0},
/*  client requires lpd.conf, printcap */
 { require_configfiles, 0,  FLAG_K,  Require_configfiles_DYN,0,0,= 
REQUIRE_CONFIGFILES},
+   /* require default queue to be explicitly set */
+{ require_explicit_q, 0, FLAG_K, Require_explicit_Q_DYN,0,0,0},
/*  retry on ECONNREFUSED error */
 { retry_econnrefused, 0,  FLAG_K,  Retry_ECONNREFUSED_DYN,0,0,1},
/*  retry making connection even when link is down */
-- 
Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/[EMAIL PROTECTED]
MIEEE [EMAIL PROTECTED] Debian developer [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: Canon ImageRunner 600's...

2001-11-28 Thread Glenn Sieb

On 11:46 AM 11/28/2001 -0800, Patrick Powell wrote:
Try:

  canon2|canon:\
   :sh:\
   :[EMAIL PROTECTED]:mx#0:\
   :sd=/var/spool/output/%P:rp=print:
  canon2-private|canon-private:\
   :sh:\
   :[EMAIL PROTECTED]:mx#0:\
   :sd=/var/spool/output/%P:

run 'checkpc -f' to set up perms and spool directories,
then run 'lpc reread' to enable this.

Try doing 'lpq -Pcannon2' to see if it is correct.

I get:

Printer 'lp3@[EMAIL PROTECTED]' - cannot open connection - bad 
or mi
ssing hostname
Make sure the remote host supports the LPD protocol

Thanks,
Glenn


---
Glenn E. Sieb, System Administrator
Lumeta Corp. mailto:[EMAIL PROTECTED]
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)


-
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: Printer LED display

2001-11-28 Thread Ryan Novosielski

At some point in my accounting scripts, I send a print job for users who
are out of quota that has this message on it and instructions to resolve
it. I send it lpr -Y to make sure that this job does not get held as well
as the job they tried to send (it'd do no good if they never saw it).
However, ifhp then does not update the LED.

How can I, in perl, send a message to the printer such that it will change
its LED to read something like USER novosirj OUT OF QUOTA or something
like this? I'm not really sure of the proper way to open the line of
communcation in perl to do this, nor what PJL commands to send to it. Can
anyone help me out, 'cuz someone probably already knows, rather than
having me RTFM a lot?

Thanks!

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 732/235.4473 (5-4473)
\__/ Univ. of Med. and Dent. | IST/ACS - Robert Wood Johnson MS - S-B11


-
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: mostly ascii file getting typed as data

2001-11-28 Thread phillip . griffith

How about getting rid of the backspaces before you print the script files?

O'Reilly's Unix Power Tools, second edition, section 51.06 Cleaning 
script files

Search Google for script.tidy and you will find it.

Phillip Griffith  (803) 952-8776
Information Technology Department
Westinghouse Savannah River Company




Lisa Weihl [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]


11/27/2001 08:21 PM
Please respond to lprng

 
To: [EMAIL PROTECTED]
cc: 
Subject:LPRng: mostly ascii file getting typed as data


I have a unique situation in which professors are dealing with files that 
students create via a shell script called photo.  The photo script 
basically runs the Unix script command and saves the output to a 
file.  Usually the things they do while running the photo script are to 
cat 
out their programs, issue some commands and execute their programs.  If 
they make mistakes while typing and backspace those characters end up as 
non-printable in the photo log file.  These files reside on another Unix 
system outside my dept. and when they are printed (currently from DEC 
Unix) 
they are simply handed over to my lpd.   I'm using LPRng 3.7.4 and ifhp 
3.4.4The problem is that even though the majority of the file is ascii 

text the GNU file command in my ifhp filter is declaring these files as 
type data because of those non-printable characters.  The file type data 
is 
not defined and so ifhp quits without printing.  As a quick fix I tried 
just to tell ifhp to run it through a2ps anyway even if the type was data. 

In that case a2ps is complaining that the file is binary and won't convert 

it.  The strange thing (or maybe not strange to those of you who 
understand 
this better than I) is that running a2ps -Pmyprinter 
--non-printable-format=space thenastyfile on the original system lets the 
file come through just fine.

Below for reference here's the relevant section of my ifhp.conf 
file.  Nothing fancy.  Anyone have any ideas of anything I can do to 
handle 
this situation?  To be honest I got LPRng + ifhp up and running and 
haven't 
worked with it much since then.  TIA for any help.



# set forceconversion to force the file(1) utility to be used
default_language=text
forceconversion@

##  UNIX File utility path
file_util_path= /usr/local/bin/file -
##  Patterns and Converters
# example conversion program
file_output_match = [
   *postscript*  ps  \%s{ps_converter}
   *pcl* pcl  \%s{pcl_converter}
   *pjl* pjl  \%s{pjl_converter}
   *pdf* ps  \%s{pdf_converter}
   *jpeg*ps  \%s{a2ps_converter}
   *gif*ps  \%s{a2ps_converter}
   *printer*job*language* pjl
#  *text*  pcl  \%s{text_converter}
   *text*  ps  \%s{a2ps_converter}
   *data*   ps  \%s{a2ps_converter}
   *gzip_compressed*  filter  \%s{gzip_decompress}
   ]

# gs_device=epsonc
# gs_options=-r240x72
# gs_converter=  /usr/local/bin/gs -dSAFER -dBATCH -q -sOutputfile=- 
-sDEVICE=\%
s{device}
#   \%s{gs_options} -
#
#
gs_converter=  /usr/local/bin/gs -q -dSAFER -dBATCH -sOutputFile=- 
-sPAPERSIZE=\
%L{papersize} -sDEVICE=\%s{gs_device} \%s{gs_options} -
gs_unidriver=  /usr/local/bin/gs -q -dSAFER -dBATCH -sOutputFile=- 
-sPAPERSIZE=\
%L{papersize} @\%s{gs_device} \%s{gs_options} -
#a2ps_options= -q -B -1 -M \%M{papersize} --borders=no -o-
a2ps_options= -q  --non-printable-format=space '--header=Printed by: 
\%s{n}' '--
stdin=\%s{N}' --font-size=9 --columns=1 --portrait  -M \%M{papersize} 
--borders=
yes -o-
a2ps_converter= /usr/local/bin/a2ps \%s{a2ps_options}

gzip_decompress = /usr/local/bin/gzip -c -d
pdf_converter = /usr/local/libexec/filters/acroread-wrapper.sh
**
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.
-




-
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE 

Re: LPRng: Apple double printing problem

2001-11-28 Thread Patrick Powell

 From [EMAIL PROTECTED] Wed Nov 21 06:23:58 2001
 Date: Wed, 21 Nov 2001 12:57:37 +
 From: David Challenor [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: LPRng: Apple double printing problem

 Hi,

 Can anyone shed any light on a problem I have.  It may well not be 
 anything to do with LPRng, but I guess that there are people on this 
 list that can tell me!

 When printing like this:
 Apple G4s - Mac Administrator (On Mac) - LPRng (on Linux) / IFHP - 
 HP8550GN(JetDirect)

 Regularly results in the HP trying to print 2 copies of the page.  The 
 second one sometimes prints, sometimes prints with a postscript error, 
 and sometimes hangs in the printer.

 The print jobs are usually single page and heavy on graphics.
 The problems do not appear when printing direct to the printer from a 
 G4, or when printing from a Windows or Unix machine to the LPRng server.

 The print jobs do get bounced between several queues on the LPRng server 
 to do accounting and hold the job for later release.

 Where is the problem and what is the solution?

 David Challenor

 -- 
 David Challenor
 Senior Technician, Coventry School of Art and Design
 Right theory, wrong reality


Did you look at the detailed status?  Try 'lpq -l' and see what
the filter reports when sending the job.  If you get something like
'connection closed' then your TCP/IP timeout ON THE PRINTER needs to
be increased.  The default is 30 seconds,  set it to something ridiculous
like 600 if you can.

Patrick

-
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: spooling to windows lpd

2001-11-28 Thread Patrick Powell

 From [EMAIL PROTECTED] Wed Nov 21 08:06:22 2001
 Date: Wed, 21 Nov 2001 10:10:06 -0500
 From: Rajeev Agrawala [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: LPRng: spooling to windows lpd

 As per windows FAQ, if you wish to spool to windows lpd server l 
 cahracter must be passed to windows lpd for passing the job directly to 
 printer. Following is the text from Microsoft site

 The Windows NT LPD Service follows the RFC1179 specification. This 
 states that the LPR client must tell the LPD server how to handle the 
 print job. If the client formats the job, it must send the l control 
 character to instruct the LPD server to print the job without any 
 alteration.


 How can I make LPRng lpd server send 'l' character. Without this, 
 windows lpd prints the actual postscript I sent to the lpd server.

 Here is my printcap entry. I am using LPRng-3.7.4:

 hp|Hp Laserjet 6mp:\
  :lpd_bounce:\
  :rp=hp:lp=hp@pc:\
  :af=/var/log/printer/acct:\
  :lf=/var/log/printer/hp-errs:\
  :sd=/var/spool/lpd/hp:\
  :sh:\
   :bk:\
  :mx=0:ff_separator@:\
  :if=/opt/ifhp/libexec/filters/ifhp -Tdebug=0 -Tmodel=hp6mp:

Try adding:
   :bq_format=l





 Thanks,

 rajeev

Patrick Powell Astart Technologies,
[EMAIL PROTECTED]9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
  Consulting   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.lprng.com)

-
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: Canon ImageRunner 600's...

2001-11-28 Thread Patrick Powell

 From [EMAIL PROTECTED] Wed Nov 21 08:09:25 2001
 Date: Wed, 21 Nov 2001 10:12:16 -0500
 To: [EMAIL PROTECTED]
 From: Glenn Sieb [EMAIL PROTECTED]
 Subject: LPRng: Canon ImageRunner 600's...

 Does anyone have any experience getting these set up under LPRng?

 Normally, in /etc/printcap for regular lpr (below is our current working 
 /etc/printcap on a non-LPRng'd machine), we'd tell it:

 (The first is for regular print jobs where the copier will actually 
 remember the job for reprints later. The latter is for a private print 
 queue which does not remember the job )

 canon2|canon:\
  :sh:\
  :rm=canon2.corp.lumeta.com:mx#0:\
  :sd=/var/spool/output/canon2:lf=/var/log/lpd-errs:rp=print:\
  :rw=true:
 canon2-private|canon-private:\
  :sh:\
  :rm=canon2.corp.lumeta.com:mx#0:\
  :sd=/var/spool/output/canon2-private:lf=/var/log/lpd-errs:rp=direct:\
  :rw=true:

 Every way I try and set this up in LPRng, it fails. :( Any ideas?

 Thanks!
 Glenn

 ---
 Glenn E. Sieb, System Administrator
 Lumeta Corp. mailto:[EMAIL PROTECTED]
 +1 732 357-3514 (V)
 +1 732 564-0731 (Fax)


Try:

 canon2|canon:\
  :sh:\
  :[EMAIL PROTECTED]:mx#0:\
  :sd=/var/spool/output/%P:rp=print:
 canon2-private|canon-private:\
  :sh:\
  :[EMAIL PROTECTED]:mx#0:\
  :sd=/var/spool/output/%P:

run 'checkpc -f' to set up perms and spool directories,
then run 'lpc reread' to enable this.

Try doing 'lpq -Pcannon2' to see if it is correct.

Patrick Powell Astart Technologies,
[EMAIL PROTECTED]9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
  Consulting   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.lprng.com)

-
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: accounting.sh or ???

2001-11-28 Thread Patrick Powell

See the LPRng/UTILS/... directory.

There are several accounting scripts there.

 From [EMAIL PROTECTED] Wed Nov 21 08:37:06 2001
 Date: Wed, 21 Nov 2001 16:36:47 +0100 (NFT)
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: LPRng: accounting.sh or ???

 We've used a customized accounting.sh (from the distribution) to count
 printed pages for each job.

 Now I've installed the LPRng-3.7.4- + ifhp-3.4.7-package.

 The accounting.sh (written ... 1995) still exists!

 Are there any other templates for programs, which count the pages 
 similar to the accounting.sh ( in perl (???) ) ?



 MfG Margrit Lottmann 


   +---+
   | phone : +49 391 67  18572 |
   |   +49 391 67  12819 |
   |  Margrit Lottmann fax : +49 391 67  11134 |
   |   |
   | Otto-von-Guericke-Universitaet Magdeburg  |
   | Universitaetsrechenzentrum, URZ-N |
   | Universitaetsplatz 2  |
   | D-39106 Magdeburg,  Germany   |
   |   |
   |  [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.
 -


-
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: printer errors

2001-11-28 Thread christoph . beyer

hi,

looks like a postscript error, maybe you can turn on the postscript error handler
on the printer, and capture the PS file...

regards
~christoph




Phil Moses wrote:

 Anyone have a take on this?
 Error: syntax error
 OFFENDING COMMAND: --no string value --

 I am getting this from a phaser 740 printing from lprng 3.7.4 on Solaris
 7.

 Thanks,

 Phil

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



LPRng: lpd.perms has me confused

2001-11-28 Thread Joel Hammer

Using windows to access  a printer on a samba server running lprng, everything
works except, after I pause a print job, I cannot release it. It says I
don't have the right to access the printer. I can delete the job though.
This must be a permission deal with lpc based on what is in lpd.perms, I am
guessing. Howerver, I can't make heads or tails out of lpd.perms. Can
someone offer me a line  for lpd.perms which will allow access for a user on
the same host that sent the job to resume the job?
Thanks,
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.
-



LPRng: checkpc speed

2001-11-28 Thread C. L. McAvaney

G'day all,

I am wondering if checkpc is slow for everybody?
I have noticed that it takes quite a long time (v3.8.1) to go through a 
printcap that I have here with 122 printer entries.
Is it doing some network connections or something like that?

Christopher
,,,
   (. .)
/-.oOO--(_)--OOo.-\
|  Christopher McAvaney   [EMAIL PROTECTED]   |
|  PhD Candidate [EMAIL PROTECTED]   |
|   [EMAIL PROTECTED]   |
|  phone: +61+3+52272960[EMAIL PROTECTED]   |
|fax: +61+3+52272028   http://www.cm.deakin.edu.au/~chrismc   |
\-/




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