home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / WIN_UTL2 / PPRTR4.ZIP / PPRTR.FRM (.txt) < prev    next >
Visual Basic Form  |  1993-10-27  |  17KB  |  449 lines

  1. Form2
  2. PPrtr Demo
  3. Form25,
  4.      Command13
  5.     Landscape
  6. Command7
  7. Get Port
  8. List2
  9.     Command12
  10. Get Caps
  11. List1
  12.     Command11
  13. getlist
  14.     Command10
  15. get it
  16. Command9
  17. Letter
  18. Command8
  19. Draft
  20. Command6
  21. LaserJet
  22. Command5
  23. Epson
  24. Command3
  25. Legal
  26. Command1
  27. get it
  28. Command4
  29. get it
  30. Command2
  31. Portrait
  32. Label9
  33. Shape8
  34. Label8
  35. Label8
  36. Label7
  37. Default Printer:
  38. Shape7
  39. Label6
  40. #Default printer device capabilities
  41. Label5
  42. Active Printers
  43. Label4
  44. Default Printer
  45. Shape6
  46. Shape5
  47. Shape4
  48. Label3
  49. Quality
  50. Label2
  51.     PaperSize
  52. Label1
  53. Orientation
  54. Shape1
  55. Shape2
  56. Shape3
  57.     Form_Load
  58. PortLand
  59. functionPortLand
  60. Orient
  61. handle
  62. Command3_Click.
  63. form2=
  64. Command2_Click
  65. Command1_Click_
  66. Command4_ClickT
  67. unsignedq
  68. PPOrient
  69. PPrtr.
  70. ppActionK
  71. ppSelection}
  72. PPNewValue
  73. gimmeJ
  74. changit
  75. DM_ORIENTATION
  76. PP_GETIT
  77. PP_GEMME
  78. PP_GIMME
  79. PP_UNNEEDEDH
  80. PP_CHANGIT
  81. PP_CHANGE_IT
  82. DM_PAGESIZEl
  83. PP_PAPER_LEGAL
  84. DM_PAPER_LEGAL
  85. PP_CHANGEIT
  86. DMPAPER_LEGAL2
  87. DMPORTRAITW
  88. DM_ORIENT_PORTRAIT|
  89. Orientation+
  90. DMORIENT_PORTRAIT
  91. DM_PAPERSIZEm
  92. DefPrtr
  93. newone
  94. oldone
  95. Command5_Click
  96. spaceholder
  97. oldprinter
  98. Command6_Click
  99. Command7_Click
  100. HPGLP
  101. Plotter:
  102. Command8_Click
  103. DM_PRINTQUALITY
  104. DMRES_DRAFTM
  105. Command10_Click
  106. Command9_Click|
  107. DMRES_HIGH
  108. PPrtrs
  109. plist
  110. Command11_Click
  111. Prtrs
  112. File1_Click@
  113. list1
  114. nDevCap
  115. Command12_Click
  116. PrtrCapV
  117. DEVCAP
  118. list2
  119. DRIVERVERSIONm
  120. technology
  121. HORZSIZE
  122. VERTSIZE
  123. HORZRES
  124. VERTRES1
  125.     BITSPIXELt
  126. PLANES{
  127. NUMBRUSHES
  128. NUMPENS
  129. NUMMARKERS
  130. NUMFONTS
  131.     NUMCOLORS
  132. PDEVICESIZE_
  133.     curvecapsB
  134. LINECAPS7
  135. POLYGONALCAPS
  136. TEXTCAPS"
  137. CLIPCAPS
  138. RASTERCAPS
  139. ASPECTX"
  140. ASPECTY
  141. ASPECTXY
  142. LOGPIXELSX
  143. LOGPIXELSYY
  144. SIZEPALETTEh
  145. NUMRESERVED
  146. COLORRES
  147. TECHNOLOGY0
  148. DT_PLOTTER
  149. DT_RASDISPLAY
  150. DT_RASPRINTER
  151. DT_RASCAMERA
  152. DT_CHARSTREAM
  153. DT_METAFILE    
  154. DT_DISPFILE}
  155. tech-
  156. defaultr
  157. GetPrtrj
  158. defprinter
  159. label8"    
  160. Caption
  161. getdefault=
  162. List2_Clickx
  163. CC_NONE
  164. CC_CIRCLES
  165. CC_PIE
  166. CC_CHORD
  167. CC_ELLIPSES
  168. CC_WIDE
  169.     CC_STYLED
  170. CC_WIDESTYLED
  171. CC_INTERIORS
  172. CC_ROUNDRECT
  173. curve
  174. TC_OP_CHARACTER!
  175. TC_OP_STROKE\
  176. TC_CP_STROKEJ
  177. TC_CR_90
  178.     TC_CR_ANY
  179. TC_SF_X_YINDEP
  180. TC_SA_DOUBLE
  181. TC_SA_INTEGER
  182. TC_SA_CONTIN
  183. TC_EA_DOUBLE
  184. TC_IA_ABLE
  185. TC_UA_ABLE
  186. TC_SO_ABLE
  187. TC_RA_ABLE3    
  188. TC_VA_ABLE
  189. TC_RESERVEDd
  190. rasterR
  191. RC_NONE0
  192.     RC_BITBLT"
  193. RC_BANDING
  194. RC_SCALING?
  195. RC_BITMAP64
  196. RC_GDI20_OUTPUT
  197. RC_GDI20_STATEu
  198. RC_SAVEBITMAPZ
  199. RC_DI_BITMAP
  200. RC_PALETTE
  201. RC_DIBTODEV
  202. RC_BIGFONT
  203. RC_STRETCHBLTI    
  204. RC_FLOODFILL
  205. RC_STRETCHDIB
  206. RC_OP_DX_OUTPUT
  207. RC_DEVBITS>    
  208.     POLYGONAL
  209.     POLIGONAL
  210. POLIGONALCAPS
  211. TC_NONEW    
  212. PC_NONEg    
  213. PC_POLYGONy    
  214. PC_RECTANGLE
  215. PC_WINDPOLYGON
  216. PC_SCANLINE2
  217. PC_WIDE
  218.     PC_STYLED
  219. PC_WIDESTYLED
  220. PC_INTERIORS
  221. LC_NONE
  222. LC_POLYLINE
  223.     LC_MARKERB
  224. LC_POLYMARKER
  225. LC_WIDE
  226.     LC_STYLED
  227. LC_WIDESTYLED
  228. LC_INTERIORSO
  229. CP_RECTANGLE
  230.     CP_REGIONg
  231. CP_NONE
  232.     LC_REGION}
  233. GetPort
  234. ptrport
  235. prtport
  236. Label9_Click
  237. label9
  238. Command13_Click
  239. DMORIENT_LANDSCAPE
  240. List1_Click
  241.     PPRTR.DLL
  242.     PPRTR.DLL
  243.     PPRTR.DLL
  244.     PPRTR.DLL
  245.     PPRTR.DLL
  246.     PPRTR.DLL
  247. CLIPCAPS
  248. CLIPCAPS:  None 
  249. CLIPCAPS
  250.   Output clipped to rectangles:  Yes
  251.   Output clipped to rectangles:  No
  252.   Output clipped to regions:  Yes
  253.   Output clipped to regions:  No
  254. Command1_Click
  255.     MsgBox "Pagesize is: " + Str$(PPrtr(hWnd, DM_PAPERSIZE, PP_UNNEEDED, PP_GIMME)), 0, "PaperSize"
  256. Command10_Click
  257. Quality is: 
  258. PrintQuality
  259. Command11_Click
  260.  MsgBox Str$(i), 0, "size of returned string"
  261.    MsgBox plist$, 0, "returned string"
  262.  no equiv of max() ??
  263. Command12_Click
  264.  check for 996 (no driver)
  265. msgbox str$(i)
  266. DRIVERVERSION: 
  267. TECHNOLOGY: 
  268.  bits"
  269. HORZSIZE: 
  270. VERTSIZE: 
  271. HORZRES: 
  272. VERTRES: 
  273. BITSPIXEL: 
  274. PLANES: 
  275. NUMBRUSHES: 
  276. NUMPENS: 
  277. NUMMARKERS: 
  278. NUMFONTS: 
  279. NUMCOLORS: 
  280. PDEVICESIZE: 
  281. ASPECTX: 
  282. ASPECTY: 
  283. ASPECTXY: 
  284. LOGPIXELSX: 
  285. LOGPIXELSY: 
  286. SIZEPALETTE: 
  287. NUMRESERVED: 
  288. COLORRES: 
  289. Command13_Click
  290. Orientation was: 
  291. Orientation
  292. Command2_Click
  293. Orientation was: 
  294. Orientation
  295. Command3_Click
  296.     MsgBox "Papersize was: " + Str$(PPrtr(hWnd, DM_PAPERSIZE, DMPAPER_LEGAL, PP_CHANGE_IT)), 0, "PaperSize"
  297. Command4_Click
  298. Orientation is: 
  299. Orientation
  300. Command5_Click
  301.     i = DefPrtr("Epson LX-800 on LPT1:", oldprinter$)
  302. return code = 
  303. old printer = 
  304. Command6_Click
  305.     i = DefPrtr("HP LaserJet Series II on LPT1:", oldprinter$)
  306. return code = 
  307. old printer = 
  308. Command7_Click
  309. Command8_Click
  310. Quality was: 
  311. PrintQuality
  312. Command9_Click
  313. Quality was: 
  314. PrintQuality
  315. curve
  316. CURVECAPS:  None 
  317. CURVECAPS
  318.   Circles:  Yes
  319.   Circles:  No
  320.   Pie:  Yes
  321.   Pie:  No
  322.   Chord:  Yes
  323.   Chord:  No
  324.   Ellipses:  Yes
  325.   Ellipses:  No
  326.   Wide:  Yes
  327.   Wide:  No
  328.   Styled:  Yes
  329.   Styled:  No
  330.   Widestyled:  Yes
  331.   Widestyled:  No
  332.   Interiors:  Yes
  333.   Interiors:  No
  334.   RoundRect:  Yes
  335.   RoundRect:  No
  336. Form_Load
  337. getdefault
  338. LINECAPS
  339. LINECAPS:  None 
  340. LINECAPS
  341.   Polylines:  Yes
  342.   Polylines:  No
  343.   Markers:  Yes
  344.   Markers:  No
  345.   PolyMarkers:  Yes
  346.   PolyMarkers:  No
  347.   Wide lines:  Yes
  348.   Wide lines:  No
  349.   Styled lines:  Yes
  350.   Styled lines:  No
  351.   Wide and styled lines:  Yes
  352.   Wide and styled lines:  No
  353.   Interiors:  Yes
  354.   Interiors:  No
  355. POLYGONAL
  356. POLYGONALCAPS:  None 
  357. POLYGONALCAPS
  358.   Alternate fill polygons:  Yes
  359.   Alternate fill polygons:  No
  360.   Rectangle:  Yes
  361.   Rectangle:  No
  362.   Winding number fill polygon:  Yes
  363.   Winding number fill polygon:  No
  364.   Scanlines:  Yes
  365.   Scanlines:  No
  366.   Wide borders:  Yes
  367.   Wide borders:  No
  368.   Styled borders:  Yes
  369.   Styled borders:  No
  370.   Wide and styled borders:  Yes
  371.   Wide and styled borders:  No
  372.   Interiors:  Yes
  373.   Interiors:  No
  374. raster
  375. RASTERCAPS:  None 
  376. RASTERCAPS
  377.   Capable of simple BitBlt:  Yes
  378.   Capable of simple BitBlt:  No
  379.   Requires banding support:  Yes
  380.   Requires banding support:  No
  381.   Requires scaling support:  Yes
  382.   Requires scaling support:  No
  383.   Supports bitmaps >64K:  Yes
  384.   Supports bitmaps >64K:  No
  385.   Has 2.0 output calls:  Yes
  386.   Has Win 2.0 output calls:  No
  387.   Includes state block in DC:  Yes
  388.   Includes state block in DC:  No
  389.   Saves bitmaps locally:  Yes
  390.   Saves bitmaps locally:  No
  391.   Supports DIB to memory:  Yes
  392.   Supports DIB to memory:  No
  393.   Supports a palette:  Yes
  394.   Supports a palette:  No
  395.   Supports bitmap conversion:  Yes
  396.   Supports bitmap conversion:  No
  397.   Supports fonts >64K:  Yes
  398.   Supports fonts >64K:  No
  399.   Supports StretchBlt:  Yes
  400.   Supports StretchBlt:  No
  401.   Supports FloodFill:  Yes
  402.   Supports FloodFill:  No
  403.   Supports StretchDIBits:  Yes
  404.   Supports StretchDIBits:  No
  405.   Supports opaque and DX array:  Yes
  406.   Supports opaque and DX array:  No
  407.   Supports device bitmaps:  Yes
  408.   Supports device bitmaps:  No
  409. Vector Plotter
  410. Raster Display
  411. Raster printer
  412. Raster Camera
  413. Character-stream PLP
  414. Metafile, VDM
  415. Display-file
  416. Unknown
  417. TEXTCAPS:  None 
  418. TEXTCAPS
  419.   Character output precision:  Yes
  420.   Character output precision:  No
  421.   Stroke output precision:  Yes
  422.   Stroke output precision:  No
  423.   Stroke clip precision:  Yes
  424.   Stroke clip precision:  No
  425.   90 degree character rotation:  Yes
  426.   90 degree character rotation:  No
  427.   Any character rotation:  Yes
  428.   Any character rotation:  No
  429.   Scaling independent of x and y:  Yes
  430.   Scaling independent of x and y:  No
  431.   Doubled character for scaling:  Yes
  432.   Doubled character for scaling:  No
  433.   Integer multiples for scaling:  Yes
  434.   Integer multiples for scaling:  No
  435.   Italicizing:  Yes
  436.   Italicizing:  No
  437.   Any multiples for exact scaling:  Yes
  438.   Any multiples for exact scaling:  No
  439.   Double-weight characters:  Yes
  440.   Double-weight characters:  No
  441.   Underlining:  Yes
  442.   Underlining:  No
  443.   Strikeouts:  Yes
  444.   Strikeouts:  No
  445.   Raster fonts:  Yes
  446.   Raster fonts:  No
  447.   Vertor fonts:  Yes
  448.   Vertor fonts:  No
  449.