• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

compatibility mode


sgkin

New Member
Posts
4
#1
Hi.
I'd like to ask something.

When I run a program in compatibility mode, what changes are made in OS?

To make my question more specific.

When I print from windows 8, the spl file has very different structure than when I print from windows 7.

But when I run the application in compatibility mode windows 7, the spl file that is created is exactly the same with windows 7 spl.

So I try to find out what compatibility mode changes, in order to produce in windows 8 a .spl file that is exactly the same with windows 7 spl, without running my app in compatibility mode.

Thanks and sorry for my english :)
 

My Computer

System One

  • OS
    8
    Computer type
    PC/Desktop

Brink

Administrator
Administrator
mvp
Posts
22,827
#2
Hello sgkin, and welcome to Eight Forums.


It depends on the problem, but any changes made are related to how Windows runs the program. No changes are made to the program itself. For example, the Program Compatibility Assistant can resolve conflicts with User Account Control, a new security feature in this version of Windows that can help make your computer safer. Or, it can run the program in a mode that simulates earlier versions of Windows. The changes that Program Compatibility Assistant makes are done automatically, so you don't need to make them. However, you can also use compatibility mode to manually select what mode to use.

http://www.eightforums.com/tutorials/6832-compatibility-mode-use-windows-8-a.html


Hope this helps, :)
Shawn
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-3930K 3.2 Ghz (O/C to 4 Ghz)
    Motherboard
    ASRock X79 Extreme11
    Memory
    32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    SB Recon 3Di Integrated Chip
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    256GB OCZ Vector
    6TB WD Black WD6001FZWX
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    100 Mb/s Download and 10 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Lite-On iHBS212 12x BD Writer
    Creative F200 webcam
    Samsung CLX-3175FW Printer
    Linksys EA9500 Router
    Arris SB6190 Cable Modem
    APC SMART-UPS RT 1000 XL

sgkin

New Member
Posts
4
#3
thanks for the reply.
I know how to run a program in compatibility mode.
But I'd like to know what "happens" to my app when I execute it in compatibility mode.
If there is any documentation.
In my case, i'd like to know if the compatibility mode changes the function of the spooler, or if my app in this mode uses a v3 printer driver.
or what other may happen.
 

My Computer

System One

  • OS
    8
    Computer type
    PC/Desktop

Vadikan

(*.*)
Power User
Posts
480
#4

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model Number
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 [email protected] + 1 [email protected])

sgkin

New Member
Posts
4
#5
thanks for the help, but it didn't help me.

i still can't find out what is going on and i get different .spl files.
 

My Computer

System One

  • OS
    8
    Computer type
    PC/Desktop

Vadikan

(*.*)
Power User
Posts
480
#6
Are you asking out of curiosity? Because I don't see the actual problem statement in your post.

The particular change you're looking for may not be documented anywhere. E.g. I don't see anything mentioned here and the last change in emfspool was documented in 2011.
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model Number
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 [email protected] + 1 [email protected])

sgkin

New Member
Posts
4
#7
it is not curiosity. we have a real problem, but we can solve it running our app in compatibility mode.
but we would like to get the same spl, without running in compatibility mode.
Here i have two .spl files
https://skydrive.live.com/?cid=BA664F5DA41FE974&id=BA664F5DA41FE974!120

I printed at MS Publisher Imagesetter. win8.spl is from win8 and win7.spl from compatibility mode.
And from win7 the .spl file is exact the same as in compatibility mode.
I use this app EMF Printer Spool File Viewer - CodeProject to view spl files.
if you have time take a look.
thanks

edit: and it is not only with ms publisher imagesetter. it is also with hp printer drivers.
and the print processor is winprint--> raw.
 

My Computer

System One

  • OS
    8
    Computer type
    PC/Desktop

Vadikan

(*.*)
Power User
Posts
480
#8
While I find your question interesting, I don't have knowledge in SPL files and I'm not an AppCompat Guy, I'm sorry :)

The only thing I can tell is that there's nothing wrong in using AppCompat mode, unless it causes real problems. But they can be dealt with too.
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model Number
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 [email protected] + 1 [email protected])

DonMartin

New Member
Posts
3
#9
@sgkin:
I'm working at the same problem that spl-files created with Windows 8.1 and Windows 10 are completely different from
spl-files created with Windows 7.
The print-processor of my printer-driver ist set do "winprint + NT EMF 1.008" and I used the spl-files to extract EMF-Pictures.
Works for over 10 years fine!
I changed the compatibility-mode from the printing-application to Windows 7 (on Win 8.1-PC and on Win 10-PC) but nothing
changed! The spl-files are still different to those files created while printing on a Windows 7-PC.

