Oki B4300 OkiLAN 8100 SoftNIC User's Guide - Page 108

EthernetBoard OkiLAN Ver 1.1.0 FTP Server, Connected to Cprinter

Page 108 highlights

Example: Logging in with host name printer (or IP address 192.168.20.127). # ftp printer (or ftp 192.168.20.127 Connected to Cprinter 220 EthernetBoard OkiLAN Ver 1.1.0 FTP Server Name (Cprinter:root) : root 331 Password required. Password: 230 User Logged in ftp> The network card logical directory structure is hierarchical. Move to the logical directory; it is not possible to output print data to the root directory. 2. Move to the preferable logical directory using the cd command. Example: moving to the lp directory and confirming the current directory. ftp> cd /lp 250 Command OK. ftp> pwd 257 "/lp" is current directory ftp> 3. Configure the transfer mode There are two types of transfer mode: BINARY mode, in which the file contents are output as it is and ASCII mode, which converts the LF code to the CR+LF code. If a binary file converted by the printer driver is transferred, the transfer mode has to be BINARY mode. Example: changing transfer mode to binary mode and verifying the current mode ftp> type binary UNIX 106

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120

UNIX 106
Example: Logging in with host name printer (or
IP address
192.168.20.127).
# ftp printer (or ftp 192.168.20.127
Connected to Cprinter
220 EthernetBoard OkiLAN Ver 1.1.0 FTP Server
Name (Cprinter:root) :
root
331 Password required.
Password:
<CR>
230 User Logged in
ftp>
The network card logical directory structure is hierarchical. Move to the
logical directory; it is not possible to output print data to the root directory.
2.
Move to the preferable logical directory using the cd command.
Example: moving to the lp directory and confirming the current directory.
ftp>
cd /lp
250 Command OK.
ftp>
pwd
257 ”/lp” is current directory
ftp>
3.
Configure the transfer mode
There are two types of transfer mode: BINARY mode, in which the file
contents are output as it is and ASCII mode, which converts the LF code
to the CR+LF code. If a binary file converted by the printer driver is
transferred, the transfer mode has to be BINARY mode.
Example: changing transfer mode to binary mode and verifying the
current mode
ftp>
type binary