Здравствуйте, On Fri, Jun 27, 2003 at 11:34:24AM +0400, Комаров Алексей wrote: > Здравствуйте debian-russian, > > Имеется WOODY 3.0 stable, lprng+magicfilter, samba 2.2.3a, принтер > HP LaserJet 1100 > > printcap > # This file was generated by /usr/sbin/magicfilterconfig. > # > lp|hplj1100|HP LaserJet 1100:\ > :lp=/dev/lp0:sd=/var/spool/lpd/hplj1100:\ > :sh:pw#80:pl#72:px#1440:mx#0:\ > :if=/etc/magicfilter/laserjet-filter:\ > :af=/var/log/lp-acct:lf=/var/log/lp-errs: > > > Печать с самого сервера работает (кроме русских букв), а печать по > сети выдает два листа следующего содержания: > на 1 листе > Error: /undefined in > на 2 листе > Operand stack: > Execution stack: > %interp_exit .runexec2 --nostringval-- > > В общем, не получается настроить печать через Самбу. В самбе > > [printers] > comment = All Printers > path = /tmp > create mask = 0700 > printable = Yes > browseable = No > > [hplj1100] > comment = HP LaserJet 1100 > path = /tmp > read only = No > create mask = 0700 > printable = Yes > postscript = Yes > lprm command = lpm -P'%p' %j > printer name = hplj1100 > > Google не помог. Что не так?
Может, попробовать фильтр закомментровать? :if=/etc/magicfilter/laserjet-filter:\ У нас вот такой вариант работает: [printers] comment = All Printers security = no path = /var/spool/lpd/lp available = yes browseable = yes browse list = yes printable = yes public = yes writable = no create mode = 0700 [hp] comment = HP LaserJet 1200 path = /var/spool/samba force user = nobody printer admin = nobody printing = lprng print command = /usr/bin/lpr -P%p -r %s lpq command = /usr/bin/lpq -P%p lprm command = /usr/bin/lprm -P%p %j lppause command = /usr/sbin/lpc hold %p %j lpresume command = /usr//sbin/lpc release %p %j queuepause command = /usr/sbin/lpc -P%p stop queueresume command = /usr/sbin/lpc -P%p start guest ok = yes guest only = yes available = yes browseable = yes printable = yes create mask = 0700 writable = no printer = hp -- Elena Egorova, SatGate LLC, +7 0112 573073 +7 0112 573070