1 *% Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 *% Use of this source code is governed by a BSD-style license that can be
3 *% found in the LICENSE file.
7 *Include: "StdNames.gpd"
8 *ResourceDLL: "unires.dll"
9 *ModelName: "Google Cloud Printer"
10 *MasterUnits: PAIR(1200, 1200)
17 *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
21 *rcNameID: =24BPP_DISPLAY
29 *rcNameID: =PRINTER_MEMORY_DISPLAY
30 *DefaultOption: 65536KB
33 *MemoryConfigKB: PAIR(16384, 16384)
37 *MemoryConfigKB: PAIR(65536, 65536)
41 *Feature: Orientation {
42 *rcNameID: =ORIENTATION_DISPLAY
43 *DefaultOption: PORTRAIT
45 *rcNameID: =PORTRAIT_DISPLAY
47 *Option: LANDSCAPE_CC270 {
48 *rcNameID: =LANDSCAPE_DISPLAY
53 *rcNameID: =PAPER_SIZE_DISPLAY
54 *DefaultOption: LETTER
57 *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
58 *switch: Orientation {
60 *PrintableArea: PAIR(9921, 14031)
61 *PrintableOrigin: PAIR(0, 0)
62 *CursorOrigin: PAIR(0, 0)
64 *case: LANDSCAPE_CC270 {
65 *PrintableArea: PAIR(14031, 9921)
66 *PrintableOrigin: PAIR(0, 0)
67 *CursorOrigin: PAIR(0, 0)
73 *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
74 *switch: Orientation {
76 *PrintableArea: PAIR(10200, 13200)
77 *PrintableOrigin: PAIR(0, 0)
78 *CursorOrigin: PAIR(0, 0)
80 *case: LANDSCAPE_CC270 {
81 *PrintableArea: PAIR(13200, 10200)
82 *PrintableOrigin: PAIR(0, 0)
83 *CursorOrigin: PAIR(0, 0)
89 *Feature: Resolution {
90 *rcNameID: =RESOLUTION_DISPLAY
91 *DefaultOption: 600dpi
94 *Name: "600 x 600 " =DOTS_PER_INCH
96 *TextDPI: PAIR(600, 600)
98 *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
99 *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
100 *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
104 *Command: CmdCR { *Cmd : "<0D>" }
105 *Command: CmdLF { *Cmd : "<0A>" }
106 *Command: CmdFF { *Cmd : "<0C>" }