home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / protocol / nfs / 2989 < prev    next >
Encoding:
Text File  |  1992-12-20  |  1.8 KB  |  47 lines

  1. Newsgroups: comp.protocols.nfs
  2. Path: sparky!uunet!munnari.oz.au!newsroom.utas.edu.au!bowen.cc.utas.edu.au!johnm
  3. From: johnm@bowen.cc.utas.edu.au (John Miezitis)
  4. Subject: SUN PC-NFS Printing problem.
  5. Message-ID: <johnm.724656640@bowen>
  6. Sender: news@newsroom.utas.edu.au
  7. Organization: University of Tasmania, Australia.
  8. Date: Fri, 18 Dec 1992 05:30:40 GMT
  9. Lines: 36
  10.  
  11. One of my PC-NFS users here is having a problem printing directly to a
  12. redirected printer port. The situation is that we have a Postscript
  13. printer ( Apple Laserwriter ) which is spooled to from one of our Sun Unix
  14. boxes. The user has redirected lpt2: to this printer and is trying to send
  15. directly to this printer from within an application he has written.
  16.  
  17. If he prints to a file instead of to lpt2: we get a file of 3542 bytes. If
  18. he prints to lpt2: and I intercept the file before it gets printed we only
  19. see 1920 bytes (approx). A diff on the file reveals that the file is not
  20. truncated but that there are groups of lines missing through out the file.
  21.  
  22. If he net prints the file everything works.
  23.  
  24. I tried the following:-
  25.  
  26. copy xxx.ps u:
  27.     file appears intact
  28.  
  29. copy xxx.ps lpt2:
  30.     Lost data, file size approx 3100 bytes.
  31.  
  32. Printing directly to lpt2: from within application
  33.     Lost data, file size now only approx 1100 bytes
  34.  
  35. Has anybody seen this before? What should I be looking for?
  36.  
  37. It seems like the print redirector is dropping data because net print works
  38. and I would expect net print to use the same code as prt.
  39.  
  40. Any comments welcome. Thanks.
  41.  
  42. --
  43. _______________________________________________________________________________
  44. John B Miezitis, University of Tasmania, Computing Centre. Ph +61 02 202811
  45. email: John.Miezitis@cc.utas.edu.au | Belgium man Belgium!!! - Z. Beeblebrox
  46. _______________________________________________________________________________
  47.