Originally Posted by
tecsi
I have exactly the same question--I cannot find out where and how to set a custom size.
Ok, here's what i did. It worked fine! Now i'm able to print in large formats from AutoCad!
First
Start>Control Panel>Printers
Second
Inside Printers, Right Click and select Run as administrator>Server Properties
Thrid
In "Server Properties", create a New Form with the desired custom paper size and save the new form. Make sure the form doesn't exceed the width of 33cm.
Fourth
Now, You need to find this file: HPWM5122.GPD. It is located at C://Windows/System32/spool/drivers/w32x86/3
Assign the file Administrator privileges (allowance to edit, view, etc) at the file's properties, security tab. Make a security copy of this file in an other folder just in case...
Fifth
Open the file on Notepad and replace the option:customsize lines with these ones
*Option: CUSTOMSIZE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*MinSize: PAIR(4720, 6832)
*MaxSize: PAIR(15120,1222096)
*TopMargin: 144
*BottomMargin: 552
*MaxPrintableWidth: 15120
*MinLeftMargin: 240
*CenterPrintable?: FALSE
*Command: CmdSelect
{
*Order: PAGE_SETUP.20
*Cmd: =PCL_CUSTOMSIZE "<1B>*p144y0X"
}
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableOrigin: PAIR(240, 144)
*CursorOrigin: PAIR(240, 0)
}
*case: LANDSCAPE_CC90
{
*PrintableOrigin: PAIR(240, 144)
*CursorOrigin: PAIR(240, 22240)
}
}
}
Close it and save changes.
Note that the only thing i changed is the MaxSize pair value. This changes the maximum size allowed by the printer and enables now to have sheets as long a 33x110 cm. Now that we've changed that value, our printer can now support the custom form we already created on step 3.
Sixth
You are Done! Your new form should now appear as a paper option on the HP1220C's Printer properties>Advanced>Paper size