Hello!
I have a computer with OS/2 3.0 Warp + TCP/IP package and SUN
SPARCstation (Solaris 2.4) as a print server. I wrote cool filter for
converting many kinds of data (text, binary and PS) to
printer-specific format (Canon BJC 4550). Binary mode is designed for
compatibility with MS Word for Windows. So I could print any doc from
PC as on local printer. All worked O.K., I was upgrading filter
step-by-step and stored all stages under version control system.
Recently I met the problem: data that had been sended from PC were not
printed. I solved that this is a bug in my filter and changed it to
old stable version. But nothing worked! Then I set "echo mark
filter was not called at all! In /var/lp/logs/requests I found nextQuote:>/dev/console" at the beginning of filter script and found out that
typical record about failed jobs:
= bjc4550-992, uid 60003, gid 60003, size 66834, Tue Nov 25 14:29:11 EET 1997
z bjc4550
C 1
D bjc4550
F /var/spool/lp/tmp/mariner/992-1
O nofilebreak flist=' (null):66834 '
P 20
T (null)\n#####\n#####\t\t 128.1.30.22
Y catv_filter
t simple
U mariner!garry
s 0x0100
v 0
It differs slightly from usual local-job record:
= bjc4550-221, uid 206, gid 1, size 400033, Mon Nov 24 17:55:49 EET 1997
z bjc4550
C 1
D bjc4550
F /home/vlad/538-1
P 20
T /home/vlad/538-1
t simple
U vlad
s 0x0010
v 2
I found no error messages in console or by mail, so I don't know what
is the problem. Additional info:
1) TCP/IP connection is OK.
2) Job itself spooled well to local /var/spool/lp/tmp/mariner/ and
until start of printing through filter it's displayed by lpstat as
queued one.
3) When "foreign" job is starting to print, it disappears without any
trace.
4) All local jobs are printed well.
Any suggestions???
Many thanks for any reply or answer to newsgroup.
--
-------------------------------------------------------------------------
Vladimir L. Eliseev
Moscow State Technical University E-Mail: vlad nagroup.msk.ru
Central Geophysical Expedition Phone: (095)192-8135 office