Printers

quick question, does anyone know if it is possible to define a custom paper size for something like a HP deskjet 952c? I have a sample I am trying to make and my paper would be about 6 inches by 40 inches. Is this possible? can I define my own paper size somehow?