Check if PRS file fits to a specific Print-Driver

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Check if PRS file fits to a specific Print-Driver

Postby Andi.Wieland » Thu Sep 22, 2011 11:03 am

Hello,

is there a way to find out if a PRS file fits to the corresponding print driver on the machine?
Eg. because the driver-version (or even the printer manufacturer) has changed but the device name stayed the same?

Thanks for any answers...
Andi.Wieland
 
Posts: 6
Joined: Mon Jan 31, 2005 4:08 pm
Location: Nürtingen/Germany

Re: Check if PRS file fits to a specific Print-Driver

Postby IDEAL Software Support » Fri Sep 23, 2011 9:47 am

In the help file titled "Programmer's Manual", in the chapter "Printer Setup", the structure of the PRS file is documented.

Inside the PRS file the DEVMODE structure provided by the Micosoft Windows API is stored. It contains the field dmDriverVersion. But it doesn't provide the printer manufacturer nor the printer model, so this is not a secure method to check for compatibility.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 19 guests

cron