How to set up file access to pnp.cs.bme.hu
and print via ssh.
Install the required software from https://winfsp.dev/rel/:
Configure the network drive with these settings:
\\sshfs\YOUR_USERNAME@pnp.cs.bme.hu
Enter your credentials (username and password to pnp.cs.bme.hu) when prompted:
After successful connection, you'll see your department files:
Copy the pdf files you want printed to the network share.
Create a print.sh file with the linux commands needed. Here are some example commands:
# Standard printing with copies lp -d minolta -n 10 nev_eloszlasok.pdf # Double-sided printing (long edge binding) lp -d minolta -o sides=two-sided-long-edge -n 24 valszam7.pdf # Double-sided printing (short edge binding) lp -d minolta -o sides=two-sided-short-edge -n 12 dupla6.pdf
-d
: destination (printer name)
minolta
: Large printer in laboratory, newest, use by defaultminolta-old
: Older large printer in laboratorycolor
: Small printer in the back of the laboratory. Can print in color, use sparingly-o
: options
sides=one-sided
: Print on one side only (default)sides=two-sided-long-edge
: Double-sided printing, flip on long edge (like a book)sides=two-sided-short-edge
: Double-sided printing, flip on short edge (like a notepad)-n
: number of copies to printTo establish SSH connections:
pnp.cs.bme.hu
22
On first connection, you'll be prompted to verify the RSA key fingerprint of the server, click Accept: