Patrick,

Thanks to your "shutdown_appsocket" flag in ifhp-3.4.1 I can get both of
my Phaser 850s(dp & dx) to work! Prior to this, whenever I printed a test
page from a Win98 PC I got the expected text & graphics followed by 
postscript errors. The PCs use the latest & greatest 850(dp/dx) drivers
from Xerox.  Yet, both text & graphics printed from Unix work
fine.

I ran a bunch of different tests using on both my 850dp and dx printers.
The important thing to recognize is the the 850 printers return data to
the spooler. If the data gets read, then everything works. Otherwise, 
the printers dumps a postscript error. This is something I've not
encountered on my Phaser 350/360/550s. The data the printer is sending
by is postscript such as "%%Trailer.." and "%%Page.." commands. 

I thought I had found the combination that worked by having ifhp read
"status". Normally, I turn it off (status@). This worked great on my
850dp, but failed on my 850dx!!! (Different Phaser share firmware
maybe?)

Your "shutdown_appsocket" flag works for both 850dp/850dx. It forces
the connection to stay open until the printer dumps its data and FINs.
For now, I will probably use the ifhp-3.3.19 release until 3.4.1 is
ready for prime time. I think I can specify the 3.4.1 ifhp (and config)
for only the 850s.

The traces follow. Thanks again Patrick for the great support.

Test #1 PC->850dp using Appsocket. Works. One page output. 
        (Note: Two(2) data packets sent from printer.

# cat sniff_appsocket_win95_850dp_good
SUMMARY  Delta T     Destination   Source        Summary
   154    0.00073  pr25955         8tgxq            TCP D=9100 S=1393 FIN 
ACK=323500034 SEQ=5635740 LEN=833 WIN=8726
   155    0.00006  8tgxq           pr25955          TCP D=1393 S=9100     ACK=5636574 
WIN=626
   156    0.33105  8tgxq           pr25955          TCP D=1393 S=9100     ACK=5636574 
SEQ=323500034 LEN=16 WIN=626
   157    0.00252  8tgxq           pr25955          TCP D=1393 S=9100     ACK=5636574 
SEQ=323500050 LEN=17 WIN=626
   158    0.00012  pr25955         8tgxq            TCP D=9100 S=1393     
ACK=323500067 WIN=8693
   159    0.00067  8tgxq           pr25955          TCP D=1393 S=9100     ACK=5636574 
WIN=626
   160    0.06223  8tgxq           pr25955          TCP D=1393 S=9100 FIN ACK=5636574 
SEQ=323500067 LEN=0 WIN=626
   161    0.00014  pr25955         8tgxq            TCP D=9100 S=1393     
ACK=323500068 WIN=8693

-----
Test #2 ifhp-3.3.19->850dp using Appsocket and status@. Fails with 3 pages output.
        First page has expected text, 2nd blank, third page has 
        postscript error (iostack).

/etc/printcap:

pr25955
        :cm=Tek Phaser 850DP/APPsocket Prasad/Hendershot Office 2115 SRL
        :lp=/dev/null
        :sd=/usr/spool/lpd/pr25955
        :ifhp=model=phaser850,dev=pr25955.srl.ford.com%9100,pagecount@,status@
        :filter=/usr/local/libexec/filters/ifhp

# snoop -i ifhp-3.3.19_850dp_bad | tail -5
253   0.00009      aspire0 -> pr25955.srl.ford.com TCP D=9100 S=55979     Ack=29300034 
Seq=1935719720 Len=1460 Win=8760
254   0.00002      aspire0 -> pr25955.srl.ford.com TCP D=9100 S=55979 Fin Ack=29300034 
Seq=1935721180 Len=377 Win=8760
255   0.00180 pr25955.srl.ford.com -> aspire0      TCP D=55979 S=9100     
Ack=1935721558 Seq=29300034 Len=0 Win=2151
256   0.25184 pr25955.srl.ford.com -> aspire0      TCP D=55979 S=9100     
Ack=1935721558 Seq=29300034 Len=16 Win=2151
257   0.00004      aspire0 -> pr25955.srl.ford.com TCP D=9100 S=55979 Rst 
Seq=1935721558 Len=0 Win=8760

-----
Test #3 ifhp-3.3.19->850dp using Appsocket. Works with 1 page output.

/etc/printcap:

pr25955
        :cm=Tek Phaser 850DP/APPsocket Prasad/Hendershot Office 2115 SRL
        :lp=/dev/null
        :sd=/usr/spool/lpd/pr25955
        :ifhp=model=phaser850,dev=pr25955.srl.ford.com%9100,pagecount@
        :filter=/usr/local/libexec/filters/ifhp

# snoop -i ifhp-3.3.19_850dp_good | tail -9
291   0.00009      aspire0 -> pr25955.srl.ford.com TCP D=9100 S=38687     
Ack=387700034 Seq=1815848193 Len=1460 Win=8760
292   0.00002      aspire0 -> pr25955.srl.ford.com TCP D=9100 S=38687 Fin 
Ack=387700034 Seq=1815849653 Len=377 Win=8760
293   0.00178 pr25955.srl.ford.com -> aspire0      TCP D=38687 S=9100     
Ack=1815850031 Seq=387700034 Len=0 Win=2118
294   0.26188 pr25955.srl.ford.com -> aspire0      TCP D=38687 S=9100     
Ack=1815850031 Seq=387700034 Len=16 Win=2118
295   0.00259 pr25955.srl.ford.com -> aspire0      TCP D=38687 S=9100     
Ack=1815850031 Seq=387700050 Len=17 Win=2118
296   0.00004      aspire0 -> pr25955.srl.ford.com TCP D=9100 S=38687     
Ack=387700067 Seq=1815850031 Len=0 Win=8760
297   0.00077 pr25955.srl.ford.com -> aspire0      TCP D=38687 S=9100     
Ack=1815850031 Seq=387700067 Len=0 Win=2118
298   0.02827 pr25955.srl.ford.com -> aspire0      TCP D=38687 S=9100 Fin 
Ack=1815850031 Seq=387700067 Len=0 Win=2118
299   0.00005      aspire0 -> pr25955.srl.ford.com TCP D=9100 S=38687     
Ack=387700068 Seq=1815850031 Len=0 Win=8760

-----
Test #4 ifhp-3.3.19->850dx using Appsocket. Fails with 3 pages output.
        First page has expected text, 2nd blank, third page has 
        postscript text.

pr21488|mplx60a
        :cm=Tek Phaser 850DX/APPsocket 2621 SRL
        :lp=/dev/null
        :sd=/usr/spool/lpd/pr21488
        :ifhp=model=phaser850,dev=pr21488.srl.ford.com%9100,pagecount@
        :filter=/usr/local/libexec/filters/ifhp

# snoop -i ifhp-3.3.19_850dx_bad | tail -8
176   0.00002      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=41560     Ack=19400000 
Seq=3037036589 Len=1460 Win=8760
177   0.00272 pr21488.srl.ford.com -> aspire0      TCP D=41560 S=9100     
Ack=3037038049 Seq=19400000 Len=0 Win=4056
178   0.00005      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=41560     Ack=19400000 
Seq=3037038049 Len=1307 Win=8760
179   0.19379 pr21488.srl.ford.com -> aspire0      TCP D=41560 S=9100     
Ack=3037039356 Seq=19400000 Len=0 Win=2749
180   0.00007      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=41560 Fin Ack=19400000 
Seq=3037039356 Len=1 Win=8760
181   0.00078 pr21488.srl.ford.com -> aspire0      TCP D=41560 S=9100     
Ack=3037039358 Seq=19400000 Len=0 Win=2747
182   1.43521 pr21488.srl.ford.com -> aspire0      TCP D=41560 S=9100     
Ack=3037039358 Seq=19400000 Len=34 Win=2747
183   0.00004      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=41560 Rst 
Seq=3037039358 Len=0 Win=8760

-----
Test #5 ifhp-3.4.1->850dx using Appsocket and shutdown_appsocket. Works with 1 page 
output.

pr21488|mplx60a
        :cm=Tek Phaser 850DX/APPsocket 2621 SRL
        :lp=/dev/null
        :sd=/usr/spool/lpd/pr21488
        
:ifhp=model=phaser850,dev=pr21488.srl.ford.com%9100,pagecount@,shutdown_appsocket
        :filter=/usr/local/libexec/filters/ifhp

# snoop -i ifhp-3.4.1_850dx_good | tail -15
273   0.00007      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=54078     Ack=2300000 
Seq=3621242763 Len=1460 Win=8760
274   0.00001      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=54078     Ack=2300000 
Seq=3621244223 Len=436 Win=8760
275   0.00211 pr21488.srl.ford.com -> aspire0      TCP D=54078 S=9100     
Ack=3621244659 Seq=2300000 Len=0 Win=3460
276   0.00004      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=54078     Ack=2300000 
Seq=3621244659 Len=1 Win=8760
277   0.00220      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=54078 Fin Ack=2300000 
Seq=3621244660 Len=0 Win=8760
278   0.00090 pr21488.srl.ford.com -> aspire0      TCP D=54078 S=9100     
Ack=3621244661 Seq=2300000 Len=0 Win=3458
279   1.13596 pr21488.srl.ford.com -> aspire0      TCP D=54078 S=9100     
Ack=3621244661 Seq=2300000 Len=34 Win=3458
280   0.00004      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=54078     Ack=2300034 
Seq=3621244661 Len=0 Win=8760
281   0.00078 pr21488.srl.ford.com -> aspire0      TCP D=54078 S=9100     
Ack=3621244661 Seq=2300034 Len=0 Win=3458
282   1.77471 pr21488.srl.ford.com -> aspire0      TCP D=54078 S=9100     
Ack=3621244661 Seq=2300034 Len=16 Win=3458
283   0.00268 pr21488.srl.ford.com -> aspire0      TCP D=54078 S=9100     
Ack=3621244661 Seq=2300050 Len=17 Win=3458
284   0.00003      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=54078     Ack=2300067 
Seq=3621244661 Len=0 Win=8760
285   0.00078 pr21488.srl.ford.com -> aspire0      TCP D=54078 S=9100     
Ack=3621244661 Seq=2300067 Len=0 Win=3458
286   0.02113 pr21488.srl.ford.com -> aspire0      TCP D=54078 S=9100 Fin Ack=362124466
287   0.00003      aspire0 -> pr21488.srl.ford.com TCP D=9100 S=54078     Ack=2300068 
Seq=3621244661 Len=0 Win=8760


-- 
Jerry Damian             | Ford Email: [EMAIL PROTECTED]  
Ford Motor Co./RCS Dept. | Internet Email: [EMAIL PROTECTED]
SRL MD 1074 RM 1116      | ph: (313)32-38347 fax: (313)39-04865      
Dearborn, MI 48121-2053  | my opinions != Ford's opinions or policy

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to