$type |
$lang |
$format |
$media |
|;
if ( $form->{printed} =~ /$form->{formname}/ ) {
print $locale->text('Printed') . qq| |;
}
if ( $form->{recurring} ) {
print $locale->text('Scheduled');
}
print qq|
|
|;
}
sub print_and_post {
$form->error( $locale->text('Select postscript or PDF!') )
if $form->{format} !~ /(postscript|pdf)/;
$form->error( $locale->text('Select a Printer!') )
if $form->{media} eq 'screen';
$form->{printandpost} = 1;
$form->{display_form} = "post";
&print;
}