Re: LPRng: Fatal error on pdf
It sounds like this message is coming from lpr, which means the check_for_nonprintable setting has been turned on, either in the printcap, or more likely, in /etc/lpd.conf. This setting is turned off by default. If you want to keep this setting turned on, you can bypass it on an adhoc basis by running lpr with the -l (literal) flag. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Lisa Weihl [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 06/11/2004 05:28 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject LPRng: Fatal error on pdf While I'm at it I have another error that I've not seen reported in the mailing list archive. Using LRPng 3.8.26 and IFHP 3.5.17, text piped through the ifhp filter works just fine (using a2ps to convert). When I try to test printing a pdf ( lpr -Ptheprinter file.pdf) however I receive the following error message. Fatal error - cannot print 'p972.pdf': unprintable characters at start of file, check your LANG environment variable as well as the input file If I use the file command from the commandline the type I get is just fine as far as I can tell. Here is the output: p972.pdf: PDF document, version 1.3 I checked the ifhp.conf file and I do have it set to point to /usr/local/bin/file which is the version recommended in the installation instructions. I haven't added a line for a jpeg converter yet but if I attempt an lpr on a jpeg I also get the same Fatal Error message but again the type output from the file command via the commandline does indicated that it is a jpeg. Any ideas on what's happening here? I couldn't find any log info anywhere and and long version of lpq didn't have any information so I don't think the file was even processed. TIA for any help, Lisa ** 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. -
Re: LPRng: LPRng with RedHat ES
JetDirects have builtin queue names of raw and text. For the three-port models, the queue names are raw1, raw2, raw3, and text1, text2, and text3. I'm not sure which queue (raw or text) is right for you. Text adds line terminators, and raw doesn't. Assuming netq3 and netq0 are the hostnames of your JetDirects, try using the builtin queue names like this: #Printcap Information tq1|unix1 :if=/usr/share/printconf/util/mf_wrapper :mx#0 :rm=netq3.dt.uh.edu :rp=text :sd=/var/spool/lpd/tq1 :sh tq2|unix2 :if=/usr/share/printconf/util/mf_wrapper :mx#0 :rm=netq0.dt.uh.edu :rp=raw ^^^ :sd=/var/spool/lpd/tq2 :sh Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Wilson, Chad [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/31/2004 03:42 PM Please respond to [EMAIL PROTECTED] To '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc Subject LPRng: LPRng with RedHat ES Greetings, I am forced to move to RedHat ES 3.x becasue RH no longer supports our current 7.3 server. The old 7.3 server was running LPRng like a champ. ES however ships with CUPS as the official print server. CUPS failed to work with our old Lexmark 2491 line printers. After a week or more of trying to make the printer work, I decided to roll back to LRPng. Uninstalling CUPS was not very pretty. It had many packages that depended on it. These are the steps I went through...accordning to my bash history. # rpm -e cups # rpm -e desktop-printing # rpm -e redhat-config-printer-gui # rpm -e redhat-config-printer # rpm -e cups # rpm -qi redhat-lsb # rpm -e --force cups # rpm -ivh /usr/src/redhat/RPMS/i686/LPRng-3.8.26-1.i686.rpm # rpm -qi setup-2.5.27-1 # rpm -ivh --force /usr/src/redhat/RPMS/i686/LPRng-3.8.26-1.i686.rpm RH complained about the first three packages. I did not remove redhat-lsb even tho it said that it required CUPS. Odd as it seemed to me, I just forced the removal of CUPS. Similarly, I had to force the install of LPRng because of some files like printcap were still registered to CUPS. After installing LPRng, I used Webmin to configure the printcap file. This was the results: tq1|unix1:mx#0:rm=netq3.dt.uh.edu:sh:sd=/var/spool/lpd/tq1:rp=tq1:if=/usr/sh are/printconf/util/mf_wrapper: tq2|unix2:mx#0:rm=netq0.dt.uh.edu:sh:sd=/var/spool/lpd/tq2:rp=tq2:if=/usr/sh are/printconf/util/mf_wrapper: The old 7.3 server used mf_wrapper, which was part of printconf package that I had to install. It depended on something called libglade that I had to install first. # ls -l /usr/share/printconf/util/mf_wrapper # rpm -qi printconf # rpmbuild --rebuild --target i686 printconf-0.3.61-4.1.src.rpm # rpm -Uvh libglade-devel-0.16-4.i386.rpm # ls -l /usr/share/printconf/util/mf_wrapper Finally I sent it an ascii test page from Webmin. The results was no output from the printers. The printers are attached to HP Jet Directs. After trying to send a non ascii test page and canceling the job, one of the print servers locked up. This was typical of what was happening with CUPS. lpq retuened the following: Printer: [EMAIL PROTECTED] 'unix1' (dest [EMAIL PROTECTED]) Queue: no printable jobs in queue Server: no server active Status: job '[EMAIL PROTECTED]' saved at 15:07:07.475 Rank Owner/ID Pr/Class Job Files Size Time error [EMAIL PROTECTED] A 128 ERROR: Mystery error from Send_job Printer '[EMAIL PROTECTED]' - cannot open connection - Connection refused Oh boy, a MYSTERY error. Great, very imformative. To verify the settings, I ran: # ls -l /var/spool/lpd/ drwx-- 2 lplp 4096 Mar 31 13:56 tq1 drwx-- 2 lplp 4096 Mar 31 10:46 tq2 # checkpc -f -V LPRng-3.8.26, Kerberos5, Copyright 1988-2003 Patrick Powell, [EMAIL PROTECTED] Checking for configuration files '/etc/lpd/lpd.conf' found '/etc/lpd/lpd.conf', mod 0100644 Checking for printcap files '/etc/printcap' Checking for lpd only printcap files '/etc/lpd/lpd_printcap' DaemonUID 4, DaemonGID 7 Using Config file '/etc/lpd/lpd.conf' LPD lockfile '/var/run/lpd.515' .names :tq1=tq1 :tq2=tq2 :unix1=tq1 :unix2=tq2 .all :tq1 :tq2 #Printcap Information tq1|unix1 :if=/usr/share/printconf/util/mf_wrapper :mx#0 :rm=netq3.dt.uh.edu :rp=tq1 :sd=/var/spool/lpd/tq1 :sh tq2|unix2 :if=/usr/share/printconf/util/mf_wrapper :mx#0 :rm=netq0.dt.uh.edu :rp=tq2 :sd=/var/spool/lpd/tq2 :sh Checking printcap info Checking printer 'tq1' Checking directory: '/var/spool/lpd/tq1' directory '/' directory '//var' directory '//var/spool' directory '//var/spool/lpd' directory '//var/spool/lpd/tq1' checking 'control.pr' file checking 'status.pr' file checking 'status' file checking 'log' file checking 'acct' file 'if' filter '/usr/share/printconf/util/mf_wrapper' executable '/usr/share/printconf/util/mf_wrapper' Checking printer 'tq2' Checking directory: '/var/spool/lpd/tq2' directory '/' directory '//var' directory '//var/spool' directory '//var/spool/lpd
Re: LPRng: lengthy delay between one job finishing and another one starting
50% of CPU used by lpd certainly looks like a problem to me. This is definitely not typical. Are you also seeing a lot of disk activity? Have you posted your printcap yet? Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company [EMAIL PROTECTED] wrote on 01/30/2004 09:24:32 AM: Hi again, What is causing the load such that the main lpd process is so busy? Does the size of the queues affect how much lpd does? This machine is only serving 8 printers and when the load has been really high, it has only ever been one or two printers with large queues - the other queues have been empty. Here's an example of the load being driven up, when only one printer has a queue, note that the delay betweeb jobs is proportional to the length of the queue. The load here is 2.50, this top output is displaying all processes for the 'lp' user, the processes are: 5639 - the 'main' lpd process 6121 - the 'server' process for this queue 7214 - the process for the job that has just printed 2:05pm up 25 min, 2 users, load average: 2.50, 2.02, 1.27 68 processes: 64 sleeping, 3 running, 1 zombie, 0 stopped CPU states: 94.4% user, 5.5% system, 0.0% nice, 0.0% idle Mem: 513192K av, 245952K used, 267240K free, 0K shrd,5928K buff Swap: 530136K av, 0K used, 530136K free 186672K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 6121 lp25 0 6776 6776 2108 R50.1 1.3 4:43 lpd 5639 lp15 0 1792 1792 1600 S 0.0 0.3 0:00 lpd 7214 lp16 0 00 0 Z 0.0 0.0 0:00 lpd defunct And here is the actual queue at the time of the above top output (with usernames and hostnames changed). Is having this number of jobs in the queue enough to cause the load to be this high, or is this symptomatic of some problem? This machine only does print serving. [kant]toby: lpq -Pjc1 Printer: [EMAIL PROTECTED] 'HP Laserjet 8150DN in Room1, South Machine Halls JCMB' Queue: 13 printable jobs Server: pid 6121 active Unspooler: pid 7214 active Status: finished '[EMAIL PROTECTED]', status 'JSUCC' at 14:05:44.470 Filter_status: job completed for [EMAIL PROTECTED] Rank Owner/ID Class Job Files Size Time active [EMAIL PROTECTED]A 838 (STDIN) 122948 13:51:50 2 [EMAIL PROTECTED]A 997 (STDIN) 379322 13:53:12 3 [EMAIL PROTECTED]A 419 /tmp/AcroLTZVI7 340854 13:55:31 4 [EMAIL PROTECTED]A 438 /tmp/Acroq0ollh 402637 13:56:49 5 [EMAIL PROTECTED]A 468 /tmp/AcroslEQ0m 257239 13:57:08 6 [EMAIL PROTECTED]A 485 /tmp/AcroyYZa42 309569 13:57:22 7 [EMAIL PROTECTED]A 501 /tmp/Acro6tgCRQ 416470 13:57:37 8 [EMAIL PROTECTED]A41 (STDIN) 112610 13:59:57 9 [EMAIL PROTECTED] A48 (STDIN) 96567 14:00:48 10 [EMAIL PROTECTED] A 541 /tmp/AcroGuOyb8 463561 14:02:16 11 [EMAIL PROTECTED] A 557 /tmp/Acro0sRYDv 120374 14:02:48 12 [EMAIL PROTECTED] A 749 delete.pdf 58779 14:04:31 13 [EMAIL PROTECTED] Z 753 delete.pdf 58779 14:05:23 [kant]toby: Note that I'm running LPRng-3.8.10 - I haven't had a chance to test newer versions properly, but will do so soon. Cheers Toby - 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 theimpatient, 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
Re: LPRng: stalled printers
Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company [EMAIL PROTECTED] wrote on 01/15/2004 11:03:22 AM: I have an LPRng server running on Debian on my s390. I have been running it for a while and now we need to start doing some tweaking. Is there a good book or manual available that tells how to setup LPRng? For example, I have one printer in particular that runs out of paper while working on a batch of print jobs. The print queue will go to a state of being stalled. I don't have any way of knowing when this happens and in order to get it restarted, I have to do an /etc/init.d/lprng restart. I know there has to be some tools that will help overcome this. Can anyone help? Thanks! Also, I have heard IFHP mentioned a lot but I don't understand what it's purpose is. Where can I find a good book or document explaining this? I recommend the LPRng Cookbook at http://www.lprng.com/PrintingCookbook/index.html and the LPRng Reference Manual at http://www.lprng.com/LPRng-Reference-Multipart/index.htm. O'Reilly has a book, Network Printing, but it's broader than the LPRng documentation. Sam Warren, Jr. Computer Technician Winnebago Industries 641-585-3535 ext. 7785 - 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 theimpatient, 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: OCE Plotter issue
[EMAIL PROTECTED] wrote on 10/22/2003 12:21:29 PM: I am having an issue plotting to an OCE 9300 plotter. I have setup the printcap for this (and all of our other plotter types, like an HPDJ755CM) that looks like this: frpoce01:\ :lp=frpoce01%515:\ ^^ Here's the problem. Use this instead: :[EMAIL PROTECTED]:\ :sd=/export/Spool01/lprng/spool/lpd/%P:\ :af=/export/Spool01/lprng/spool/lpd/%P/acct:\ :lf=/export/Spool01/lprng/spool/lpd/%P/log:\ :minfree=10240:\ :ff_seperator:sh The thing that listens on port 515 is an lpd emulator. It expects you to be sending print jobs according to the RFC 1179 protocol. The notation lp=host%port doesn't use the RFC 1179 protocol, it just sends your print job directly to that port. The notation [EMAIL PROTECTED] does use the RCF 1179 protocol. The status that I get for this (in lpq.0) is: Status: printing job '[EMAIL PROTECTED]' at 10:57:20.486 Status: processing 'dfA151wookie', size 26825, format 'f', IF filter 'none - passthrough' at 10:57:20.487 Status: LP filter msg - ' No printer named !PS-Adobe-2.0' at 10:57:20.507 Status: error 'JWRERR' at 10:57:34.686 Status: waiting for subserver to exit at 10:58:12.997 Rank Owner/ID Class Job Files Size Time stalled(413sec) [EMAIL PROTECTED] A 151 hc0kiuwtmpplot.plt 26825 10:57:20 The strange thing about this is that I have had some success plotting to this from Solaris and Windows. But some documents don't seem to go through. I haven't been able to narrow it down to PS vs. HPGL, or operating system , or the size of the image being plotted. If anyone has had success plotting to an OCE plotter, can you give me some pointers? Bart Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River 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: Printer taking a long time to be found.
Well, if the Ricoh's lpd server is causing trouble, you can try connecting to port 9100 instead. ricoh220:|Ricoh 220 Afficio:\ :sh:lp=ricoh220%9100:\ :af=acct:lf=log:\ :sd=/var/spool/lpd/%P: Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Dion Gullotta [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 02/27/2003 06:23 PM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:RE: LPRng: Printer taking a long time to be found. Hi, I do get a delay there. Do you know what might be causing it? Here's the strace output of that command snipped the top part getsockname(3, {sin_family=AF_INET, sin_port=htons(934), sin_addr=inet_addr(192.168.39.129)}}, [16]) = 0 getsockopt(3, SOL_SOCKET, SO_LINGER, [0], [8]) = 0 setsockopt(3, SOL_SOCKET, SO_LINGER, [1], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 alarm(0)= 0 rt_sigaction(SIGALRM, {SIG_IGN}, {SIG_IGN}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [ALRM], [], 8) = 0 rt_sigaction(SIGALRM, {0x40077ea0, [], SA_INTERRUPT|0x400}, {SIG_IGN}, 8) = 0 alarm(30) = 0 write(3, \4auto1\n, 7)= 7 rt_sigaction(SIGALRM, {SIG_IGN}, {0x40077ea0, [], SA_INTERRUPT|0x400}, 8) = 0 alarm(0)= 30 read(3, Printer status : Idle.(Energy Sa..., 10239) = 41 read(3, Online/Offline : Online.\n, 10239) = 25 read(3, \n, 10239)= 1 read(3, No Entries.\n, 10239) = 12 read(3, \n, 10239)= 1 read(3, \r\n, 10239) = 2 read(3, , 10239) = 0 close(THIS IS THERE THE LARGE DELAY OCCURS***3) = 0 open(/usr/share/locale/en_AU/LC_MESSAGES/LPRng.mo, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/share/locale/en/LC_MESSAGES/LPRng.mo, O_RDONLY) = -1 ENOENT (No such file or directory) write(1, Printer status : Idle.(Energy Sa..., 40) = 40 write(1, \n, 1) = 1 write(1, Online/Offline : Online., 24) = 24 write(1, \n, 1) = 1 write(1, No Entries., 11) = 11 write(1, \n, 1) = 1 write(1, \r, 1) = 1 write(1, \n, 1) = 1 close(3)= -1 EBADF (Bad file descriptor) rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0 close(3)= -1 EBADF (Bad file descriptor) getpid()= 9959 _exit(0)= ? As you can see it's looking for some nonexistant files. I don't have LPRng.mo anywhere on my system, and I can't seem to find anywhere on the internet that tells me what it's for. Any help appreciated.. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Friday, 28 February 2003 12:37 To: [EMAIL PROTECTED] Subject: Re: LPRng: Printer taking a long time to be found. Try doing lpq [EMAIL PROTECTED] If you see a delay with this command, suspect the lpd server on ricoh220. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River 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. - - 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
Re: LPRng: Printer taking a long time to be found.
Try doing lpq [EMAIL PROTECTED] If you see a delay with this command, suspect the lpd server on ricoh220. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River 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: Cannot print to a remote LPRng
If you're sure that lpd is actually running on lpdx, the next place to look is /etc/lpd.perms. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Norbert Hahn [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/31/2003 02:31 PM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: Cannot print to a remote LPRng Hi, I'm installing a new print server using SuSE Linux 8.1 and LPRng that came with that distribution. Adding LPRng to the system was no problem, configuring a couple of printers went quite well. However, I cannot print from a remote computer to that server: $ lpq -P ps@lpdx Printer 'ps@lpdx' - cannot open connection - Connection refused Make sure the remote host supports the LPD protocol and accepts connections from this host and from non-privileged (1023) ports When I add a line to /etc/inetd.conf such as printer stream tcp nowait daemon /bin/date then $ lpq -P ps@lpdx will return Fri Jan 31 20:12:42 CET 2003 I tried to understand the LPRng-Howto but could not find how lpd connects to the printer port or what else is wrong in my configuration. Btw, LPRng version is 3.8.12 if that matters. Norbert - 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: lpd process running foolish
lp :sd=/var/spool/lp/lpd == should be /var/spool/lpd/lp? :lp=printer_FDQN%9100 :mx=0 Did you run checkpc? This is an LPRng command to validate your printcap. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Eric Devolder [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/17/2002 10:58 AM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: lpd process running foolish Hello, I'm posting to the mailing list because I've a problem I'm unable to solve by myself. I read the FAQ, browsed the web mailing list, but unfortunately didn't found an answer. The problem is quite simple. I've defined very basic printers in /etc/printcap. lp :sd=/var/spool/lp/lpd :lp=printer_FDQN%9100 :mx=0 As you can see, the entry is trivial. The printer is an HP laserjet. It is possible to send a job through the port 9100 with netcat. What happens when I launch a job is that the job is accepted by lpr, but nothing is printed. Moreover, a new lpd process is running and consumes 100% of the CPU time; it never dies and I need to 1° kill the process and 2° empty the queue. I've checked with several versions of LPRng, but no changes. Anyone an idea? Regards, Eric - 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: mostly ascii file getting typed as data
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
Re: LPRng: still losing ends of jobs
Do you have the option of using an internal JetDirect card on this printer? What happens when you take out the status@? (Although I would have chosen to use it myself, on an external JetDirect.) Other feeble suggestions are to check the configuration of the LaserJet, and make sure the parallel settings are high speed = yes and adv fnctns = on. A nice new IEEE 1284 printer cable might help too. (The IEEE 1284 spec says the cable should be marked IEEE 1284.) Anything interesting in the log file for this print queue? Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Dave Lovelace [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/03/2001 10:55 AM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: still losing ends of jobs I posted about this a while back, and I don't think anyone responded. We're to a point where it's getting to be a *really* big problem, and I have no idea what to do. We're running LPRng 3.6.24 on RedHat 6.2, and our printer is HP Laserjet 4 Plus. (We're using ifhp (3.3.17?), but for reasons given below I'm fairly sure that the problem occurs after ifhp is done. The printer has an external JetDirect box, and we print to port 9100. We also print to this printer from a SysV Unix box, using the lpsched system that came with it (but again printing to port 9100), and we do not see this problem at all with it, ever. The problem is that we lose the ends of jobs of more than a few pages. The printout just stops at some point, usually in the middle of a page. If the same job is sent again, it stops at exactly the same point. Or at least it has done so in a number of tests. Whenever this happens, the status readout on the printer is left showing the username of the user who sent the job. This would appear to indicate that the PJL commands to reset it are part of what's lost - which seems reasonable on the face of it, after all. In reading the HOWTOs, the only thing I could find that looked remotely like it might relate was the socket_linger parameter. I've tried boosting it way up there, with no change whatever. I've set up a printer exactly the same except printing to file. I can see that everything is there - stuff at the beginning added by ifhp, the file being printed, and PJL commands at the end. If I move this whole thing to the SysV box and send it (binary mode) to the printer, the whole thing prints. It sure looks as though LPRng is the culprit. Here's the printcap entry for the printer. (The -Z land66hp causes ifhp to add some extra setup stuff at the beginning of the job. It works fine for shorter jobs.) laser:\ :sd=/var/spool/lpd/laser:\ :mx#0:\ :mc#0:\ :socket_linger#90:\ :sh:\ :lp=laser%9100:\ :ifhp=model=hp4plus,status@:\ :if=/usr/local/libexec/filters/ifhp -Z land66hp: As I say, I've tried boosting the socket_linger up much higher, with no result whatever. As we're now setting things up so that this box is our print server for all our PCs, this is very quickly going to be a solve-it-or-die problem for me. I have no idea whatever to do about it. If anyone sees anything I might be missing, please speak up quickly. (And I sure hope Patrick is listening at this point.) Thanks. sigh sigh sigh sigh sigh -- - 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. - - 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
Re: LPRng: shared queue
p-server only to reroute them from net to printer. Maybe your printer would be better served by an HP JetDirect EX or a PrintSir -- in other words, by a dedicated ethernet print server, instead of a computer running LPRng. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Dima Veselov [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04/16/2001 01:30 PM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: shared queue Can anyone give me an advise how to serve shared queue by LPRng? The situation is: I have server with disks, LPRng, samba. And I also have diskless p-server with only LPRng installed and it have a printer, its file-systems are mounted by NFS on server. So, I want p-servers' lpd not to queue any jobs, because NFS and hardware weakness. I need server to queue all jobs, and p-server only to reroute them from net to printer. Thanks for answer. Sincerelly yours, Kab00m - 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: Desperately needing help!!!!
Try moving the filter out of the spool directory /var/spool/lpd. One customary location for filters is /usr/local/lib/filters. Make sure the filter can be executed by daemon, and update the printcap to refer to the new location. (I can't help with the open_gdbm problem, sorry.) Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company "RODRIGUEZ CESPEDES, FERNAN" [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/30/2001 02:20 PM Please respond to lprng To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] cc: Subject:LPRng: Desperatly needing help Hi, I have installed LPRng-3.7.4 on RedHat 7. I created the printcap entry with RedHat's printtool. Then I runed the checkpc -f command. I have also installed the ifhp filters but I do not hae the time to read its long documentation because this project is needed ASAP. The problem is that as you can see in the logs section, I am getting a: Status: consig1: Open_gdbm: cannot lock 'db.consig1' - Interrupted system call at 14:29:06.915 Usually the first print job will print, but then it will take a very, very long time to print the next one, and so on. I have checked the speed at which poscscript is processed in this machine, but that is no problem (it only takes a few seconds). I tweaked my /etc/ printcap with no luck. Here is a copy of it: consig1:\ :sd=/var/spool/lpd/consig1:\ :mx#0:\ :sh:\ :rm=10.1.8.162 :\ :rp=PASS:\ :mail_operator_on_error=true:\ :network_connect_grace=10:\ :longnumber=yes:\ :max_servers_active=10:\ :send_try=0:\ :lpd_bounce=true:\ :if=/var/spool/lpd/consig1/filter: I have also noticed that: [root@pruebaflota /root]# checkpc -f Warning - 'if' filter '/var/spool/lpd/consig1/filter' does not have execute perm I give it execution permissions and then get: [root@pruebaflota /root]# checkpc Warning - permissions of 'filter' are 0700, not 0600 # ps ax 2043 ?S 0:00 lpd Waiting 2047 ?R 1:23 lpd (Server) 'consig1' 2191 ?Z 0:00 [lpd defunct] ---LOGS-- lpq.0 Printer: consig1@pruebaflota (dest [EMAIL PROTECTED]) Queue: 256 printable jobs Server: pid 2047 active Unspooler: pid 2099 active Status: consig1: Open_gdbm: cannot lock 'db.consig1' - Interrupted system call at 14:29:06.915 Status: processing 'dfA000740pruebaflota.bue.la.repsol-ypf.com', size 132554, format 'f', IF filter 'filter' at 14:29:08.479 Status: IF filter 'filter' filter finished at 14:29:10.246 Status: printing finished at 14:29:10.247 Status: sending job 'devel21@pruebaflota+740' to [EMAIL PROTECTED] at 14:29:10.247 Status: connecting to '10.1.8.162', attempt 1 at 14:29:10.247 Status: connected to '10.1.8.162' at 14:29:25.186 Status: requesting printer [EMAIL PROTECTED] at 14:29:25.186 Status: sending control file 'cfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.891 Status: completed sending 'cfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.910 Status: sending data file 'dfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.910 Status: completed sending 'dfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:28.240 Status: done job 'devel21@pruebaflota+740' transfer to [EMAIL PROTECTED] at 14:29:28.240 Rank Owner/ID Class Job Files Size Time active devel21@pruebaflota+740 A 740 3532_05.ps 132554 12:59:50 2 devel21@pruebaflota+743 A 743 3532_10.ps 131143 12:59:51 3 devel21@pruebaflota+746 A 746 3532_20.ps 503533 12:59:52 4 devel21@pruebaflota+749 A 749 3536_05.ps 132558 12:59:53 5 devel21@pruebaflota+752 A 752 3536_10.ps 131924 12:59:54 6 devel21@pruebaflota+755 A 755 3536_20.ps 505675 12:59:55 7 devel21@pruebaflota+758 A 758 3537_05.ps 132546 12:59:56 8 devel21@pruebaflota+761 A 761 3537_10.ps 131717 12:59:57 status.consig1 processing 'dfA000749pruebaflota.bue.la.repsol-ypf.com', size 132558, format 'f', IF filter 'filter' at 2001-03-30-14:42:28.576 ## A=devel21@pruebaflota+749 number=749 process=2245 waiting for subserver to exit at 2001-03-30-14:42:30.309 ## A=NULL number=0 process=2047 IF filter 'filter' filter finished at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 process=2245 printing finished at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 process=2245 sending job 'devel21@pruebaflota+749' to [EMAIL PROTECTED] at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 pro
Re: LPRng: Phantom printing to HP printers
Be sure you're actually running LPRng. The customary install location is /usr/local/bin/lpd. If you run lpd -V, it should tell you "Version LPRng-3.7.4". If -D10 doesn't produce any diagnostic output, that makes me think you're running some other lpd. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company "Kevin G. J. Freels" [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04/02/2001 12:33 PM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: Phantom printing to HP printers Hello, I've just installed LPRng-3.7.4 on a RedHat Linux 6.1 system, and all seems to be runningwell, sort of I can print quite properly to one of our HP Laserjet 2100TN printers, but not to the other 2100's (or actually, to *any* printer). The status logs show that the LPRng system sends the prints to the all the printers and that they were all printed successfully. However, nothing comes out on two of them. The firmware rev on the one printer that prints is G.07.2, which is actually a lower rev than the two printers that won't print at G.08.04. Other than that, the all the printers are configured identically. The HP web site has zilch regarding UNIX printing. I set the lpd daemon to a debug level of 10 ("-D10"), and made sure the "lf" setting in the lpd.conf file was set. However, no real information is spit out at all, not even the LPRng version level when it is restarted. And checkpc is quite happy when I run it. The two questions I have are: 1) Has anyone had a similar experience with this type pf HPLJ (or any HP printer) where LPRng reports that the print is sent but nothing is actually printed? 2) Why won't LPRng give me more info other than saying it restarted when I have the debug level set? Thanks in advance for any insights!! k -- *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-* Kevin Freels, Systems Administrator415/553.8000 (w) Wild Brain 415/850.3273 (c) - 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: printcap format, was: Re: LPRng: filter question
LPRng supports both types of line endings. The ":\" line ending is needed by Berkeley lpd, but I think Patrick advises against it. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Terry Mackintosh [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/21/2001 07:22 AM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:printcap format, was: Re: LPRng: filter question Hi all below the format is ":...:\", yet some of the doc examples have only ":...", which is correct? will either work? Torsten Curdt wrote: minolta|lp|Minolta Page Pro SL:\ :lp=/tmp/printer_out:\ :sd=/var/spool/lpd/minolta:\ :allow_user_setting=samba:\ :lf=/var/spool/lpd/minolta/log:\ :af=/var/spool/lpd/minolta/acct:\ :if=/var/lib/lpdfilter/raw:\ :bkf: Thanks Terry - 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: HP Problem
I think lpq is saying "connection refused" because the query is being forwarded to the lpd server on your JetDirect card, and the JetDirect is busy handling your print request. If you want to look at the status of your print queue on the spooler, you can say "lpq -Phpdj730c@spooler", where "spooler" is the hostname of the spooler. JetDirects will usually handle only one connection at a time, which accounts for telnet failing also. Try talking to the JetDirect over port 9100, with lp=144.46.83.83%9100, instead of using the rm/rp notation used to talk to the lpd server on the JetDirect. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company [EMAIL PROTECTED] (Jun Zhang) Sent by: [EMAIL PROTECTED] 03/22/2001 10:37 AM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: HP Problem Hi, I am using LPRng-3.7.4 and a printcap entry hpdj750c:\ :mx=0:\ :sh:\ :lp=:\ :rm=144.46.83.83:\ :rp=RAW:\ :sd=/var/spool/lpd/%P So there is no filters being used. I can print the first job with JSUCC. While print is being done, lpq will tell me "connection refused". Now you cannot telnet to the printer. If I send another job, after 7 retry its status will be Stalled. Same thing on a hpdj755cm. I tried the send_data_first option, but no effect. I don't understand why changing the originate_port from 721 731 to 512 1023 should make a difference. According to the HOW-TO, the latter is the default, and it supposed to have solved the problem. If port 512 has problem with the unix restriction (1024), why the first job succeed? Can somebody give me light? Jun __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.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. - - 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: Good Book
"Network printing" from O'Reilly covers LPRng among other topics. I can't say how good it is, because I haven't read it. http://www.oreilly.com/catalog/netprint/ You could always print a copy of the HOWTO on 3-hole paper and keep it in a binder, for spare time reading enjoyment. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/21/2001 03:42 AM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: Good Book Is anybody writing a book on lprng, maybe and oreilly type of thing. Or does one exist already? RonMac Ron McKeating Computing Services Loughborough University 01509 222329 - 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: Problems with loads of printjobs?
You may be thinking of a limit on the number of files that can be contained within one lpr print job. Data file names must follow the same pattern as the control file name, and have the format dfXnumberhost. The X can be in the range A-Za-z, allowing at most 52 data files for a job. By default, the number of jobs per queue is 999. The job number is usually a 3 digit value. However, in systems where a large number of jobs are spooled and need to be kept for printing at scheduled times, this can lead to problems. The longnumber option will use 6 digit job numbers. This must be used with care when operating with non-LPRng software. The latest version of LPRng should be stable enough to load up two queues. With only two queues, LPRng isn't going to stress the server, unless you stress LPRng. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Labahn Dietmar [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 02/20/2001 09:19 AM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: Problems with loads of printjobs? Hi, I think I recall a message about a certain version of LPRng only handling up to 50 Printjobs/queue. What Version of LPRng is stable enough to have up to 1000 jobs in 2 queues, and how does it affect the workload of a machine (K62/500)? Thanks Dietmar - 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: REJECT NOT SERVER/no connect permissions
I can't answer the authentication problem, but I have an answer for ^B. It's from RFC 1179. To send a print request with lpr, you send lpd a byte with the value \002, followed by the name of the printer, followed by a line feed. \002 corresponds to ^B, according the ASCII chart printed in O'Reilly's Unix in a Nutshell. Finding an ASCII chart with the control codes, now that's a trick. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 02/06/2001 11:01 AM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:Re: LPRng: REJECT NOT SERVER/no connect permissions On Tue, 6 Feb 2001, Craig Small wrote: it lists db as one argument. However, /lib/libnss_db.so... does not exist on my machine! According to the man page, this shouldn't be true. Does this mean a broken set of packages somewhere on Debian? That libnss_db should be required for LPRng? You can get it in the libnss-db package. I don't have that file here either. Short grumble on the nsswitch business. I see mention of nsswitch.conf many times in search engine responses having various things calling "db". But almost nowhere does anybody say how those *db files nsswitch uses get created. There is no manpage for makedb, which is installed. Somewhere, someone should at least mention that the name of the program to create those db files is makedb, and they might want to offer advice as to when to run with db files and when not to. changed in lprng. You may want to read the Debian README and look at the bug pages at http://bugs.debian.org/lprng have a look at bug #82501 Okay, I had a gander at 82501 (all 20 pages of it). What a dogs breakfast of problems. :-) I do not have a printcap with an empty lp= entry. I do not have any bounce statements (bounce_queue, bq or lpr_bounce). I am running 3.7.4 from 3.7.4-2 debs. I see no difference running as root or an ordinary user. Everything in /var/spool/lpd is owned daemon.lp Permissions 700 for the directories of /var/spool/lpd, and 600 for the files within those directories. If I run lpr -Pprinter@host instead of just lpr, I get the following: LINK_ACK_FAIL with ack ACK_STOP_Q sending str '^Blp' to error msg: 'no connect permissions' One thing puzzles me in the above, why is that '^B' in the name of the printer string? Gord Matter Realisations http://www.materialisations.com/ Gordon Haverland, B.Sc. M.Eng. President 101 9504 182 St. NWEdmonton, AB, CA T5T 3A7 780/481-8019ghaverla @ freenet.edmonton.ab.ca 780/993-1274 (cell) - 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: lpc hold printer problems
I think you want to say 'lpc stop myprinter' instead of 'lpc hold myprinter'. 'Start' and 'stop' apply to the entire queue. 'Hold' applies to specific job(s) within the queue. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company iddwb [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/04/01 12:32 PM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: lpc hold printer problems Using Caldera Openlinux distro -- installed from binary lprng-6.2.62. When issuing an 'lpc hold myprinter' I receive the message that printer@host is updated. However, jobs still print when I send them through lpr. issuing 'lpc status myprinter' say's the printing and spooling are enabled. When I do an 'lpc disable myprinter' -- lpc status properly reports that spooling is disabled. Trying to lpr on a disabled printer gives me transfer to host failed -- which I am assuming to be that since the printer was disabled it won't even accept jobs to hold. Thats fine. However, I thought holding a printer would do just that -- hold the queue from sending to the printer untill an 'lpc release myprinter' was issued. what am I doing wrong? David Bear College of Public Programs/ASU - 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: Trouble after initial installation
Could be a problem with the permissions for your spooling directory, /var/spool/lpd/lp. LPRng has a utility, checkpc, for managing your spooling directories. Try running "checkpc -f" as root. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Jess Jackson [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/18/00 10:37 PM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: Trouble after initial installation I recently installed the most recent version of LPRng on my Dell Pentium II-400 MHz system running Redhat 7.0. I have an Epson 740 connected to parallel port 1. I can print to the printer in "Printtool" using the Print Directly to Port and I get the one line test message. But if I try to print either the ASCII or Postscript test page, I get the following series of messages. ... transfer to lp@localhost failed NONZERO RFC1179 ERROR CODE FROM SERVER with ack 'ACK_FAIL' sending str '^Blp' to lp@localhost error msg: 'printer 'lp', chdir to '/var/spool/lpd/lp' failed 'Permission denied'' Any help in resolving this would be appreciated. Thanks, Jess - 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: printing to NT queue from LPRng
Here's a non-Samba answer. Install Microsoft's TCP/IP Printing network service, found on the NT CD-ROM. "Services" are a tab on the Network applet of the Control Panel. Then you can say "net start lpdsvc" from the command line to start the service, or start it from the Control Panel's Services applet. You'll probably want to use the Services applet to define this service to start automatically. Define a remote printer to LPRng's printcap: venlo|Oce 9800 in 704-1N:\ :mx#0:sh:lp=:\ :rm=venlo:rp=lp:\ :sd=/var/spool/lpd/venlo:\ :lf=log: rm=venlo calls out the hostname of the PC. rp=lp calls out the name of the print queue on the PC. In this case, venlo is also the name of LPRng's queue. You'll want to reapply your latest NT service pack soon after installing the TCP/IP Printing service, preferably not SP4. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Rick Gaine [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/29/00 10:38 AM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:LPRng: printing to NT queue from LPRng I'd like to be able to print to an NT queue from LPRng. How would I do this either with or without samba? -- Richard Gaine [EMAIL PROTECTED] Systems Programmer (732)445-0543 - 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. - - 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: 52 job limit!!!
You're not the only one to run into this problem. The solutions that involve splitting the print job into multiple print jobs, via xargs or other means, do work. But if you need your multiple files to be printed in sequence with perfect accuracy, you can't use multiple jobs. There's no guarantee those multiple jobs will print in first-in, first-out sequence, especially if you're using a separate spooling server. The only solution I've found is to cat all the print files into one big wad, and then "lpr" the big wad. The burden is on you to insert any printer control language between files in the big wad. It's not a pretty solution, but the problem was designed into RFC1179 in the first place. Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company Robert McCallum [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/27/2000 04:18 PM Please respond to lprng To: [EMAIL PROTECTED] cc: Subject:Re: LPRng: 52 job limit!!! hey thanks... I was not sure if this list even worked. I guess I don't get my own submissions like with the other lists I am on. thanks for the workaround... is this 52 file limit in LPRng or is it some other dependency?? I cannot believe that no one else has had this problem. thanks for the help. Robert Avery Earle wrote: Not a fix but a workaround .. cd /tmp/labels for f in lab* ; do lp -dlabel2 $f done On Thu, Jul 27, 2000 at 10:37:01AM -0500, Robert McCallum wrote: hello, I just installed LPRng and I think it is great, however I am not sure how to get past this 52 request limit... I really need to .. for a cron job that I have to print all the labels that sit in a directory each night... it is a simple script cd /tmp/labels lp -dlabel2 lab* of course this fails with... Fatal error - Sorry, can only print 52 files at a time, split job up can I get around this limitation?? - 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. - - 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. - - 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. -