Where do you set the compatibility-mode to Windows 7?
Is there a way to set a compatibility-mode to a printer-driver?
(I just set the compatibility-mode for the Application from which I print.)

Don
 

My Computer

System One

  • OS
    Win 7

Brink

Administrator
Administrator
mvp
Posts
22,827
#10

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-3930K 3.2 Ghz (O/C to 4 Ghz)
    Motherboard
    ASRock X79 Extreme11
    Memory
    32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    SB Recon 3Di Integrated Chip
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    256GB OCZ Vector
    6TB WD Black WD6001FZWX
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    100 Mb/s Download and 10 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Lite-On iHBS212 12x BD Writer
    Creative F200 webcam
    Samsung CLX-3175FW Printer
    Linksys EA9500 Router
    Arris SB6190 Cable Modem
    APC SMART-UPS RT 1000 XL

DonMartin

New Member
Posts
3
#11
Hello Brink,

thanks for your answer!
I already changed the compatibility-mode for the driver-installation-file. The result was, that it changed the structure of
the spl-file, but it still is not the same structure as printing on a windows 7 - pc. I can not use this spl-files for extracting emf-pictures.
I send a support-question to microsoft today. will see what they say...

Don
 

My Computer

System One

  • OS
    Win 7

Brink

Administrator
Administrator
mvp
Posts
22,827
#12
Don,

You might also send an email to your printer manufacturer to see if they will have updated drivers available.
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-3930K 3.2 Ghz (O/C to 4 Ghz)
    Motherboard
    ASRock X79 Extreme11
    Memory
    32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    SB Recon 3Di Integrated Chip
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    256GB OCZ Vector
    6TB WD Black WD6001FZWX
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    100 Mb/s Download and 10 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Lite-On iHBS212 12x BD Writer
    Creative F200 webcam
    Samsung CLX-3175FW Printer
    Linksys EA9500 Router
    Arris SB6190 Cable Modem
    APC SMART-UPS RT 1000 XL

DonMartin

New Member
Posts
3
#13
Hello again...

after searching the internet und much testing, here is the solution:

Since Windows 8 all Print-Drivers in Windows are "Typ 4-Drivers". These Drivers
IGNORE all settings made in the driver to the Datatype of the Print-Processor!

Means you can select all different Datatypes as usual but Windows will ALWAYS ONLY
use "RAW"!

To solve this problem you have to install "Typ 3-Drivers". To do so you have to click on "Windows Update" while installing a driver in the System Controlpanel.
This takes some minutes and after that the driver-list is updated with Typ 3-Drivers. Unfortunately the driver-typ is not marked here.

In Windows 10 you see the Driver-Typ after selecting a driver and klick on "next".
In Windows 8.1 you don't see this. You have to install the driver and after that
you can test the driver with the following steps:
- set Print-Processor to "winprint" and Datatype to "NT EMF 1.008"
- stop the printer queue
- print a testpage
- left click on the printjob and select "options"

In the next Options-Dialog you can see Information to Processor and Datatype
of the printjob.
If it is a Typ 4-Driver the Processor is NOT "winprint" and the Datatype is "RAW"!
if it is a Typ 3-Driver Processor and Datatype are correct as set in the Driver-Options!

So if a Typ 3-Driver is installed on Windows 8.1 or Windows 10 the driver-settings
(Datatype of Print-Processor) will be correct accepted and the spoolfiles contain EMF-Pictures as usual! (if Datatype is set to NT EMF 1.00x)

From MSDN and Technet Support I got also the information that Microsoft changed
the printer-structure since Windows 8 and that this is not documented!

Don
 

My Computer

System One

  • OS
    Win 7

Brink

Administrator
Administrator
mvp
Posts
22,827
#14
Thank you for posting back with your findings Don. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-3930K 3.2 Ghz (O/C to 4 Ghz)
    Motherboard
    ASRock X79 Extreme11
    Memory
    32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    SB Recon 3Di Integrated Chip
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    256GB OCZ Vector
    6TB WD Black WD6001FZWX
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    100 Mb/s Download and 10 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Lite-On iHBS212 12x BD Writer
    Creative F200 webcam
    Samsung CLX-3175FW Printer
    Linksys EA9500 Router
    Arris SB6190 Cable Modem
    APC SMART-UPS RT 1000 XL