Print system - SELECT PRINTER

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
radohabjan
Posts: 99
Joined: Mon Nov 30, 2009 7:17 am
Location: Slovenia
Contact:

Print system - SELECT PRINTER

Post by radohabjan »

Hello friends

I want to make PDF file in Print system - SELECT PRINTER without user interaction. I tried with :

filename="test123.pdf"
SELECT PRINTER ntiske ;
ORIENTATION PRINTER_ORIENT_PORTRAIT ;
PAPERSIZE PRINTER_PAPER_USER ;
PAPERLENGTH 24 ;
PAPERWIDTH 38 ;
QUALITY PRINTER_RES_HIGH;
SAVEAS filename

As I saw there is always temp file C:\Users\si01002337\AppData\Local\Temp\04793414_hmg_print_preview_0001.Emf
Perhaps to convert this file in PDF and save as my filename.

br Rado
Post Reply