home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / sysv386 / 12308 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.3 KB  |  58 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!munnari.oz.au!uniwa!DIALix!zeus!peter
  3. From: peter@zeus.dialix.oz.au (Peter Wemm)
  4. Subject: Re: Dell SVR4 and Postscript (another) FIX
  5. Message-ID: <1992Jul23.025050.23489@zeus.dialix.oz.au>
  6. Organization: Karam Pty. Ltd., Perth, Australia.
  7. References: <f8cmmkp@dixie.com> <1992Jul21.193456.21792@crd.ge.com>
  8. Date: Thu, 23 Jul 1992 02:50:50 GMT
  9. Lines: 47
  10.  
  11. davidsen@ariel.crd.GE.COM (william E Davidsen) writes:
  12. >In article <f8cmmkp@dixie.com>, stan@dixie.com (Stan Brown) writes:
  13.  
  14. >|> When I installed the PostScript+ upgrade my printing stopped working
  15. >|> instantly.  The problem was that postio expects to be able to send
  16. >|> a ^T and get: %%[ status: whatever ]%% and Level II now returns:
  17. >|> %%[ Source: serial; status: whatever ]%% so postio keeps sending
  18. >|> ^T's hoping to get something it recognizes. :-(
  19.  
  20. >  Did you try the option to not send ^T? I know that sounds so obvious
  21. >that anyone would have tried it, but if Dell says they don't have a
  22. >solution maybe it doesn't work. I think it's -a, but that's from memory,
  23. >and I suggest you read the manual description one last time before using
  24. >it.
  25.  
  26. I dont want to seem picky, but it's -q (there is no -a), which works for me..
  27.  
  28. However, Ultimately I ended up changing the scanf strings in the binary from
  29. "%%%%[ status: busy; block: %d ]%%%%<LF><NUL>"
  30. to
  31. "status: busy; block: %d ]%%%%<LF><NUL>"
  32. and
  33. "%%[ status: endofjob ]%%<LF><NUL>"
  34. to
  35. "status: endofjob ]%%<LF><NUL>"
  36.  
  37. Of course you are going to need a binary file editor or something..
  38.  
  39. It works for me..  You're mileage may vary..
  40.  
  41. The "correct" thing to do would be for somebody to fix the postio source
  42. so it parses the %%[ keyword1: value1; keyword2: value2 .... ]%% lines
  43. correctly - IE: any keywords in any order - ignoring inrecognized ones.
  44.  
  45. It should be able to handle a line looking like:
  46. %%[ block: 10; status: busy; Source: serial; pagecount: 7436 ]%%
  47.  
  48. How's about it Dell?
  49. It should be simple enough.. :-)
  50.  
  51. PS: Is Larry on holiday or something?  His absence from the debate has been
  52. a bit of a suprise.... :-)
  53. -- 
  54. Peter Wemm : peter@zeus.dialix.oz.au     If it's broke, fix it (The MS-DOS way)
  55. Work phone: +61-9-479-1855      If it aint broke, don't touch it (The Unix way)
  56. Fax: +61-9-479-1134     If we can't fix it, it ain't broke (Maintainer's Motto)
  57.   "Don't give me that intelligent life cr*p, find me something to blow up!"
  58.