Please Login | Return to the first page. | Help
Changing%23%21Page%23%21layouts - Powered By Zeon Corporation
Forum > > DocuCom PDF Products > DocuCom PDF Driver > Changing Page layouts

New Topic Reply topic The topic has been viewed for 13168 times  Previous Topic  Flat View  Refresh Next Topic
 Topic:Changing Page layouts  
zeonsupp
Member

Status:【Offline】

The 7.X Driver's control is different from earlier versions. Instead of writing control settings to Windows registry directly, control settings are now grouped into several INI files referenced through Windows registry. Developers can use Windows APIs to read from or write to those control files to modify PDF Driver's behavior programmatically. The path is "%SystemDrive%\Documents and Settings\<User Name>\Application Data\Zeon\DocuCom\PDF Driver". To change page layout, you can modify "General.ini".

You can change the value of "Orientation: to 1(portrait) or 2(landscape). But please note: When application chooses page layout, it queries the supported paper size of selected printer, then determines the most suitable size for the document. If application does not choose a paper size, the current(default) paper size of he printer is used. Only modify the setting directly in "General.ini" WILL NOT change the "Default" page layout, because Windows keeps "Default" setting by itself. you must also notify Windows to change the "default" page layout.

You cannot add custom layouts to standard layouts. To use custom layout when print with VB6, you can change the value of items "bCustomPage, Width, Height, Units and margin" programmatically to specify the custom layout. Change the value of "bCustomPage" to "0(no) or 1(yes)"; the value of "Width, Height and margin" are float number to customize pager; the value of "Units" are unit "0(inches), 1(mm) or 2(points)".

6/7/2007 5:46:04 PM   Other topic By this author Quote this topic reply this topic
Total Page: 1 [ 1 ]  
  Tree View
Topic:● Changing Page layouts(740 bytes) - christianz,6/6/2007
    Replies:○ The 7.X Driver's control is different from ear...(1794 bytes) - zeonsupp,6/7/2007

Copyright©1993-2024 Zeon Corporation Forum All Rights Reserved
Run Time:62ms