Hi,
I am doing some research for current issue, thanks for your waiting.
Best Regards
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I write a simple UNIV driver for our printer, based on Microsoft bitmap sample driver.
I insert in the GPD file two dpi resolution, 180 and 360 DOTS_PER_INCH
They works fine.
Now I need to add a 600 dpi feature, but even if I read all the documentation it absolutely doesn't work.
Doc say to calculate the LCM of all dpi settings so for the actual two (180,360) the parameter is :
*MasterUnits: PAIR(360, 360)
Following the doc to add a new 600 dpi the MasterUnits should be :
*MasterUnits PAIR(1800, 1800)
But whatever value I put in the MasterUnits , after building the driver I always obtain an error when you try to have the printer's properties.
I have no more ideas, I try with 720 dpi that is the twice of 360 but with no results at all. This is the first part of my GPD :
*ResourceDLL: "unires.dll"
*PrinterType: PAGE
*MaxCopies: 99
*PrintRate: 16
*PrintRateUnit: PPM
*PrintRatePPM: 16
*ResourceDLL: "unires.dll"
*PrinterType: PAGE
*MaxCopies: 99
*PrintRate: 16
*PrintRateUnit: PPM
*PrintRatePPM: 16
*ResourceDLL: "PrintUI.dll"
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "360 x 360" =DOTS_PER_INCH
*DPI: PAIR(360, 360)
*TextDPI: PAIR(360, 360)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "" }
*Command: CmdEndRaster { *Cmd : "" }
*Command: CmdSendBlockData { *Cmd : "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: ""
}
}
*Option: Option2
{
*Name: "180 x 180" =DOTS_PER_INCH
*DPI: PAIR(180, 180)
*TextDPI: PAIR(180, 180)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "" }
*Command: CmdEndRaster { *Cmd : "" }
*Command: CmdSendBlockData { *Cmd : "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: ""
}
}
*Option: Option3
{
*Name: "600 x 600" =DOTS_PER_INCH
*DPI: PAIR(600, 600)
*TextDPI: PAIR(600, 600)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "" }
*Command: CmdEndRaster { *Cmd : "" }
*Command: CmdSendBlockData { *Cmd : "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: ""
}
}
}
Hi,
I am doing some research for current issue, thanks for your waiting.
Best Regards
Hi, I am sorry. I'm still in a middle of this work. I will update it ASAP.