Re: LPRng: Do not use LPRng-3.8.0
No, it affects only 3.8.0 cause the stupid developer (me) went and answered the phone just as he was typing in a line in the 'Setup_setuid()' code, got back from the phone call, saved the file, and then did not run the VERY elaborate SETUID tests that he usually does. G... When they say sloth is one of the Seven Deadly Sins they mean it... Patrick (Gluttony? Ummm... but what about Thanksgiving?) Powell From [EMAIL PROTECTED] Fri Nov 16 10:03:03 2001 Date: Fri, 16 Nov 2001 10:08:38 -0700 (MST) From: David Bear [EMAIL PROTECTED] Subject: Re: LPRng: Do not use LPRng-3.8.0 To: [EMAIL PROTECTED] On Fri, 16 Nov 2001, Patrick Powell wrote: Date: Fri, 16 Nov 2001 07:27:50 -0800 (PST) From: Patrick Powell [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: LPRng: Do not use LPRng-3.8.0 Cause there is a security bug in it. New release ASAP. Even faster than ASAP... Working on it right now. does this bug affect 3.7.4? - 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: 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? 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: Do not use LPRng-3.8.0
From [EMAIL PROTECTED] Fri Nov 16 13:33:37 2001 Date: Fri, 16 Nov 2001 14:23:13 -0600 (CST) From: Dugal James P. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: LPRng: Do not use LPRng-3.8.0 Those of you running Solaris on SPARC architecture should consider adding the following lines to your /etc/system file: * Foil certain classes of bug exploits set noexec_user_stack = 1 * Log attempted exploits set noexec_user_stack_log = 1 This denies the ability to execute code from a process stack, and foils buffer-overflow attacks when the buffer was allocated on the stack. It hasn't bothered any of our applications, and might help avert an attack. Just my two cents worth... Regards, -- James Dugal, N5KNX Internet: [EMAIL PROTECTED] Director Ham packet: n5knx@k5arh.#lft.la.usa.noam Computing Support ServicesUS Mail: PO Box 42770 Lafayette, LA 70504 U of Louisiana at Lafayette Tel. 337-482-6417 U.S.A. You need to be slightly careful about doning this, as some LISP systems actually generate code and put it in the user space. I think that they use the user stack for this so that they can get recursion. Some interpreters that generate JustInTime executable code may also have the same problem. 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: sending logfile to loghost
From [EMAIL PROTECTED] Mon Nov 19 20:27:58 2001 Date: Mon, 19 Nov 2001 22:08:31 -0500 From: chad schrock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: LPRng: sending logfile to loghost Patrick Powell wrote: Matt Soccio I have my print server logging debug info locally in /var/log/lpr by using the lf=/var/log/lpr line for each entry of my printcap. Is it possible to use the lf flag to send this output to my loghost? If so, what is the syntax? I have tried a few variations of @loghost (ala syslog) and loghost:/var/log/lpr, but it is not being forwarded. Do I need to redirect this output to port 514 on my loghost? Currently, no. Ummm actually, I do NOT repeat NOT recommend sending the log file output to loghost. What is the motivation for this? Probably the same reason we want to do this at my site: to get all of the logs in one place. If not on a syslog loghost, at least getting all of the printserver logs to one place would be a huge benefit for us. -- chad at radix dot net Ummm... OK, I was kinda afraid of this. I will think about this. No promises. 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
you didn't mention if this was 2000. On NT4, the following helped me. SYMPTOMS When a formatted job prints from a line printer remote (LPR) client to a Windows NT computer that is running the Line Printing Demon (LPD) services, PCL or PostScript codes are printed instead of a properly formatted document. RESOLUTION == The LPD service can be reconfigured to ignore the format control command from the LPR client and always assign the RAW datatype. Use one of the appropriate sections below to reconfigure the LPD service. NOTE: This setting is not available for a single printer. This setting affects all printers on the Windows NT Server that are receiving print jobs from LPR clients. Print jobs from non-LPR clients are not affected by this setting. Configuring SimulatePassThrough In Windows NT 4.0 - For Windows NT 4.0 to assign the RAW datatype, regardless of the control file contents, do the following: WARNING: Using Registry Editor incorrectly can cause serious, system- wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk. 1. Run Registry Editor (REGEDT32.EXE). 2. From the HKEY_LOCAL_MACHINE subtree, go to the following key: \SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters 3. On the Edit menu, click Add Value. 4. Add the following: Value Name: SimulatePassThrough Data Type: REG_DWORD Data: 1 NOTE: The default value is 0, which informs LPD to assign datatypes according to the control commands. On Wed, 21 Nov 2001, Rajeev Agrawala wrote: 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: Thanks, rajeev - 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. -
Re: LPRng: accounting.sh or ???
On Wed, 21 Nov 2001 [EMAIL PROTECTED] wrote: 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 (???) ) ? Attached to this message in the acct.pl script we run (slightly sanitized). I believe this is based on an accounting.pl script which was distributed with LPRng at one point. If anyone has something simpler for parsing the accounting the log file, I'd love to see it. Andy #!/usr/bin/perl use DBI; use Getopt::Std; # External function definitions require /private/ifhp/libexec/filters/acct_mail.pl; # File containing list of users not allowed to print (one per line) my($baduserfile) = /private/ifhp/libexec/filters/bad_users; # Add users here who don't want to receive mail messages %no_mail = ( root = 1, nobody = 1, scf_toby = 1, scf_start = 1, scf_kidspirit = 1, scf_dce = 1, ); my($JFAIL,$JABORT,$JREMOVE,$JHOLD); my($debug, $af_file, %opt,@af,$fix,$new); my($loc,$start_count,$action,$action_count,$pages); my($last_end,$time,$size,$bsize,$count,$buffer); my($first_start,$next_start,$first_non_start,$last_non_start); my($JFAIL) = 32; my($JABORT) = 33; my($JREMOVE) = 34; my($JHOLD) = 37; # print STDERR XX:$0 ACCOUNTING . join( ,@ARGV) . \n if $debug; $action = ; if( @ARGV ){ $action = shift @ARGV; } $action = uc($action); if( $action ne START $action ne END $action ne TRUNCATE ){ print STDERR $0: first option must be 'START', 'END' or 'TRUNCATE'\n; exit $JABORT; } # pull out the options getopts( 'A:B:C:D:E:F:G:H:I:J:K:L:M:N:O:P:Q:R:T:S:U:V:W:X:Y:Z:' . 'a:b:cd:e:f:g:h:i:j:k:l:m:n:o:p:q:r:t:s:u:v:w:x:y:z:', \%opt); if( @ARGV ){ $af_file = shift @ARGV; } $debug = 0; if( exists( $opt{T} ) $opt{T} =~ m/debug/ ){ $debug = 1; } $time = time; print STDERR XX:$0 $action A='$opt{A}' P='$opt{P}' n='$opt{n}' H='$opt{H}' D='$time'\n if $debug; # open af_file for R/W if( !$af_file ){ die $0: no accounting file\n; } open( AF,+$af_file ) or die $0: cannot open $af_file r/w - $!\n; $size = -s AF; print STDERR XX:$0 AF size $size\n if $debug; $bsize = 0; $last_end = -1; $buffer = ; do { # 1k increments $bsize = $bsize + 1024; $bsize = $size if( $bsize $size ); print STDERR XX:$0 bsize=$bsize\n if $debug; if( $size 0 ){ seek AF, -$bsize, 2 or die $0: seek of $bsize failed - $!\n; $count = read AF, $buffer, $bsize; if( !defined($count)){ die $0: read of $bsize failed - $!\n; } elsif( $count != $bsize ){ die $0: read returned $count instead of $bsize\n; } print STDERR XX:$0 read \nXX . join( \nXX , split(\n,$buffer)).\n if $debug; } $loc = rindex( $buffer, \nEND); print STDERR XX:$0 loc=$loc\n if $debug; if( $loc = 0 ){ $last_end = index( $buffer, \n, $loc+1 ); print STDERR XX:$0 last_end=$last_end\n if $debug; if( $last_end 0 ){ print STDERR XX:$0 bad END entry in file\n if $debug; seek AF, 0, 2 or die $0: seek to EOF failed\n; print AF \n; } else { ++$last_end; $bsize = $bsize - $last_end; $buffer = substr( $buffer, $last_end ); } } } while ( $bsize $size and $last_end 0 ); print STDERR XX:$0 final bsize=$bsize, XX . join(\nXX ,split(\n,$buffer)).\n if $debug; # truncate and exit with 0 if( $action eq TRUNCATE ){ truncate $af_file, 0 or die $0: cannot truncate $af_file - $!\n; seek AF, 0, 0 or die $0: cannot seek to start $af_file - $!\n; print AF $buffer or die $0: cannot write to $af_file - $!\n; close AF or die $0: cannot close $af_file - $!\n; exit 0; } @af = split( /\n/, $buffer ); print STDERR XX:$0 split \nXX .join(\nXX ,@af).\n if $debug; # case 0: [null] - empty file - go on # case 1: START+ - job aborted - go on # case 2: START+,n,n,n - some printed - go on # case 4: START+,n,n,n,START+ - job aborted - go on # case 4: START+,n,n,n,START+,n,n - some printed - fix # END*,START,n,START*,n - fix #^ ^ ^ ^last non-start #^ ^ ^ next START #^ ^first non-start ^ #first start # $fix = 0; $first_start=0; while( $first_start @af and $af[$first_start] !~ /^START/
Re: LPRng: accounting.sh or ???
On Wed, 21 Nov 2001 [EMAIL PROTECTED] wrote: We've used a customized accounting.sh (from the distribution) to count printed pages for each job. accounting.pl still comes with LPRng as downloaded from ftp://ftp.astart.com/pub/LPRng/LPRng/ It is normally created when the install instructions are followed. Regards Barry - 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: HP PPD file usurps PostScript EndPage
Patrick asked me to share this little story. My print filter uses the PostScript EndPage hook to create a watermark at the top of the first page of output as a replacement for a banner page. After I started using some HP printers, I noticed that no watermark was being printed. This was because the HP PPD file contains some code which redefines the EndPage routine. Since the Adobe driver was inserting this code after my watermark code, my watermark code lost. I had to remove the HP code from the PPD file and propagate it to all clients. The morals of this story are: Vendor-supplied PPD files are not necessarily your friends. It is extremely difficult, if not impossible, to rigorously impose printing policy at the server end. But I still think it's worth trying. -Rick |Rick Cochran phone: 607-255-7618| |Network and Computing Systems, Cornell CIT FAX: 607-255-8521| |730 Rhodes Hall, Ithaca, N.Y. 14853email: [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: 'require_explicit_q' = 'require_configfiles'
In my case lpd doesn't work. After starting, ps displays lpd waiting. So when bring a print queue up, lpc complains lpc: connect: Connection refused / couldn't start daemon. Alan -Original Message- From: Christopher Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 21 November 2001 1:32 PM To: Alan Lu Subject: Re: LPRng: 'require_explicit_q' = 'require_configfiles' Hi Alan, I've also just installed 3.8.1 and am getting the same message from checkpc, however printing still seems to be working fine. Regards, Chris Lee On Wed, 21 Nov 2001, Alan Lu wrote: Dear all, I just installed (from source) LPRng 3.8.1 on my LinuxPPC 2000-Q4. But checkpc reports the following message: Pc_var_list: 'require_explicit_q' = 'require_configfiles' Any hint? TIA! --- Alan - 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: Compilation on 11i, revisited
The problem described below may have been solved already... I haven't been following the group lately... but I just spent a day or so fighting through it. Turns out that a standard lprng configure on HP defines the selected compiler as the Loader. For some reason the libtool that gets built during configuration doesn't recognize this, and does not include the pass argument through to loader syntax in its link command. It puts the loader-specific argument directly on a compiler command line. The fix that worked for me on HP-UX 11 was to specify --with-linker=/usr/bin/ld on the configure command. I got a few warnings from libtool, but the libraries got built. I also had Warnings from both gcc and the HP ansi c about pointer type mismatches on the select command. I had to remove the -Werror from CFLAGS in the src Makefile to get the build to complete. Dave Dave Cunningham Computing and Network Services (408) 756-1382 Voice, (408) 539-4912 Pager [EMAIL PROTECTED] From: User Papowell [EMAIL PROTECTED] Date: Fri Sep 28, 2001 2:12 pm Subject: RE: LPRng: Compilation on 11i, revisited This is really really strange. Can you ask the 'libtool' folks if this is a known problem? From [EMAIL PROTECTED] Wed Sep 19 11:18:46 2001 From: Ryan Novosielski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: LPRng: Compilation on 11i, revisited Date: Wed, 19 Sep 2001 12:56:42 -0400 Ummm... I just looked over this again and I found what I believe to be a very good reason for this to never work (which really confuses me since it did work once!) Take a closer look at two of the below lines (incidentally, I now use 3.7.7 which does the same thing but wasn't out back when I started complaining about this). rm -fr .libs/liblpr.la .libs/liblpr.* .libs/liblpr.* ...that lays the groundwork for: /usr/ccs/bin/ld: Can't open liblpr.sl.0 /usr/ccs/bin/ld: No such file or directory gmake[1]: *** [liblpr.la] Error 1 ...isn't it not able to find it because it erased it two lines earlier? liblpr.sl.0 certainly does match liblpr.*, does it not? The time that it did work, I found that .libs had all of the files. I don't have a system slow enough to find out if those libs are ever there before that line comes along, but I suppose you can tell me if I'm on the right track anyway. (also was unable to find that rm -fr ANYPLACE in any Makefile to try and comment it out, so... shrug if you want me to give that a shot, tell me where it's hiding ;)) _ _ _ _ ___ _ _ _ |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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ryan Novosielski Sent: Friday, September 14, 2001 2:41 PM To: LPRng Mailing List Subject: LPRng: Compilation on 11i, revisited I was able to fix the problem, for now, so that I could continue doing my testing so that I can put 3.7.6 on my servers. However, I then run into this problem on most of my systems, but not on one of them (this happens on 11i and 11o machines sigh)... I can't figure out what could be different based on this error message: rm -fr .libs/liblpr.la .libs/liblpr.* .libs/liblpr.* cc -b +h liblpr.sl.0 +b /opt/LPRng-3.7.6/lib -o .libs/liblpr.sl.0.0 accounting.lo child.lo controlword.lo copyright.lo debug.lo errormsg.lo fileopen.lo gethostinfo.lo getopt.lo getprinter.lo getqueue.lo globmatch.lo initialize.lo krb5_auth.lo linelist.lo linksupport.lo lockfile.lo lpd_control.lo lpd_jobs.lo lpd_logger.lo lpd_rcvjob.lo lpd_remove.lo sendauth.lo lpd_secure.lo lpd_status.lo merge.lo permission.lo plp_snprintf.lo printjob.lo proctitle.lo sendjob.lo
RE: LPRng: 'require_explicit_q' = 'require_configfiles'
Did a quick check with 3.8.1 (on RH7.1, kernel 2.4.3-12, ifhp 3.4.7) this morning, also getting 'require_explicit_q' = 'require_configfiles' message on lpd start, does not seem to effect printing. Barry Wright On Thu, 22 Nov 2001, Alan Lu wrote: In my case lpd doesn't work. After starting, ps displays lpd waiting. So when bring a print queue up, lpc complains lpc: connect: Connection refused / couldn't start daemon. Alan -Original Message- From: Christopher Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 21 November 2001 1:32 PM To: Alan Lu Subject: Re: LPRng: 'require_explicit_q' = 'require_configfiles' Hi Alan, I've also just installed 3.8.1 and am getting the same message from checkpc, however printing still seems to be working fine. Regards, Chris Lee On Wed, 21 Nov 2001, Alan Lu wrote: Dear all, I just installed (from source) LPRng 3.8.1 on my LinuxPPC 2000-Q4. But checkpc reports the following message: Pc_var_list: 'require_explicit_q' = 'require_configfiles' Any hint? TIA! --- Alan - 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: 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 - 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: 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) - 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: 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: Thanks, rajeev - 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: LPRng and AIX
From [EMAIL PROTECTED] Thu Nov 15 16:29:16 2001 Date: Thu, 15 Nov 2001 18:28:18 -0500 From: Brandon S. Allbery KF8NH [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: LPRng: LPRng and AIX On Thursday, November 15, 2001 23:38:20 +0100, Niklas Edmundsson [EMAIL PROTECTED] wrote: +- | The only thing we are having problems with is ifhp's interaction with | our HP4SiMX's when users prints PDF's generated in Windows (meaning | that the HP hangs sort of). +---8 Don't use the stock Windows drivers; use Adobe's PostScript printer driver for Windows: http://www.adobe.com/support/downloads/product.jsp?product=44platform=Win dows The Windows driver does Bad Things, and the HP driver mucks with the Windows print spooler in ways that can break or complicate other things. This has worked with our HP5SiMXs. -- brandon s. allbery [os/2][linux][solaris][freebsd] [EMAIL PROTECTED] system administrator [JAPH][WAY too many hats][EMAIL PROTECTED] electrical and computer engineering KF8NH carnegie mellon university [linux: proof of the million monkeys theory] WARNING Do NOT take this seriously folks... but I was just reading an article on 'Hidden Gotchas on Web Sites' just the other day when I read Brandon's email. On the other hand, this is exactly what was being talked about in the article so there may be some foundation to it... Patrick (Bring on the handcuffs Fred...) Powell /WARNING Please note that by posting this information the to the LPRng mailing list, Mr. Allbery may have violated the terms of the Adobe 'Terms of Use' agreement (applicable part shown below). I fully expect the Dept. of Justice folks to show up on his doorstep tomorrow. Adobe is REALLY agressive in pursuing violators. Applicable Part: INTELLECTUAL PROPERTY; LIMITED LICENSE TO USERS The Materials and Services on this Site, as well as their selection and arrangement, are protected by copyright, trademark, patent, and/or other intellectual property laws, and any unauthorized use of the Materials or Services at this Site may violate such laws and the Terms of Use. Except as expressly provided herein, Adobe and its suppliers do not grant any express or implied rights to use the Materials and Services. You agree not to copy, republish, frame, download, transmit, modify, rent, lease, loan, sell, assign, distribute, license, sublicense, reverse engineer, or create derivative works based on the Site, its Materials, or its Services or their selection and arrangement, except as expressly authorized herein. In addition, you agree not to use any data mining, robots, or similar data gathering and extraction methods in connection with the Site. Note that the applicable part is 'data mining', and perhaps while Mr. Allbery is not a robot (Ummm... CMU does have a Robotics group, so I will have to take this on faith.), he has clearly done 'data mining'. Don't you just love the stuff that is buried on these web sites? Patrick (Non disclosure agreement says that I can't leave my brain to research cause it violates the terms of the data mining clause? Hmm... I think they have been reading too many SF novels while smoking those funny little brown cigars...) 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. -