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: Solaris LPRng client - HP (standard) server
Christopher, Nope - not in my printcap. I've kept that file excrutiatingly simple to this point: prtrname:remote_print_server:sd=/var/spool/lpd/%P :filter=/usr/local/libexec/filters/ifhp :lp=remote-printer-name@remote-print-server:prefix_option_to_option=Z,S O -- Ron Dinwiddie Sprint Enterprise Network Services On-Site: 512-228-5529 (ext. 75529) Pager:800-951-4955 - 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: Local vs remote printer name
I'm upgrading to 3.6.26 from 3.6.14beta28 because of the security problems and I'm trying to resolve one other problem that has surfaced. I believe I saw some mail last week that appeared to be a similar problem, but I've misplaced it. I have a printcap entry that looks like: ps: :cm=Apple LaserWriter: :[EMAIL PROTECTED]: This entry is not getting parsed correctly. For example, if I do an lpq: % lpq -Pps Printer: ps is printer@localhost Printer: printer@local - printer 'printer', chdir to '/var/spool/lpd-printer' failed 'No such file or directory' If I change the printer so that the local and remote names are the same: ps: :cm=Apple LaserWriter: :[EMAIL PROTECTED]: I get more reasonable output: : lpq -Pps Printer: ps@local (dest [EMAIL PROTECTED]) 'Apple LaserWriter' Queue: no printable jobs in queue no entries Has anyone seen this behavior? Thanks. Jeff - 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
Hi Phillip: Thanks for your persistence. I am a relative newcomer to Linux, so thanks for your patience. Per your suggestion, I changed printcap to point to the actual location of masterfilter at /usr/lib/rhs/rhs-printfilters/master-filter as follows... :filter=/usr/lib/rhs/rhs-printfilters/master-filter After doing this and rebooting, printtool does the following... ASCII direct to port still works Trying ASCII or Postscript Test page says ... printed to queue lp but nothing happens _ I also ran lpq with the following response... [root@dell733 /root]# lpq Printer: lp@Dell733 Queue: no printable jobs in queue Status: removing job 'root@Dell733+894' - ABORT at 22:50:56.412 _ As you mentioned, I checked to see if master-filter was executable by daemon as follows... [root@dell733 rhs-printfilters]# ls -l -A master-filter -rw--- 1 daemon daemon 10214 Aug 30 19:28 master-filter [root@dell733 rhs-printfilters]# chmod 700 master* [root@dell733 rhs-printfilters]# ls -l -A master-filter -rwx-- 1 daemon daemon 10214 Aug 30 19:28 master-filter [root@dell733 rhs-printfilters]# checkpc -f Warning - permissions of 'filter.orig' are 0700, not 0600 Warning - 'filter' filter '/usr/lib/rhs/rhs-printfilters/master-filter' does not have execute perms [root@dell733 rhs-printfilters]# ls -l -A master-filter -rw--- 1 daemon daemon 10214 Aug 30 19:28 master-filter [root@dell733 rhs-printfilters]# It appears that checkpc -f removes the execute permission, then complains about it (or am I missing something?). _ Lastly, here is the printcap file... # Dummy Printcap file # VERSION=3.6.26 ##LPRNGTOOL## LOCAL uniprint NAxNA letter {} U_EpsonStylusColor stc740p {} ##PRINTTOOL3## LOCAL uniprint NAxNA letter {} U_EpsonStylusColor stc740p {} lp:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :lp=/dev/lp0:\ :filter=/usr/lib/rhs/rhs-printfilters/master-filter ## :if=/var/spool/lpd/lp/filter: Maybe all this will shed some light. Thanks again, Jess 12/19/00 1 Document2
Re: LPRng: Trouble after initial installation
hi, try a chmod 755 /usr/lib/rhs/rhs-printfilters/masterfilter as user root. On Tuesday 19 December 2000 20:52, you wrote: Thanks for the feedback. Logged on as "root" I ran "checkpc -f." Results of checkpc -f... Warning - 'if' filter '/var/spool/lpd/lp/filter' does not have execute perms "checkpc -f" does not "fix" this problem. I then manually changed "filter" as follows... lrwxrwxrwx1 root root 44 Dec 17 17:21 filter - /usr/lib/rhs/rhs-printfilters//master-filter and re-ran "checkpc -f" but got the same message. So, I am still stuck I guess. - 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. -