I'm trying to write a program that prints only the first page of a document using Google Cloud Print. I have gotten all parameters to work except for page_range and cannot decipher the Developer Guide on this matter. Is anyone able to tell me what's wrong with the format that I am using for page_range? I am using a JavaScript List
var ticket = {
version: "1.0",
print: {
color: {
type: "STANDARD_COLOR",
vendor_id: "Color"
},
duplex: {
type: "NO_DUPLEX"
},
copies: {copies: 1},
media_size: {
width_microns: 27940,
height_microns:60960
},
page_orientation: {
type: "LANDSCAPE"
},
margins: {
top_microns:0,
bottom_microns:0,
left_microns:0,
right_microns:0
},
page_range: {
interval: {
start:1,
end:1
}
}
}
};