Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer Problem

Status
Not open for further replies.

alexbo

Programmer
Jul 26, 2002
20
IT
Hi everybody,

I have to print a document on a costum form defined by the user;

In win9x you can set the following instructions:

DevMode.dmpaparsize=DMPAPER_USER

and everything works.

In win 2000 and nt I found the instrucion AddForm(), GetForm() SetForm()

Using AddForm everything works, but as soon as I try to use the SetForm function the program returns that the function succeded but doesn't set the correct form.
Can anyone help me bye Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top