If login is successful, a message 230 is displayed on the client system. In addition, the available HP Jetdirect printing ports are displayed. Supported HP Jetdirect print servers provide a single port (Port 1). For a typical FTP printing session, see Example FTP Session on page 178.

End the FTP session

To end an FTP session, type quit or bye.

NOTE: Before ending an FTP session, use a Ctrl C command to close the data connection.

Commands

The following table summarizes the available FTP printing session commands.

Table B-1User commands for HP Jetdirect FTP server

Command

Description

 

 

user <Username>

<Username> specifies a user. Any user is accepted and can print to the selected

 

port.

 

 

cd <port#>

Select a port number for printing. (On HP Embedded Web Server, only port1 is

 

available.)

 

 

cd /

Change to the root directory / of the HP Jetdirect FTP server.

 

 

quit

Terminate the FTP session with the printer server.

 

 

bye

 

 

 

dir

Display the contents of the current directory. If entered in the root directory, a list of

 

available printing ports is displayed.

ls

 

 

 

pwd

Display the current directory or the current HP Jetdirect printing port.

 

 

put <Filename>

File name (<Filename>) to send to the selected HP Jetdirect print server port (Port 1).

 

 

bin

Configure an FTP binary (image) file transfer.

 

 

ascii

Configure an FTP ASCII file transfer. HP Jetdirect print servers support only non-print

 

format control for character transfers (standard values for spacing and margins are

 

used).

 

 

Ctrl C

Abort the FTP service command and any transfer of data. The data connection is

 

closed.

 

 

rhelp remotehelp

Display a list of FTP system commands supported by the print server. (Use rhelp on

 

UNIX, or remotehelp on Microsoft Windows Server 2003/2008.) These are not user

 

commands. User-accessible commands depend on the client's FTP system.)

 

 

ENWW

Use FTP printing 177

Page 187
Image 187
HP 640n Print Server manual End the FTP session, Commands, Table B-1User commands for HP Jetdirect FTP server