netprint 0.1.0 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +9 -0
- data/README.md +16 -1
- data/bin/netprint +8 -3
- data/lib/netprint.rb +0 -2
- data/lib/netprint/agent.rb +35 -18
- data/lib/netprint/constants.rb +2 -2
- data/lib/netprint/options.rb +7 -7
- data/lib/netprint/version.rb +1 -1
- data/netprint.gemspec +1 -3
- data/spec/{foo.pdf → fixtures/foo.pdf} +0 -0
- data/spec/fixtures/list_empty.html +366 -0
- data/spec/fixtures/list_error.html +372 -0
- data/spec/fixtures/list_processed.html +372 -0
- data/spec/fixtures/list_processing.html +372 -0
- data/spec/fixtures/login.html +192 -0
- data/spec/fixtures/upload.html +420 -0
- data/spec/fixtures/upload_error.html +416 -0
- data/spec/{ → fixtures/}/343/201/202/343/201/204/343/201/206/343/201/210/343/201/212.pdf +0 -0
- data/spec/netprint/agent_spec.rb +87 -16
- data/spec/netprint/options_spec.rb +40 -40
- data/spec/spec_helper.rb +8 -0
- metadata +38 -83
- data/lib/netprint/url.rb +0 -35
- data/spec/error.html +0 -13
- data/spec/list.html +0 -13
- data/spec/netprint/url_spec.rb +0 -26
- data/spec/upload.html +0 -372
data/lib/netprint/url.rb
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
module Netprint
|
2
|
-
class URL
|
3
|
-
def initialize(session_id, userid, password)
|
4
|
-
@session_id = session_id
|
5
|
-
@userid = userid
|
6
|
-
@password = password
|
7
|
-
end
|
8
|
-
|
9
|
-
def login
|
10
|
-
expand(:i => @userid, :p => @password)
|
11
|
-
end
|
12
|
-
|
13
|
-
def upload
|
14
|
-
expand(:s => @session_id, :c => 0, :m => 1)
|
15
|
-
end
|
16
|
-
|
17
|
-
def list
|
18
|
-
expand(:s => @session_id, :c => 0, :m => 0)
|
19
|
-
end
|
20
|
-
|
21
|
-
private
|
22
|
-
|
23
|
-
def expand(params)
|
24
|
-
Addressable::Template.new(template).
|
25
|
-
expand(params).
|
26
|
-
to_str
|
27
|
-
end
|
28
|
-
|
29
|
-
def template
|
30
|
-
Addressable::VERSION::STRING >= '2.2.7' ?
|
31
|
-
'https://www.printing.ne.jp/cgi-bin/mn.cgi{?i,p,s,c,m}' :
|
32
|
-
'https://www.printing.ne.jp/cgi-bin/mn.cgi?{-join|&|i,p,s,c,m}'
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
data/spec/error.html
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Content-Type: text/html
|
3
|
-
Server: Microsoft-IIS/6.0
|
4
|
-
X-Powered-By: ASP.NET
|
5
|
-
Date: Thu, 18 Oct 2012 08:42:54 GMT
|
6
|
-
Connection: close
|
7
|
-
|
8
|
-
<html>
|
9
|
-
->
|
10
|
selvalue = curfrm.papersize[i].value;
|
11
1
|
curfrm.submit();
|
12
2
|
for(var i=0;i<curfrm.papersize.length;i++)
|
13
3
|
if(curfrm.papersize[i].checked==true)
|
14
4
|
j=j+1;
|
15
5
|
|
16
|
-
->
|
17
6
|
var _gaq = _gaq || [];
|
18
7
|
_gaq.push(['_setAccount', 'UA-3871039-1']);
|
19
8
|
_gaq.push(['_trackPageview']);
|
20
9
|
(function() {
|
21
10
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
22
11
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
23
12
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
24
13
|
})();
|
25
|
-
|
26
|
-
|
27
|
-
|
data/spec/list.html
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Content-Type: text/html
|
3
|
-
Server: Microsoft-IIS/6.0
|
4
|
-
X-Powered-By: ASP.NET
|
5
|
-
Date: Thu, 18 Oct 2012 08:42:54 GMT
|
6
|
-
Connection: close
|
7
|
-
|
8
|
-
<html>
|
9
|
-
->
|
10
|
selvalue = curfrm.papersize[i].value;
|
11
1
|
curfrm.submit();
|
12
2
|
for(var i=0;i<curfrm.papersize.length;i++)
|
13
3
|
if(curfrm.papersize[i].checked==true)
|
14
4
|
j=j+1;
|
15
5
|
|
16
|
-
->
|
17
6
|
var _gaq = _gaq || [];
|
18
7
|
_gaq.push(['_setAccount', 'UA-3871039-1']);
|
19
8
|
_gaq.push(['_trackPageview']);
|
20
9
|
(function() {
|
21
10
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
22
11
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
23
12
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
24
13
|
})();
|
25
|
-
|
26
|
-
|
27
|
-
|
data/spec/netprint/url_spec.rb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
-
|
3
|
-
include Netprint
|
4
|
-
|
5
|
-
describe URL do
|
6
|
-
subject do
|
7
|
-
URL.new(s, i, p)
|
8
|
-
end
|
9
|
-
|
10
|
-
let(:i) { 'username' }
|
11
|
-
let(:p) { 'password' }
|
12
|
-
|
13
|
-
context 'logged in' do
|
14
|
-
let(:s) { 'xxxxxxxx' }
|
15
|
-
|
16
|
-
its(:login) { should eql('https://www.printing.ne.jp/cgi-bin/mn.cgi?i=username&p=password') }
|
17
|
-
its(:upload) { should eql('https://www.printing.ne.jp/cgi-bin/mn.cgi?s=xxxxxxxx&c=0&m=1') }
|
18
|
-
its(:list) { should eql('https://www.printing.ne.jp/cgi-bin/mn.cgi?s=xxxxxxxx&c=0&m=0') }
|
19
|
-
end
|
20
|
-
|
21
|
-
context 'not logged in' do
|
22
|
-
let(:s) { nil }
|
23
|
-
|
24
|
-
its(:login) { should eql('https://www.printing.ne.jp/cgi-bin/mn.cgi?i=username&p=password') }
|
25
|
-
end
|
26
|
-
end
|
data/spec/upload.html
DELETED
@@ -1,372 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Content-Type: text/html
|
3
|
-
Server: Microsoft-IIS/6.0
|
4
|
-
X-Powered-By: ASP.NET
|
5
|
-
Date: Thu, 18 Oct 2012 08:57:07 GMT
|
6
|
-
Connection: close
|
7
|
-
|
8
|
-
<html>
|
9
|
-
<head><title>�l�b�g�v�����g</title>
|
10
|
-
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
|
11
|
-
<link rel="stylesheet" href="/home.css" type="text/css">
|
12
|
-
<style type="text/css">
|
13
|
-
<!--
|
14
|
-
a:link{ text-decoration:underline;}
|
15
|
-
a:visited{ text-decoration:underline;}
|
16
|
-
a:hover{ text-decoration:underline;}
|
17
|
-
a:active{ text-decoration:underline;}
|
18
|
-
-->
|
19
|
-
</style>
|
20
|
-
<script language="JavaScript">
|
21
|
-
<!--
|
22
|
-
window.onunload = function() {};
|
23
|
-
var repeatcnt = 0;
|
24
|
-
function CheckIsRepeat(){
|
25
|
-
if (++repeatcnt>1){
|
26
|
-
return true;
|
27
|
-
} else {
|
28
|
-
return false;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
function setcheck(checktype)
|
32
|
-
{var lop;
|
33
|
-
for (lop = 0;lop < document.mform.length;lop++){
|
34
|
-
if (document.mform.elements[lop].type == "checkbox")
|
35
|
-
document.mform.elements[lop].checked = checktype;}};
|
36
|
-
function ChangePCount(pc)
|
37
|
-
{var ct = pc.options[pc.selectedIndex].value;
|
38
|
-
location.href = "/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&c=0&pcount="+ct;}
|
39
|
-
function setNoLimit(obj) {
|
40
|
-
var len = obj.lyear.options.length;
|
41
|
-
obj.lyear.selectedIndex = len-1;
|
42
|
-
obj.lmon.selectedIndex = 11;
|
43
|
-
obj.lday.selectedIndex = 30;
|
44
|
-
}
|
45
|
-
function SetRadioDisable(curfrm)
|
46
|
-
{
|
47
|
-
repeatcnt = 0;
|
48
|
-
|
49
|
-
var selvalue = "";
|
50
|
-
var i;
|
51
|
-
|
52
|
-
for(i=0;i<curfrm.papersize.length;i++){
|
53
|
-
if(curfrm.papersize[i].checked == true){
|
54
|
-
selvalue = curfrm.papersize[i].value;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
if (selvalue == "4"){
|
58
|
-
for(i=0;i<curfrm.color.length;i++)
|
59
|
-
{
|
60
|
-
if(curfrm.color[i].value == "2" )
|
61
|
-
{ curfrm.color[i].disabled = false;
|
62
|
-
curfrm.color[i].checked = true; }
|
63
|
-
else
|
64
|
-
{ curfrm.color[i].disabled = true; }
|
65
|
-
}
|
66
|
-
for(i=0;i<curfrm.duplextype.length;i++)
|
67
|
-
{
|
68
|
-
if(curfrm.duplextype[i].value == "0" )
|
69
|
-
{ curfrm.duplextype[i].disabled = false;
|
70
|
-
curfrm.duplextype[i].checked = true; }
|
71
|
-
else
|
72
|
-
{ curfrm.duplextype[i].disabled = true; }
|
73
|
-
}
|
74
|
-
}else{
|
75
|
-
for(i=0;i<curfrm.color.length;i++)
|
76
|
-
{
|
77
|
-
curfrm.color[i].disabled = false;
|
78
|
-
}
|
79
|
-
for(i=0;i<curfrm.duplextype.length;i++)
|
80
|
-
{
|
81
|
-
curfrm.duplextype[i].disabled = false;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
function SetDuplexType(curfrm)
|
86
|
-
{
|
87
|
-
var selvalue = "";
|
88
|
-
var i;
|
89
|
-
selvalue = curfrm.lsize.value;
|
90
|
-
if (selvalue == "1"){
|
91
|
-
for(i=0;i<curfrm.duplextype.length;i++)
|
92
|
-
{
|
93
|
-
if(curfrm.duplextype[i].value == "0" )
|
94
|
-
{ curfrm.duplextype[i].disabled = false;
|
95
|
-
curfrm.duplextype[i].checked = true; }
|
96
|
-
else
|
97
|
-
{ curfrm.duplextype[i].disabled = true; }
|
98
|
-
}
|
99
|
-
}else{
|
100
|
-
for(i=0;i<curfrm.color.length;i++)
|
101
|
-
{
|
102
|
-
curfrm.color[i].disabled = false;
|
103
|
-
}
|
104
|
-
for(i=0;i<curfrm.duplextype.length;i++)
|
105
|
-
{
|
106
|
-
curfrm.duplextype[i].disabled = false;
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
function SetMValue(curfrm, mvalue)
|
111
|
-
{
|
112
|
-
curfrm.m.value = mvalue;
|
113
|
-
}
|
114
|
-
function SetSubmitURL(curfrm,mvalue){
|
115
|
-
SetMValue(curfrm, mvalue);
|
116
|
-
var filename = curfrm.file1.value;
|
117
|
-
if(filename.match(/\.(docx|pptx|xlsx)$/i)){
|
118
|
-
curfrm.action="https://www2.printing.ne.jp/cgi-bin/mn.cgi";
|
119
|
-
curfrm.submit();
|
120
|
-
}else{
|
121
|
-
curfrm.action="https://www.printing.ne.jp/cgi-bin/mn.cgi";
|
122
|
-
curfrm.submit();
|
123
|
-
}
|
124
|
-
}
|
125
|
-
function SetMagnification(){
|
126
|
-
var mmag;
|
127
|
-
var lurl;
|
128
|
-
if(document.uploadform.magnification.value === ""){
|
129
|
-
mmag = "1";
|
130
|
-
}else{
|
131
|
-
mmag = document.uploadform.magnification.value;
|
132
|
-
}
|
133
|
-
lurl = "/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&m=120&magnification="+mmag;
|
134
|
-
var ret = window.showModalDialog(lurl, 'pop1', 'dialogWidth=500px; dialogHeight=240px; menubar=no; toolbar=no; scrollbars=yes; center=yes; status=0;');
|
135
|
-
|
136
|
-
if (ret){
|
137
|
-
document.getElementById("magnification").value = ret[0];
|
138
|
-
document.getElementById("magnificationstr").innerHTML = ret[1];
|
139
|
-
}
|
140
|
-
}
|
141
|
-
function SetMagnification2(){
|
142
|
-
var mmag;
|
143
|
-
var lurl;
|
144
|
-
if(document.replaceform.magnification.value === ""){
|
145
|
-
mmag = "1";
|
146
|
-
}else{
|
147
|
-
mmag = document.replaceform.magnification.value;
|
148
|
-
}
|
149
|
-
lurl = "/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&m=120&magnification="+mmag;
|
150
|
-
|
151
|
-
var ret = window.showModalDialog(lurl, 'pop1', 'dialogWidth=500px; dialogHeight=240px; menubar=no; toolbar=no; scrollbars=yes; center=yes; status=0;');
|
152
|
-
|
153
|
-
if (ret){
|
154
|
-
document.getElementById("magnification").value = ret[0];
|
155
|
-
document.getElementById("magnificationstr").innerHTML = ret[1];
|
156
|
-
}
|
157
|
-
|
158
|
-
}
|
159
|
-
function checkPapersizeRadio(curfrm){
|
160
|
-
var j=0;
|
161
|
-
for(var i=0;i<curfrm.papersize.length;i++)
|
162
|
-
{
|
163
|
-
if(curfrm.papersize[i].checked==true)
|
164
|
-
j=j+1;
|
165
|
-
}
|
166
|
-
|
167
|
-
if(j==0)
|
168
|
-
{
|
169
|
-
alert("�p���T�C�Y��I�������������B");
|
170
|
-
document.getElementById("papersizetr").style.backgroundColor = "yellow";
|
171
|
-
return(1);
|
172
|
-
} else {
|
173
|
-
return(0);
|
174
|
-
}
|
175
|
-
}
|
176
|
-
function checkRadioAndSubmit(curfrm,mode){
|
177
|
-
var chkrep = CheckIsRepeat();
|
178
|
-
|
179
|
-
if (chkrep == false){
|
180
|
-
var i = checkPapersizeRadio(curfrm);
|
181
|
-
if (i == 0){
|
182
|
-
SetSubmitURL(curfrm,mode);
|
183
|
-
}
|
184
|
-
}
|
185
|
-
}
|
186
|
-
function checkFileExtAndSetPaper(curfrm){
|
187
|
-
var filename = document.getElementById("filename1").value;
|
188
|
-
var paperL = document.getElementById("paperL");
|
189
|
-
if(paperL){
|
190
|
-
if(filename.match(/\.(jpeg|jpg|jpe)$/i)){
|
191
|
-
document.getElementById("paperL").disabled = false;
|
192
|
-
}else{
|
193
|
-
document.getElementById("paperL").disabled = true;
|
194
|
-
if ( document.getElementById("paperL").checked == true ){
|
195
|
-
document.getElementById("paperA4").checked = true;
|
196
|
-
SetRadioDisable(curfrm)
|
197
|
-
alert("�p���T�C�Y��A4�ɕύX���܂����B");
|
198
|
-
}
|
199
|
-
}
|
200
|
-
}
|
201
|
-
}
|
202
|
-
function ChkUA(){
|
203
|
-
if (navigator.userAgent.indexOf('iPhone') > 0) {
|
204
|
-
var flag = confirm("�����p�̒[������l�b�g�v�����g�������p���������ɂ�iPhone/iPad�ŃA�v���i�����j�̃C���X�g�[�����K�v�ł��BApp Store�Ɉړ����܂����H");
|
205
|
-
if (flag){
|
206
|
-
window.location.href = "itms://itunes.apple.com/us/app/netprint/id372351201?mt=8";
|
207
|
-
}
|
208
|
-
}else if(navigator.userAgent.indexOf('iPad') > 0) {
|
209
|
-
var flag = confirm("�����p�̒[������l�b�g�v�����g�������p���������ɂ�iPhone/iPad�ŃA�v���i�����j�̃C���X�g�[�����K�v�ł��BApp Store�Ɉړ����܂����H");
|
210
|
-
if (flag){
|
211
|
-
window.location.href = "itms://itunes.apple.com/us/app/netprint/id372351201?mt=8";
|
212
|
-
}
|
213
|
-
}else if(navigator.userAgent.indexOf('Android') > 0) {
|
214
|
-
var flag = confirm("�����p�̒[������l�b�g�v�����g�������p���������ɂ�Android�ŃA�v���i�����j�̃C���X�g�[�����K�v�ł��BGoogle Play�Ɉړ����܂����H");
|
215
|
-
if (flag){
|
216
|
-
window.location.href = "https://play.google.com/store/apps/details?id=jp.co.fujixerox.np.activity";
|
217
|
-
}
|
218
|
-
}
|
219
|
-
}
|
220
|
-
-->
|
221
|
-
</script>
|
222
|
-
<script type="text/javascript">
|
223
|
-
var _gaq = _gaq || [];
|
224
|
-
_gaq.push(['_setAccount', 'UA-3871039-1']);
|
225
|
-
_gaq.push(['_trackPageview']);
|
226
|
-
(function() {
|
227
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
228
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
229
|
-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
230
|
-
})();
|
231
|
-
</script>
|
232
|
-
</head>
|
233
|
-
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
234
|
-
<table border="0" cellspacing="0" cellpadding="0" align="center" height="100%">
|
235
|
-
<tr valign="top">
|
236
|
-
<td align="right" background="/img/bk1.jpg">
|
237
|
-
<table width="15" border="0" cellspacing="0" cellpadding="0" background="/img/bk1.jpg" height="100">
|
238
|
-
<tr><td valign="top"><img src="/img/bk1.jpg" width="15" height="5"></td></tr>
|
239
|
-
</table>
|
240
|
-
</td>
|
241
|
-
<td align="center" width="750">
|
242
|
-
<form name="m1form" action="/cgi-bin/mn.cgi" method="post">
|
243
|
-
<input type="hidden" name="s" value="9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ"><input type="hidden" name="c" value="0">
|
244
|
-
<table width="750" border="0" cellspacing="0" cellpadding="0">
|
245
|
-
<tr><td valign="top">
|
246
|
-
<table width="750" border="0" cellspacing="0" cellpadding="0" height="50" background="/img/head.jpg">
|
247
|
-
<tr valign="top"><td valign="middle" align="right"><a href="/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&m=5"><img src="/img/btn_logout.jpg" width="61" height="21" hspace="10" alt="���O�A�E�g" border="0"></a></td></tr>
|
248
|
-
|
249
|
-
</table>
|
250
|
-
</td></tr>
|
251
|
-
<tr><td valign="top">
|
252
|
-
<table width="750" border="0" cellspacing="0" cellpadding="0" bgcolor="#4965A2">
|
253
|
-
<tr valign="top">
|
254
|
-
<td>
|
255
|
-
<table border="0" cellspacing="4" cellpadding="0" bgcolor="#4965A2">
|
256
|
-
<tr valign="top">
|
257
|
-
|
258
|
-
<td><a href="http://www.sej.co.jp/index.html" target="_blank"><img src="/img/btn_se.jpg" width="121" height="21" alt="�Z�u���C���u���X�܌���" border="0" name="Image11"></a></td>
|
259
|
-
<td><a href="/help/0210_filetouroku.htm" target="_blank"><img src=/img/btn_guide.jpg border=0 width="61" height="21" alt="�V�����E�B���h�E�ő���K�C�h��\�����܂�"></a></td>
|
260
|
-
<td><a href="/expert/index.html" target="_blank"><img src="/img/btn_tatsujin.jpg" width="61" height="21" alt="�B�l�̕���" border="0" name="Image22"></a></td>
|
261
|
-
<td><a href="/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&m=64" target="_blank"><img src="/img/btn_tech.jpg" width="111" height="21" alt="�Z�p�I�Ȃ��₢���킹" border="0" name="Image31"></a></td>
|
262
|
-
<td><a href="javascript:;" onclick="window.open('/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&m=110','pop1','width=330,height=235,scrollbars=no');"><img src=/img/btn_price.jpg border=0 width="36" height="21" alt="����"></a></td>
|
263
|
-
|
264
|
-
</tr>
|
265
|
-
</table>
|
266
|
-
</td>
|
267
|
-
<td align="right">
|
268
|
-
<table border="0" cellspacing="4" cellpadding="0" bgcolor="#91a7c7">
|
269
|
-
<tr valign="top">
|
270
|
-
<td><a href="/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&m=95"><img src="/img/btn_jisseki.jpg" width="72" height="21" alt="���p����" border="0" name="Image1"></a></td>
|
271
|
-
<td><a href="/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&m=30"><img src="/img/btn_user_shusei.jpg" width="124" height="21" alt="���[�U�[���̏C��" border="0" name="Image1"></a></td>
|
272
|
-
<td><a href="/cgi-bin/user.cgi?m=50&s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ"><img src="/img/btn_user_sakujo.jpg" width="124" height="21" alt="���[�U�[���̍폜" border="0" name="Image2"></a></td>
|
273
|
-
</tr>
|
274
|
-
</table>
|
275
|
-
</td></tr>
|
276
|
-
</table>
|
277
|
-
</td></tr>
|
278
|
-
<tr><td valign="top">
|
279
|
-
<table border="0" cellspacing="0" cellpadding="8" width="100%" bgcolor="#91a7c7" height="30">
|
280
|
-
<tr><td><font color="#FFFFFF" class="text14-b">�V�K�t�@�C���̓o�^</font></td></tr>
|
281
|
-
</table>
|
282
|
-
</form>
|
283
|
-
<form name="uploadform" enctype="multipart/form-data" method="post">
|
284
|
-
<input type="hidden" name="s" value="9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ"><input type="hidden" name="c" value="0"><input type=hidden name="m" value="2">
|
285
|
-
�e���ڂ�ݒ肵�A[�o�^����]���N���b�N���Ă��������B<br>
|
286
|
-
<br><br>
|
287
|
-
<table border=0>
|
288
|
-
<tr><td width=25%><b>�t�@�C�� : </b></td><td width=75%><input type=file name=file1 id=filename1 size=60 src=/img/btn_browse.jpg border=0 onChange=checkFileExtAndSetPaper(document.uploadform)></td></tr>
|
289
|
-
<tr><td></td><td><font color="red">���o�^�\�ȃt�@�C���T�C�Y�ɂ͐���������܂��̂ŁA�����ӂ��������B</font></td><tr>
|
290
|
-
<tr>
|
291
|
-
<td colspan=2>�@</td>
|
292
|
-
</tr>
|
293
|
-
<tr id=papersizetr>
|
294
|
-
<td><b>�p���T�C�Y :</b></td>
|
295
|
-
<td>
|
296
|
-
<input type="radio" name=papersize id=paperA4 value=0 onClick="SetRadioDisable(document.uploadform)"><span class="text12">A4</span>
|
297
|
-
<input type="radio" name=papersize id=paperA3 value=1 onClick="SetRadioDisable(document.uploadform)"><span class="text12">A3</span>
|
298
|
-
<input type="radio" name=papersize id=paperB4 value=2 onClick="SetRadioDisable(document.uploadform)"><span class="text12">B4</span>
|
299
|
-
<input type="radio" name=papersize id=paperB5 value=3 onClick="SetRadioDisable(document.uploadform)"><span class="text12">B5</span>
|
300
|
-
<input type="radio" name=papersize id=paperL value=4 onClick="SetRadioDisable(document.uploadform)"><span class="text12">L�T�C�Y</span>
|
301
|
-
</td>
|
302
|
-
</tr>
|
303
|
-
<tr><td></td><td><font color="red">���K���I�������������B</font></td><tr>
|
304
|
-
<tr><td colspan=2>�@</td></tr>
|
305
|
-
<tr><td><b>�v�����g���p���T�C�Y :</b></td><td>�v�����g���I���i�k�T�C�Y�������j
|
306
|
-
</td></tr>
|
307
|
-
<tr><td colspan=2>�@</td></tr>
|
308
|
-
<tr><td width=20% valign=top><b>�J���[���[�h : </b></td><td width=80%>[�v�����g���ɑI��]�ɐݒ肷��ƁA�v�����g���ɃJ���[�Ńv�����g���邩<br>�����Ńv�����g���邩��I���ł��܂��B</td></tr>
|
309
|
-
<tr><td></td><td> <input type=radio name=color value=1 checked>�v�����g���ɑI��
|
310
|
-
<input type=radio name=color value=2>�J���[
|
311
|
-
<input type=radio name=color value=0>����</td>
|
312
|
-
</tr>
|
313
|
-
<tr><td colspan=2>�@</td></tr>
|
314
|
-
<tr><td><b>�\��ԍ��^�C�v :</b></td><td width=80%>[�����̂�]�ɐݒ肷��ƁA�v�����g�\��ԍ��𐔎��݂̂Ŕ��s���܂��B</td></tr>
|
315
|
-
<tr><td></td><td> <input type=radio name=number value=0 checked>�p����
|
316
|
-
<input type=radio name=number value=1>�����̂�</td></tr>
|
317
|
-
<tr><td colspan=2>�@</td></tr>
|
318
|
-
<tr><td><b>�Ïؔԍ� :</b></td><td>�Ïؔԍ���ݒ肷��ƁA�v�����g���ɂ����Ŏw�肵���Ïؔԍ����K�v�ɂȂ�܂��B</td></tr>
|
319
|
-
<tr><td> </td><td><input type=radio name=secretcodesw value=0 checked>�ݒ肵�Ȃ�
|
320
|
-
<input type=radio name=secretcodesw value=1>�ݒ肷��@<input type=text name=secretcode size=8 value=""><font class="text10">�@4���̈Ïؔԍ��p�����œ��͂��Ă��������B</font></td></tr>
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
<input type=hidden name=duplextype value=9>
|
330
|
-
<tr><td colspan=2>�@</td></tr>
|
331
|
-
<tr><td><b>���̑��ݒ� :</b></td>
|
332
|
-
<td><table>
|
333
|
-
<tr>
|
334
|
-
<td width=75% id="magnificationstr">�����o�� </td>
|
335
|
-
<td><input type=button value=" ���̑��ݒ� " onclick="SetMagnification()">
|
336
|
-
<input type=hidden id="magnification" name="magnification" value="1">
|
337
|
-
<input type=hidden name=re value=1>
|
338
|
-
</td>
|
339
|
-
</tr>
|
340
|
-
</table>
|
341
|
-
</td>
|
342
|
-
</tr>
|
343
|
-
<tr><td colspan=2>�@</td></tr>
|
344
|
-
<tr><td><b>�o�^���ʒʒm :</b></td><td> </td></tr>
|
345
|
-
<tr><td> </td><td><input type="radio" name="mailsw" value="0" checked>�ʒm���Ȃ�
|
346
|
-
<input type="radio" name="mailsw" value="1">�ʒm����@<input type="text" name="mailaddr" size="30" maxlength="260" value=""><font class="text10">�@���[���A�h���X(1�ӏ��̂�)����͂��Ă��������B</font></td></tr>
|
347
|
-
</table>
|
348
|
-
<br><br>
|
349
|
-
<table border="0" cellspacing="0" cellpadding="8" width="100%" height="30">
|
350
|
-
<tr><td>
|
351
|
-
<center>
|
352
|
-
<a href="javascript:void(0);" onClick="checkRadioAndSubmit(document.uploadform,2);return false;"><img name=upload src=/img/btn_register.jpg width=70 height=20 border=0 alt="��L�̓��e�Ńt�@�C����o�^���܂�"></a>
|
353
|
-
<a href="/cgi-bin/mn.cgi?s=9L69b6j4jJ3BPUTrjS6NaiT1FfHdgYwQ&c=0&m=0"><img src=/img/btn_cancel2.jpg border=0 width=80 height=20 alt="�L�����Z��"></a>
|
354
|
-
</center>
|
355
|
-
</td></tr>
|
356
|
-
</table>
|
357
|
-
<script type="text/javascript">
|
358
|
-
ChkUA();
|
359
|
-
</script>
|
360
|
-
|
361
|
-
</td></tr>
|
362
|
-
<tr><td valign="top"><img src="/img/foot.jpg" width="750" height="20" alt="(C)Copyright Fuji Xerox Co., Ltd. All rights reserved."></td></tr>
|
363
|
-
</table>
|
364
|
-
</form>
|
365
|
-
</td>
|
366
|
-
<td align="left" background="/img/bk2.jpg">
|
367
|
-
<table width="15" border="0" cellspacing="0" cellpadding="0" background="/img/bk2.jpg" height="100">
|
368
|
-
<tr><td valign="top"><img src="/img/bk2.jpg" width="15" height="5"></td></tr>
|
369
|
-
</table>
|
370
|
-
</td></tr>
|
371
|
-
</table>
|
372
|
-
</body></html>
|