<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% dialog_id = "sap_print_parameter_id" width = 1235 height = 625 form_id = "sap_print_parameter" %>
<% form_for @sap_print_parameter, :html => { :id => form_id, :class => "edit_sap_event_command", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %>
<%= form.label :output_device, t_label('sap_print_parameters.sap_print_parameter.output_device'), :class => "name-label item-label" %>

<%= t('sap_print_parameters.sap_print_parameter.output_device_caption') %>

<%= form.label :number_of_copies, t_label('sap_print_parameters.sap_print_parameter.number_of_copies'), :class => "x-form-item label run-every-label" %>

<%= t("sap_print_parameters.sap_print_parameter.number_of_copies_caption") %>

<%= t('sap_print_parameters.sap_print_parameter.spool_request')%>

<%= t('sap_print_parameters.sap_print_parameter.spool_request_name_caption') %>

<%= form.label :spool_request_title, t_label('sap_print_parameters.sap_print_parameter.spool_request_title'), :class => "name-label item-label" %>
<%= form.text_field :cover_page_text, :maxLength => 68, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.spool_request_title_caption') %>

<%= form.label :sap_authorization, t_label('sap_print_parameters.sap_print_parameter.sap_authorization'), :class => "name-label item-label" %>
<%= form.text_field :sap_authorization, :maxLength => 12, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.sap_authorization_caption') %>

<%= t('sap_print_parameters.sap_print_parameter.cover_page')%>
<%= form.label :cover_page_selection, t_label('sap_print_parameters.sap_print_parameter.cover_page_selection'), :class => "name-label item-label" %>
<%= form.check_box :cover_page_selection %>

<%= t('sap_print_parameters.sap_print_parameter.cover_page_selection_caption') %>

<%= form.label :print_sap_cover_page, t_label('sap_print_parameters.sap_print_parameter.print_sap_cover_page'), :class => "name-label item-label" %>

<%= t('sap_print_parameters.sap_print_parameter.print_sap_cover_page_caption') %>

<%= form.label :recipient, t_label('sap_print_parameters.sap_print_parameter.recipient'), :class => "name-label item-label" %>
<%= form.text_field :recipient, :maxLength => 12, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.recipient_caption') %>

<%= form.label :cover_page_department, t_label('sap_print_parameters.sap_print_parameter.cover_page_department'), :class => "name-label item-label" %>
<%= form.text_field :cover_page_department, :maxLength => 12, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.cover_page_department_caption') %>

<%= form.check_box :print_host_cover_page%>

<%= t('sap_print_parameters.sap_print_parameter.print_host_cover_page_caption') %>

<%= t('sap_print_parameters.sap_print_parameter.spool_control')%>
<%= form.label :print_immediately, t_label('sap_print_parameters.sap_print_parameter.print_immediately'), :class => "name-label item-label" %>
<%= form.check_box :print_immediately %>

<%= t('sap_print_parameters.sap_print_parameter.print_immediately_caption') %>

<%= form.label :delete_after_printing, t_label('sap_print_parameters.sap_print_parameter.delete_after_printing'), :class => "name-label item-label" %>
<%= form.check_box :delete_after_printing %>

<%= t('sap_print_parameters.sap_print_parameter.delete_after_printing_caption') %>

<%= form.label :new_spool_request, t_label('sap_print_parameters.sap_print_parameter.new_spool_request'), :class => "name-label item-label" %>
<%= form.check_box :new_spool_request %>

<%= t('sap_print_parameters.sap_print_parameter.new_spool_request_caption') %>

<%= form.label :spool_retention_period, t_label('sap_print_parameters.sap_print_parameter.spool_retention_period'), :class => "x-form-item label run-every-label" %>

<%= t("sap_print_parameters.sap_print_parameter.spool_retention_period_caption") %>

<%= form.label :archiving_mode, t_label('sap_print_parameters.sap_print_parameter.archiving_mode'), :class => "name-label item-label" %>

<%= t('sap_print_parameters.sap_print_parameter.archiving_mode_caption') %>

<%= form.label :archive_object, t_label('sap_print_parameters.sap_print_parameter.archive_object.label'), :class => "name-label item-label" %>
<%= form.text_field :archive_object, :maxLength => 10, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.archive_object.caption') %>

<%= form.label :archive_document, t_label('sap_print_parameters.sap_print_parameter.archive_document.label'), :class => "name-label item-label" %>
<%= form.text_field :archive_document, :maxLength => 10, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.archive_document.caption') %>

<%= form.label :archive_information, t_label('sap_print_parameters.sap_print_parameter.archive_information.label'), :class => "name-label item-label" %>
<%= form.text_field :archive_information, :maxLength => 3, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.archive_information.caption') %>

<%= form.label :archive_text, t_label('sap_print_parameters.sap_print_parameter.archive_text.label'), :class => "name-label item-label" %>
<%= form.text_field :archive_text, :maxLength => 40, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.archive_text.caption') %>

<%= form.label :name_of_spool_file, t_label('sap_print_parameters.sap_print_parameter.name_of_spool_file'), :class => "name-label item-label" %>
<%= form.text_field :name_of_spool_file, :maxLength => 6, :class => "x-form-field" %>

<%= t('sap_print_parameters.sap_print_parameter.name_of_spool_file_caption') %>

<%= form.label :spool_request_priority, t_label('sap_print_parameters.sap_print_parameter.spool_request_priority'), :class => "name-label item-label" %>

<%= t('sap_print_parameters.sap_print_parameter.spool_request_priority_caption') %>

<% end %>