home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13163 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!wupost!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!mprgate.mpr.ca!hass
  3. From: hass@mprgate.mpr.ca (Calvin Hass (CS Shad Valley Student))
  4. Subject: RE:  Mac programming problem...
  5. Message-ID: <1992Jul29.162801.21739@mprgate.mpr.ca>
  6. Sender: news@mprgate.mpr.ca
  7. Organization: MPR Teltech Ltd., Burnaby, B.C., Canada
  8. Date: Wed, 29 Jul 92 16:28:01 GMT
  9. Lines: 20
  10.  
  11. Jon W{tte writes:
  12.  
  13.    My other problem involves printing.  I wold like to bypass messing with the print manager and instead get a "direct connectin".  I want to send it some ESC 
  14.    codes (15cpi, 8lines per inch, ect..).  Then just dump my charecter to it
  15.    instead of the screen.
  16.  
  17.  You can't. Really. Instead, ask for 72 dpi resolution, and calculate
  18.  your MoveTos and DrawTexts to place stuff where you want it.
  19.  
  20. Actually, I think one can do something like the following:
  21.  
  22. Open(f,".printer");
  23.  
  24. It has been quite some time since I've used it, but I seem to recall that it
  25. will open a text channel to the printer.  From there, one only needs to use
  26. Writeln(f,"Hello there"); commands.
  27.  
  28. Then again, I'm not absolutely sure of this.
  29.  
  30. Calvin.
  31.