Difference between pages "Your first steps on Linux" and "HP OfficeJet 6700"

From Linuxintro
(Difference between pages)
imported>WikiSysop
 
imported>ThorstenStaerk
 
Line 1: Line 1:
Ok, so you have managed to install Linux on your computer. You have started it and logged in. You now wonder what comes next.  
+
I installed the HP OfficeJet 6700 by switching it on an following the instructions on the printer's display. That's also how I connected it to WLAN. Then, on my computer I made sure cups is running and surfed to http://localhost:631. When I clicked on Printer -> Add Printer it appeared automatically as "Network Printer". I selected DIN A4 as paper size and double-sided printing Long-Edge (Standard). This means that you will be able to bind your papers on the long edge. As driver I chose hpcups. As paper format I chose "A4 210x297mm".
  
= Open a console =
+
Printing the test page with duplex print, this works bad. The printer cannot print onto the full length of first side because it has to keep the paper partially in in order to be ready to draw back and turn around the paper. The printer test page will be cut off at about 1.5cm above the lower end of the paper:
A console is text-based window where you can enter commands for your Linux. To start a console, type ALT_F2 and enter '''konsole'''. You should see a screen like this:
 
  
[[Image:Konsole.png]]
+
<pic src="http://www.linuxintro.org/images/Scan-printer-test-page-duplex-hpcups.png" width=20% align=auto />
  
The background can be black, white, green, any color. So can be the font. "tweedleburg" is my hostname, it can be different for you. Anyway, most important is you can write into it. What you write are commands to be executed. For example the command '''firefox''' will start the firefox browser:
+
If you turn off duplex print this problem exists no longer:
  
[[Image:Konsole-firefox-command.png]]
+
<pic src="http://www.linuxintro.org/images/Scan-printer-test-page-nonduplex-hpcups.png" width=20% caption="The hpcups driver needs 3x3 millimeters of margin" />
 
 
From now on, we will no longer use graphical files to show you what to do, but a box like the following:
 
tweedleburg:~ # firefox
 
ok? Super, let's go on. You can also auto-complete your command. Type
 
firef
 
and then the tabulator key once or twice. The system will show you all available commands starting with firef or complete your command automatically.
 
 
 
= File commands =
 
You can list the files in your directory using the command '''ls''', for example:
 
tweedleburg:/etc/apache2 # ls
 
charset.conv        httpd.conf  mod_autoindex-defaults.conf  mod_status.conf    ssl-global.conf  ssl.key      vhosts.d
 
conf.d              listen.conf  mod_info.conf                mod_userdir.conf    ssl.crl          ssl.prm
 
default-server.conf  magic        mod_log_config.conf          mod_usertrack.conf  ssl.crt          sysconfig.d
 
errors.conf          mime.types  mod_mime-defaults.conf      server-tuning.conf  ssl.csr          uid.conf
 
 
 
You can find out how much space is available on your disk by typing df -h (disk free, human readable):
 
tweedleburg:~ # df -h
 
Filesystem            Size  Used Avail Use% Mounted on
 
/dev/sda1            917G  205G  667G  24% /
 
udev                  2.0G  164K  2.0G  1% /dev
 
/dev/sdb2            294G  274G  5.4G  99% /mnt/sdb2
 
On the directories beneath the root ("/"), there are 667 GB free. But under /mnt/sdb2, there are only 5.4 GB available.
 

Revision as of 06:19, 10 March 2015

I installed the HP OfficeJet 6700 by switching it on an following the instructions on the printer's display. That's also how I connected it to WLAN. Then, on my computer I made sure cups is running and surfed to http://localhost:631. When I clicked on Printer -> Add Printer it appeared automatically as "Network Printer". I selected DIN A4 as paper size and double-sided printing Long-Edge (Standard). This means that you will be able to bind your papers on the long edge. As driver I chose hpcups. As paper format I chose "A4 210x297mm".

Printing the test page with duplex print, this works bad. The printer cannot print onto the full length of first side because it has to keep the paper partially in in order to be ready to draw back and turn around the paper. The printer test page will be cut off at about 1.5cm above the lower end of the paper:

If you turn off duplex print this problem exists no longer:

The hpcups driver needs 3x3 millimeters of margin