Sign in to follow this  
Followers 0
BlueLord

How to acces printer profile

4 posts in this topic

Hy,

I need for my script a way to use printer profile(you can see in pict about what i speak).

I have searched the forum and i don't have any ideea if it's posible.

Please give me some hint's. I attach my script until now

Thank's

post-58816-1286825405241_thumb.png

prt2.au3

Share this post


Link to post
Share on other sites



Hy,

I need for my script a way to use printer profile(you can see in pict about what i speak).

I have searched the forum and i don't have any ideea if it's posible.

Please give me some hint's. I attach my script until now

Thank's

Perhaps this post can help you ?


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

I think this is the good one !

$_PrintSplit = StringSplit ( RegRead ( "HKCU\Software\Microsoft\Windows Nt\CurrentVersion\Windows", "Device" ), ',' )
RunWait ( 'rundll32 printui.dll,PrintUIEntry /e /n "' & $_PrintSplit[1] & '"' )

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

That is menu from picture, it's ok.

What i need it's a way how to print a file calling this "profile".

For example:

I have a profile set for landscape and an another set for portrait and color.

Let's say that i want to print a file via a function which call a certain printer with a specific profile (settings).

It's posible

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0