drupal_get_form of custom content types
Here is the code to display the Edit Form in Node View page:

&lt;?php
// modules/custom/custom.module

function custom_preprocess_node(&amp;$vars) {
    module_load_include('inc', 'node', 'node.pages');
    $node = $vars['node'];
    $form = drupal_get_form('mytype_node_form', $node);
    $vars['content']['edit_form'] = $form;
}
?&gt;


Notes:


You need to replace custom with your module's name and mytype with
the machine-readable name of your content-type.
I just used a clone of $vars['node'] to prevent probable problems
caused by the fact that $vars is passed by reference; though it
might not be necessary.