Solaris 2.4 lpsched does not call filter for jobs from OS/2 client

Solaris 2.4 lpsched does not call filter for jobs from OS/2 client

Post by Eliseev Vladimi » Thu, 27 Nov 1997 04:00:00


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

Quote:>/dev/console" at the beginning of filter script and found out that

filter was not called at all!  In /var/lp/logs/requests I found next
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
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

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
Central Geophysical Expedition                Phone: (095)192-8135 office


1. 2.4 lpsched's keep re-creating and re-printing a job

On a solaris 2.4 system with a sparcprinter, using the compat. mode
lpr command to print a canonical 80-line ascii test-file (that is,
.login :-) ) results in an infinite series of lpsched's printing
this file over and over.  Actually, only the first 36 lines are
printed, before the next sheet starts.

Is this a canonical worlds-in-collision, a.k.a, solaris, bug, or do I
need to bring in a canonical religious on this one :-) ?

Thanks for the help.

George Planansky
Dept. of Biological Chemistry & Molecular Pharmacology
Harvard University Medical School
240 Longwood Ave.
Boston, MA 02115

(617) 432-3919

2. redirection in system() for k shell

3. Installing Solaris 2.4 x86 on a disk with DOS and OS/2

4. crash @ halt

5. Help: select() system call does not work in Solaris 2.4

6. Acer 370PC or Fujitsu 735DX Laptop?

7. OS/2 and DOS -> OS/2, Linux and DOS

8. exec-with-timeout

9. adding ghostscript filter to solaris 2.4 on sparc

10. How to run print jobs through filters on the CLIENT machine...?

11. print filter for Solaris 2.4

12. need help to install a printing filter in solaris 2.4

13. Solaris 2.4 blank page at end of lpr job?