home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11519 < prev    next >
Encoding:
Text File  |  1992-11-12  |  2.5 KB  |  59 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!ddssuprs!tom
  3. From: tom@dickens.com (Tom Gillman)
  4. Subject: Re: Hooking HP Laserjet 3D printer to RS6000/560
  5. Message-ID: <1992Nov12.140340.19013@dickens.com>
  6. Date: Thu, 12 Nov 1992 14:03:40 GMT
  7. References: <1dsg27INN3vk@mizar.usc.edu>
  8. Organization: Dickens Data Systems, Inc.
  9. Keywords: printer duplex aix3.2
  10. Lines: 47
  11.  
  12. In article <1dsg27INN3vk@mizar.usc.edu> blarson@mizar.usc.edu (Bob Larson) writes:
  13. >I have an HP Laserjet 3d duplex printer hooked to an IBM RS6000/560
  14. >running aix 3.2.  (No postscript on the printer.) When installing the
  15. >printer, I told the rs6000 it was a laserjet 3, being the closest
  16. >printer option in the menu.  It works fine with one major exception:
  17. >every time I try to print duplex (with the -Y2 option to qprt) all I
  18. >get is an error message on the console or in mail that -Y flag is
  19. >invalid, and nothing is printed.  (See exact error message below.)
  20. >There doesn't seem to be any option in the printer configuration to
  21. >specify that the printer is duplex, and the laserjet 3 definition
  22. >includes the escape sequences needed for selecting duplex operation.
  23. >IBM sotware tells me to contact the local rep, and he doesn't have a
  24. >clue about printers.  (After I get this one fixed, I assume that I can
  25. >use the same solution on a laserjet 3si on another rs6000.)
  26. >Any clues, or is the -Y option documented and doesn't work?
  27. >
  28. >the-count% ls -al|qprt -Ppcl -Y2 -
  29. >Message from blarson on the-count (UNKNOWN) [Wed Nov 11 18:29:27 PST
  30. >1992] ...
  31. >Message from queueing system:
  32. >=====> MESSAGE FROM PRINT JOB 338 (STDIN.14186) <=====
  33. >0782-006 -Y flag not expected.
  34. >        Check the flags.
  35. ><EOT>
  36.  
  37.  
  38. This problem is caused by goofiness in the printer colon file used to create 
  39. the virtual printer. The relevant entries are "ia" and "ic". These are the 
  40. entries that handle passing the flags to "pioformat", which is the program that
  41. actually preformats the data before it's sent to the printer.
  42.  
  43.  
  44. :274:ia::%Ide/pioformat -@%Idd/%Imm -!%Idf/piofpcl -l%IwL -w%IwW %f[bgijpstuvxzIJLOQXZ]
  45. :275:ic::%Ide/pioformat -@%Idd/%Imm -!%Idf/piofpcl -l%IwL -w%IwW -X '' %f[bgijpstuvxzIJLOQXZ]
  46.  
  47. If you change these two lines where the "%f" is to include a "Y" in the string,
  48. it should work OK.
  49.  
  50. BTW, the command to use is "smit chvirprt"
  51.  
  52.  
  53.  
  54. -- 
  55. Tom Gillman                                  | Internet:  tom@dickens.com
  56. Systems Integration - Dickens Data Systems   | uucp:   ...uunet!ddssuprs!tom
  57. My opinions are MINE!!, MINE I tell you!!! Not Dickens Data Systems, no matter
  58. what anybody else says. "AAAGGGHHH---!!" - Any Star Trek Security officer ever.
  59.