TIFF Graphic Stretched

Raster-XChange SDK (all versions)
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's Raster-XChange Printer Drivers SDK (only).

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
71SoCal
User
Posts: 35
Joined: Fri Jul 31, 2009 9:50 pm

TIFF Graphic Stretched

Post by 71SoCal » Mon Jan 11, 2010 10:34 pm

I'm just getting the Raster XChange driver up and running. When I generate a TIFF document from the Raster driver via my application, it is getting stretched horizontally quite a bit. How do I get that corrected? When I print a test page directly from the Raster driver, it looks correct. Below is the code I'm using:

bool TrackerTiffImageDriver::InitializeDriver()
{
RXC::IPrinterFactoryPtr factory(__uuidof(RXC::PrinterFactory));
printer_ = factory->Printer[L"", L""];
printer_->ProtectionKey = m_strRegKey;
printer_->ProtectionDevCode = m_strDevCode;

devMode_ = printer_->DevMode;
devMode_->Format = RXC::format_TIFF;
devMode_->FormatParameter[L"Image Type"] = L"BW:1";
devMode_->FormatParameter[L"Compression"] = L"CCITTFax4";
devMode_->PostPrintApplication = L"*";

return true;
}

User avatar
Roman - Tracker Supp
Site Admin
Posts: 265
Joined: Sun Nov 21, 2004 3:19 pm

Re: TIFF Graphic Stretched

Post by Roman - Tracker Supp » Tue Jan 12, 2010 8:47 am

Could you please provide a working sample application (along with the sources) that displays the problem?
We need to see all your code that interacts with the printer - not only the initialization.
Tracker Software Products

Please ZIP any files uploaded to this forum or they will not be posted !
You may also use a RAR or 7Z archive format

Post Reply