home *** CD-ROM | disk | FTP | other *** search
/ swCHIP 1991 January / swCHIP_95-1.bin / utility / gsview13 / gsgrab / gsgrab.rc < prev   
Text File  |  1995-12-09  |  7KB  |  155 lines

  1. /* Copyright (C) 1993, 1994, 1995, Russell Lang.  All rights reserved.
  2.   
  3.   This file is part of GSview.
  4.   
  5.   This program is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the GSview Free Public Licence 
  9.   (the "Licence") for full details.
  10.   
  11.   Every copy of GSview must include a copy of the Licence, normally in a 
  12.   plain ASCII text file named LICENCE.  The Licence grants you the right 
  13.   to copy, modify and redistribute GSview, but only under certain conditions 
  14.   described in the Licence.  Among other things, the Licence requires that 
  15.   the copyright notice and this notice be preserved on all copies.
  16. */
  17.  
  18. /* gsgrab.rc */
  19. #include "gsgrab.h"
  20.  
  21. GRABDLG DIALOG 6, 15, 251, 97
  22. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  23. CAPTION "GSgrab Setup"
  24. {
  25.  DEFPUSHBUTTON "OK", IDOK, 192, 36, 50, 14
  26.  PUSHBUTTON "Cancel", IDCANCEL, 192, 56, 50, 14
  27.  PUSHBUTTON "Help", IDHELP, 192, 76, 50, 14
  28.  EDITTEXT IDC_GSCOMMAND, 12, 18, 168, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
  29.  LTEXT "Ghostscript Command:", -1, 8, 8, 80, 8
  30.  LTEXT "Printer:", -1, 8, 36, 29, 8
  31.  COMBOBOX IDC_PRINTER, 12, 46, 72, 60, CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
  32.  LTEXT "Resolution:", IDC_RESTEXT, 100, 36, 53, 8
  33.  COMBOBOX IDC_RES, 108, 46, 72, 60, CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
  34.  LTEXT "Port:", -1, 8, 66, 60, 8
  35.  COMBOBOX IDC_PORT, 12, 76, 71, 60, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  36.  LTEXT "Interval:", -1, 100, 66, 60, 8
  37.  EDITTEXT IDC_INTERVAL, 108, 76, 17, 12, WS_BORDER | WS_TABSTOP
  38.  LTEXT "seconds", -1, 130, 78, 34, 8
  39.  ICON GRABICON, GRABICON, 222, 8, 16, 16
  40. }
  41.  
  42. ABOUTDLG DIALOG 21, 35, 256, 168
  43. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  44. CAPTION "About GSgrab"
  45. {
  46.  DEFPUSHBUTTON "&Ok", IDOK, 218, 5, 32, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD
  47.  LTEXT "GSGRAB.EXE", -1, 32, 8, 64, 8
  48.  RTEXT "Version:", -1, 86, 8, 32, 8
  49.  LTEXT "", IDC_VERSION, 120, 8, 96, 8
  50.  LTEXT "Grab PostScript from the file GSGRAB and", -1, 32, 16, 160, 8
  51.  LTEXT "Copyright (C) 1994, 1995, Russell Lang.  All rights reserved.", -1, 7, 36, 240, 8
  52.  LTEXT "This program is distributed with NO WARRANTY OF ANY KIND.  No author", -1, 7, 48, 240, 8
  53.  LTEXT "or distributor accepts any responsibility for the consequences of using it,", -1, 7, 56, 240, 8
  54.  LTEXT "or for whether it serves any particular purpose or works at all, unless he", -1, 7, 64, 240, 8
  55.  LTEXT "or she says so in writing.  Refer to the GSview Free Public Licence ", -1, 7, 72, 240, 8
  56.  LTEXT "(the \"Licence\") for full details.", -1, 7, 80, 240, 8
  57.  LTEXT "Every copy of GSview must include a copy of the Licence, normally in a ", -1, 7, 92, 240, 8
  58.  LTEXT "plain ASCII text file named LICENCE.  The Licence grants you the right ", -1, 7, 100, 240, 8
  59.  LTEXT "to copy, modify and redistribute GSview, but only under certain conditions ", -1, 7, 108, 240, 8
  60.  LTEXT "described in the Licence.  Among other things, the Licence requires that ", -1, 7, 116, 240, 8
  61.  LTEXT "the copyright notice and this notice be preserved on all copies.", -1, 7, 124, 240, 8
  62.  LTEXT "", -1, 7, 132, 240, 8
  63.  LTEXT "Author: Russell Lang  (rjl@aladdin.com)", -1, 7, 146, 240, 8
  64.  ICON GRABICON, GRABICON, 8, 8, 16, 16
  65.  LTEXT "and print with Ghostscript", -1, 32, 24, 160, 8
  66. }
  67.  
  68. GRABICON ICON 
  69. BEGIN
  70.  '00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
  71.  '00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
  72.  '00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
  73.  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
  74.  '00 00 80 00 00 00 00 80 00 00 80 80 00 00 00 00'
  75.  '80 00 80 00 80 00 00 80 80 00 80 80 80 00 C0 C0'
  76.  'C0 00 FF 00 00 00 00 FF 00 00 FF FF 00 00 00 00'
  77.  'FF 00 FF 00 FF 00 00 FF FF 00 FF FF FF 00 EE EE'
  78.  'E1 11 1E EE EE EE EE EE EE EE EE EE EE EE EE EE'
  79.  'EE EE E1 EE EE EE EE EE EE EE EE EE EE EE EE EE'
  80.  'EE 11 E1 E1 EE EE 11 E1 E1 E1 1E EE EE EE EE EE'
  81.  'E1 EE 11 E1 EE E1 EE 11 E1 1E E1 EE EE EE EE EE'
  82.  'E1 EE E1 E1 EE E1 EE E1 E1 EE E1 EE EE EE EE EE'
  83.  'E1 EE E1 E1 EE EE 11 11 E1 EE E1 EE EE EE EE EE'
  84.  'E1 EE 11 E1 1E E1 EE E1 E1 1E E1 EE EE EE EE EE'
  85.  'EE 11 E1 E1 E1 EE 11 1E E1 E1 1E EE EE EE EE EE'
  86.  'EE EE EE EE EE EE EE EE E1 EE EE EE EE EE EE EE'
  87.  'EE EE EE EE EE EE EE EE E1 EE EE EE EE EE 00 00'
  88.  '00 FF FF FF FF FF FF FF FF F0 00 00 00 00 00 00'
  89.  '00 0F FF FF FF FF FF F0 F0 00 00 00 00 00 00 00'
  90.  '00 00 FF FF FF FF FF FF 00 00 00 00 00 00 00 00'
  91.  '00 00 0F FF FF FF FF FF F0 00 00 0F 00 00 00 FF'
  92.  '00 0F F0 FF FF FF FF FF F0 0F FF FF F0 00 00 0F'
  93.  'FF FF 0F FF FF FF FF FF 0F FF FF FF F0 00 0F FF'
  94.  'FF FF F0 FF FF FF FF FF FF FF FF FF FF F0 00 00'
  95.  'FF FF FF FF FF FF FF FF FF FF F0 00 FF 00 00 FF'
  96.  'F0 00 FF FF FF FF FF FF FF FF F0 00 0F F0 00 F0'
  97.  '00 00 FF FF FF FF FF FF FF FF 00 00 00 00 00 00'
  98.  '00 00 0F FF FF FF FF FF F0 F0 00 00 00 00 00 00'
  99.  '00 00 00 0F FF 0F F0 0F FF 00 00 00 00 00 00 00'
  100.  '00 00 00 0F F0 FF F0 0F FF 00 00 00 00 00 00 00'
  101.  '00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00'
  102.  '00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00'
  103.  '00 00 00 00 00 FF 0F 0F F0 00 00 00 00 00 00 00'
  104.  '00 00 00 00 00 0F FF FF 00 00 00 00 00 00 00 00'
  105.  '00 00 00 00 00 0F FF F0 00 00 00 00 00 00 00 00'
  106.  '00 00 00 00 00 FF FF 00 00 00 00 00 00 00 00 00'
  107.  '00 00 00 00 0F FF F0 00 00 00 00 00 00 00 00 00'
  108.  '00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00'
  109.  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
  110.  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
  111.  '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
  112.  '00 00 00 00 00 00 F8 00 00 FF FC 00 01 FF FE 00'
  113.  '07 EF CC 00 02 07 80 00 00 03 80 00 00 01 00 00'
  114.  '00 00 80 00 00 01 80 00 00 30 86 00 00 79 DF 00'
  115.  '00 FF FF 80 01 FF FF C0 01 FF FF E0 01 FF FF F8'
  116.  '01 FF FF F8 03 FF FF F8 07 FF FF FC 0F FF FF F8'
  117.  '1F FF FF F0 3F FF FF F8 7F FF FF FC FF FF'
  118. END
  119.  
  120. /* This section gives the default entries for the [Devices] section of */
  121. /* gsgrab.ini, used to specify available printer drivers. */
  122. /* Each line contains a device name and available resolutions, separated  */
  123. /* by commas.  Don't use spaces.  Each line must end with a '\0' */
  124. /* The last line of this section must be "\0" */
  125. /* Maximum line length is 128 */
  126. IDR_DEVICES RCDATA
  127. BEGIN
  128.     "mswinprn,\0"   /* can't set resolution in device dialog box */
  129.     "deskjet,300x300,150x150,100x100,75x75\0"
  130.     "djet500,300x300,150x150,100x100,75x75\0"
  131.     "laserjet,300x300,150x150,100x100,75x75\0"
  132.     "ljetplus,300x300,150x150,100x100,75x75\0"
  133.     "ljet2p,300x300,150x150,100x100,75x75\0"
  134.     "ljet3,300x300,150x150,100x100,75x75\0"
  135.     "ljet4,600x600,300x300,150x150,100x100,75x75\0"
  136.     "cdeskjet,300x300,150x150,100x100,75x75\0"
  137.     "cdjcolor,300x300,150x150,100x100,75x75\0"
  138.     "cdjmono,300x300,150x150,100x100,75x75\0"
  139.     "cdj550,300x300,150x150,100x100,75x75\0"
  140.     "paintjet,180x180,90x90\0"
  141.     "pjetxl,180x180,90x90\0"
  142.     "epson,360x180,240x180,180x180,120x180,60x180,180x60,120x60,60x60,240x72,120x72,60x72\0"
  143.     "eps9high,240x216,120x216,60x216\0"
  144.     "ibmpro,360x180,240x180,180x180,120x180,60x180,180x60,120x60,60x60,240x72,120x72,60x72\0"
  145.     "bj10e,360x360,360x180,180x360,180x180\0"
  146.     "bmpmono,72,96\0"
  147.     "bmp16,72,96\0"
  148.     "bmp256,72,96\0"
  149.     "bmp16m,72,96\0"
  150.     "gifmono,72,96\0"
  151.     "gif8,72,96\0"
  152.     "\0"
  153. END
  154.  
  155.